|
Project SkyFire Core
SkyFire 5.4.8 server core API documentation
|
Public Member Functions | |
| bool | CanAIAttack (Unit const *target) const OVERRIDE |
| npc_frostwing_vrykulAI (Creature *creature) | |
| Public Member Functions inherited from SmartAI | |
| void | AddEscortState (uint32 uiEscortState) |
| void | AttackStart (Unit *who) OVERRIDE |
| bool | CanAIAttack (const Unit *who) const OVERRIDE |
| bool | CanCombatMove () const |
| void | CorpseRemoved (uint32 &respawnDelay) OVERRIDE |
| == State checks ================================= | |
| void | DamageDealt (Unit *doneTo, uint32 &damage, DamageEffectType) OVERRIDE |
| void | DamageTaken (Unit *doneBy, uint32 &damage) OVERRIDE |
| void | DoAction (int32 param=0) OVERRIDE |
| void | EndPath (bool fail=false) |
| void | EnterCombat (Unit *enemy) OVERRIDE |
| void | EnterEvadeMode () OVERRIDE |
| uint32 | GetData (uint32 id=0) const OVERRIDE |
| uint64 | GetGUID (int32 id=0) const OVERRIDE |
| WayPoint * | GetNextWayPoint () |
| SmartScript * | GetScript () |
| bool | HasEscortState (uint32 uiEscortState) const |
| void | HealReceived (Unit *doneBy, uint32 &addhealth) OVERRIDE |
| void | InitializeAI () OVERRIDE |
| bool | IsEscortInvokerInRange () |
| void | IsSummonedBy (Unit *summoner) OVERRIDE |
| void | JustDied (Unit *killer) OVERRIDE |
| void | JustReachedHome () OVERRIDE |
| void | JustRespawned () OVERRIDE |
| void | JustSummoned (Creature *creature) OVERRIDE |
| void | KilledUnit (Unit *victim) OVERRIDE |
| bool | LoadPath (uint32 entry) |
| void | MoveInLineOfSight (Unit *who) OVERRIDE |
| void | MovementInform (uint32 MovementType, uint32 DataData) OVERRIDE |
| void | MovepointReached (uint32 id) |
| void | OnCharmed (bool apply) OVERRIDE |
| bool | OnGossipHello (Player *player) OVERRIDE |
| void | OnSpellClick (Unit *clicker, bool &result) OVERRIDE |
| void | PassengerBoarded (Unit *who, int8 seatId, bool apply) OVERRIDE |
| == Fields ======================================= | |
| void | PausePath (uint32 delay, bool forced=false) |
| void | ReceiveEmote (Player *player, uint32 textEmote) OVERRIDE |
| void | RemoveAuras () |
| void | RemoveEscortState (uint32 uiEscortState) |
| void | Reset () OVERRIDE |
| void | ResumePath () |
| void | SetAutoAttack (bool on) |
| void | SetCombatMove (bool on) |
| void | SetData (uint32 id, uint32 value) OVERRIDE |
| void | SetDespawnTime (uint32 t) |
| void | SetFly (bool fly=true) |
| void | SetFollow (Unit *target, float dist=0.0f, float angle=0.0f, uint32 credit=0, uint32 end=0, uint32 creditType=0) |
| void | SetGossipReturn (bool value) |
| void | SetGUID (uint64 guid, int32 id=0) OVERRIDE |
| void | SetInvincibilityHpLevel (uint32 level) |
| void | SetRun (bool run=true) |
| void | SetScript9 (SmartScriptHolder &e, uint32 entry, Unit *invoker) |
| void | SetSwim (bool swim=true) |
| void | sGossipHello (Player *player) OVERRIDE |
| void | sGossipSelect (Player *player, uint32 sender, uint32 action) OVERRIDE |
| void | sGossipSelectCode (Player *player, uint32 sender, uint32 action, const char *code) OVERRIDE |
| SmartAI (Creature *c) | |
| bool | sOnDummyEffect (Unit *caster, uint32 spellId, SpellEffIndex effIndex) OVERRIDE |
| void | sOnGameEvent (bool start, uint16 eventId) OVERRIDE |
| void | SpellHit (Unit *unit, const SpellInfo *spellInfo) OVERRIDE |
| void | SpellHitTarget (Unit *target, const SpellInfo *spellInfo) OVERRIDE |
| void | sQuestAccept (Player *player, Quest const *quest) OVERRIDE |
| void | sQuestReward (Player *player, Quest const *quest, uint32 opt) OVERRIDE |
| void | StartDespawn () |
| void | StartPath (bool run=false, uint32 path=0, bool repeat=false, Unit *invoker=NULL) |
| void | StopPath (uint32 DespawnTime=0, uint32 quest=0, bool fail=false) |
| void | SummonedCreatureDespawn (Creature *unit) OVERRIDE |
| void | UpdateAI (uint32 diff) OVERRIDE |
| == Triggered Actions Requested ================== | |
| void | UpdateAIWhileCharmed (const uint32 diff) |
| ~SmartAI () | |
| Public Member Functions inherited from CreatureAI | |
| virtual void | AttackedBy (Unit *) |
| virtual bool | CanRespawn () |
| virtual bool | CanSeeAlways (WorldObject const *) |
| bool | CanSeeEvenInPassiveMode () const |
| CreatureAI (Creature *creature) | |
| void | DoZoneInCombat (Creature *creature=NULL, float maxRangeToNearestTarget=50.0f) |
| virtual void | ExecuteEvent (uint32) |
| virtual bool | IsEscorted () |
| void | MoveInLineOfSight_Safe (Unit *who) |
| == Reactions At ================================= | |
| virtual void | OwnerAttacked (Unit *) |
| virtual void | OwnerAttackedBy (Unit *) |
| void | SetCanSeeEvenInPassiveMode (bool canSeeEvenInPassiveMode) |
| virtual void | SummonedCreatureDies (Creature *, Unit *) |
| void | Talk (uint8 id, WorldObject const *whisperTarget=NULL) |
| virtual | ~CreatureAI () |
| Public Member Functions inherited from UnitAI | |
| void | AttackStartCaster (Unit *victim, float dist) |
| void | DoAddAuraToAllHostilePlayers (uint32 spellid) |
| void | DoCast (uint32 spellId) |
| void | DoCast (Unit *victim, uint32 spellId, bool triggered=false) |
| void | DoCastAOE (uint32 spellId, bool triggered=false) |
| void | DoCastToAllHostilePlayers (uint32 spellid, bool triggered=false) |
| void | DoCastVictim (uint32 spellId, bool triggered=false) |
| float | DoGetSpellMaxRange (uint32 spellId, bool positive=false) |
| void | DoMeleeAttackIfReady () |
| bool | DoSpellAttackIfReady (uint32 spell) |
| virtual void | HealDone (Unit *, uint32 &) |
| template<class PREDICATE> | |
| Unit * | SelectTarget (SelectAggroTarget targetType, uint32 position, PREDICATE const &predicate) |
| Unit * | SelectTarget (SelectAggroTarget targetType, uint32 position=0, 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) |
| void | SelectTargetList (std::list< Unit * > &targetList, uint32 num, SelectAggroTarget targetType, float dist=0.0f, bool playerOnly=false, int32 aura=0) |
| virtual void | SpellInterrupted (uint32, uint32) |
| virtual void | sQuestComplete (Player *, Quest const *) |
| virtual void | sQuestSelect (Player *, Quest const *) |
| UnitAI (Unit *unit) | |
| virtual | ~UnitAI () |
Additional Inherited Members | |
| Static Public Member Functions inherited from SmartAI | |
| static int | Permissible (const Creature *) |
| Static Public Member Functions inherited from UnitAI | |
| static void | FillAISpellInfo () |
| Public Attributes inherited from SmartAI | |
| uint32 | mEscortQuestID |
| Static Public Attributes inherited from UnitAI | |
| static AISpellInfoType * | AISpellInfo |
| Protected Member Functions inherited from CreatureAI | |
| bool | _EnterEvadeMode () |
| Creature * | DoSummon (uint32 entry, Position const &pos, uint32 despawnTime=30000, TempSummonType summonType=TempSummonType::TEMPSUMMON_CORPSE_TIMED_DESPAWN) |
| Creature * | DoSummon (uint32 entry, WorldObject *obj, float radius=5.0f, uint32 despawnTime=30000, TempSummonType summonType=TempSummonType::TEMPSUMMON_CORPSE_TIMED_DESPAWN) |
| Creature * | DoSummonFlyer (uint32 entry, WorldObject *obj, float flightZ, float radius=5.0f, uint32 despawnTime=30000, TempSummonType summonType=TempSummonType::TEMPSUMMON_CORPSE_TIMED_DESPAWN) |
| void | SetGazeOn (Unit *target) |
| bool | UpdateVictim () |
| bool | UpdateVictimWithGaze () |
| Protected Attributes inherited from CreatureAI | |
| Creature *const | me |
| Protected Attributes inherited from UnitAI | |
| Unit *const | me |
Definition at line 1609 of file icecrown_citadel.cpp.
|
inline |
Definition at line 1611 of file icecrown_citadel.cpp.
References SmartAI::SmartAI().
|
inlinevirtual |
Reimplemented from UnitAI.
Definition at line 1615 of file icecrown_citadel.cpp.
References SmartAI::CanAIAttack(), CreatureAI::me, and OVERRIDE.