|
| PlayerAI (Player *player) |
|
void | OnCharmed (bool apply) override |
|
| UnitAI (Unit *unit) |
|
virtual | ~UnitAI () |
|
virtual bool | CanAIAttack (Unit const *) const |
|
virtual void | AttackStart (Unit *) |
|
virtual void | UpdateAI (uint32 diff)=0 |
|
virtual void | InitializeAI () |
|
virtual void | Reset () |
|
virtual void | DoAction (int32) |
|
virtual uint32 | GetData (uint32) const |
|
virtual void | SetData (uint32, uint32) |
|
virtual void | SetGUID (ObjectGuid, int32=0) |
|
virtual ObjectGuid | GetGUID (int32=0) const |
|
Unit * | SelectTarget (SelectAggroTarget targetType, uint32 position=0, float dist=0.0f, bool playerOnly=false, int32 aura=0) |
|
template<class PREDICATE > |
Unit * | SelectTarget (SelectAggroTarget targetType, uint32 position, PREDICATE const &predicate) |
|
void | SelectTargetList (std::list< Unit * > &targetList, uint32 num, SelectAggroTarget targetType, float dist=0.0f, bool playerOnly=false, int32 aura=0) |
|
template<class PREDICATE > |
void | SelectTargetList (std::list< Unit * > &targetList, PREDICATE const &predicate, uint32 maxTargets, SelectAggroTarget targetType) |
|
virtual void | DamageDealt (Unit *, uint32 &, DamageEffectType) |
|
virtual void | DamageTaken (Unit *, uint32 &) |
|
virtual void | HealReceived (Unit *, uint32 &) |
|
virtual void | HealDone (Unit *, uint32 &) |
|
virtual void | SpellInterrupted (uint32, uint32) |
|
void | AttackStartCaster (Unit *victim, float dist) |
|
void | DoCast (uint32 spellId) |
|
void | DoCast (Unit *victim, uint32 spellId, bool triggered=false) |
|
void | DoCastVictim (uint32 spellId, bool triggered=false) |
|
void | DoCastAOE (uint32 spellId, bool triggered=false) |
|
void | DoMeleeAttackIfReady () |
|
bool | DoSpellAttackIfReady (uint32 spellId) |
|
virtual void | sGossipHello (Player *) |
|
virtual void | sGossipSelect (Player *, uint32, uint32) |
|
virtual void | sGossipSelectCode (Player *, uint32, uint32, char const *) |
|
virtual void | sQuestAccept (Player *, Quest const *) |
|
virtual void | sQuestSelect (Player *, Quest const *) |
|
virtual void | sQuestReward (Player *, Quest const *, uint32) |
|
virtual bool | sOnDummyEffect (Unit *, uint32, SpellEffIndex) |
|
virtual void | sOnGameEvent (bool, uint16) |
|