24 #ifndef GUI_WINDOWS_SKILLDIALOG_H
25 #define GUI_WINDOWS_SKILLDIALOG_H
76 std::string
update(
const int id);
104 const std::string &name,
127 const std::string &
data)
const;
145 const int delay)
const;
151 static void useSkill(
const int skillId,
155 const std::string &text,
164 const std::string &text,
172 const int level)
const;
191 const std::string &text,
199 const std::string &text,
207 const std::string &text,
static void useSkillDefault(const SkillInfo *const info, const AutoTarget autoTarget, int level, const bool withText, const std::string &text, int offsetX, int offsetY)
void setSkillDuration(const SkillOwner::Type owner, const int id, const int duration)
void selectSkillLevel(const int skillId, const int level)
SkillData * getSkillData(const int id) const
void setSkillOffsetY(const int skillId, const int offset)
SkillModel * mDefaultModel
void updateQuest(const int var, const int val1, const int val2, const int val3, const int time1)
std::vector< SkillInfo * > mDurations
void selectSkillCastType(const int skillId, const CastTypeT type)
SkillInfo * loadSkill(const xmlNodePtr node, SkillModel *const model)
SkillInfo * getSkill(const int id) const
bool updateSkill(const int id, const int range, const Modifiable modifiable, const SkillType::SkillType type, const int sp)
std::list< Tab * > mDeleteTabs
SkillInfo * getSkillByItem(const int itemId) const
void updateTabSelection()
void widgetResized(const Event &event)
void playRemoveEffect(const int id) const
void updateModelsHidden()
void action(const ActionEvent &event)
void removeSkill(const int id)
void playCastingDstTileEffect(const int id, const int level, const int x, const int y, const int delay) const
void playUpdateEffect(const int id) const
static void loadSkillData(const xmlNodePtr node, SkillInfo *const skill)
static void useSkill(const int skillId, const AutoTarget autoTarget, int level, const bool withText, const std::string &text, CastTypeT castType, const int offsetX, const int offsetY)
std::map< int, SkillInfo * > SkillMap
static void useSkillPosition(const SkillInfo *const info, int level, const bool withText, const std::string &text, const int x, const int y, int offsetX, int offsetY)
void addSkillDuration(SkillInfo *const skill)
static void useSkillTarget(const SkillInfo *const info, const AutoTarget autoTarget, int level, const bool withText, const std::string &text, const Being *being, int offsetX, int offsetY)
void addSkill(const SkillOwner::Type owner, const int id, const std::string &name, const int level, const int range, const Modifiable modifiable, const SkillType::SkillType type, const int sp)
void useItem(const int itemId, const AutoTarget autoTarget, const int level, const std::string &data) const
void setSkillOffsetX(const int skillId, const int offset)
SkillData * getSkillDataByLevel(const int id, const int level) const
static std::string getDefaultSkillIcon(const SkillType::SkillType type)
void loadXmlFile(const std::string &fileName, const SkipError skipError)
void hideSkills(const SkillOwner::Type owner)
#define A_DELETE_COPY(func)
bool info(InputEvent &event)
bool skill(InputEvent &event)
SkillDialog * skillDialog