1 #ifndef __SKILLCONTROL_H__ 2 #define __SKILLCONTROL_H__ 4 #include <boost/function.hpp> 17 typedef boost::function<void(u8)> OnCancelFunction;
18 typedef boost::function<void(u32)> OnUsedItemFunction;
19 typedef boost::function<void(CharacterBase *)> OnKilledFunction;
95 OnCancelFunction OnCancelFunc;
98 OnUsedItemFunction OnUsedItemFunc;
101 OnKilledFunction OnKilledFunc;
108 #endif // #ifndef __SKILLCONTROL_H__ void Activate()
Definition: SkillControl.cpp:120
unsigned char u8
Definition: TypeDefs.h:6
void Cancel(u8 Reason)
Definition: SkillControl.cpp:109
CharacterBase * GetOwner() const
Definition: SkillControl.h:39
void SetOnCancelFunction(const OnCancelFunction &Func)
Definition: SkillControl.h:66
キャラクタ基底クラス
Definition: CharacterBase.h:24
void SetOnKilledFunction(const OnKilledFunction &Func)
Definition: SkillControl.h:72
weak_ptr< CharacterBase > CharacterPtr
Definition: WeakPtrDefine.h:10
Definition: SkillControl.h:12
u32 GetSkillId() const
Definition: SkillControl.h:42
bool IsAutoMoving() const
Definition: SkillControl.cpp:238
bool IsActive() const
Definition: SkillControl.cpp:226
int s32
Definition: TypeDefs.h:9
void Use(u32 InSkillId, CharacterPtr pInTarget)
Definition: SkillControl.cpp:49
CharacterPtr GetTarget() const
Definition: SkillControl.h:45
unsigned int u32
Definition: TypeDefs.h:10
Definition: SkillStateBase.h:22
void CastFinished()
Definition: SkillControl.cpp:89
SkillControl(CharacterBase *pInOwner)
Definition: SkillControl.cpp:19
void SetOnUsedItemFunction(const OnUsedItemFunction &Func)
Definition: SkillControl.h:69
bool IsCasting() const
Definition: SkillControl.cpp:232
void UseItem(u32 InItemId, CharacterPtr pInTarget)
Definition: SkillControl.cpp:76
~SkillControl()
Definition: SkillControl.cpp:30
void Poll(s32 DeltaTime)
Definition: SkillControl.cpp:37