|
Project SkyFire Core
SkyFire 5.4.8 server core API documentation
|
Public Member Functions | |
| npc_hyldsmeet_protodrakeAI (Creature *creature) | |
| void | PassengerBoarded (Unit *who, int8, bool apply) OVERRIDE |
| == Fields ======================================= | |
| void | UpdateAI (uint32 diff) OVERRIDE |
| == Triggered Actions Requested ================== | |
| Public Member Functions inherited from CreatureAI | |
| virtual void | AttackedBy (Unit *) |
| virtual bool | CanRespawn () |
| virtual bool | CanSeeAlways (WorldObject const *) |
| bool | CanSeeEvenInPassiveMode () const |
| virtual void | CorpseRemoved (uint32 &) |
| == State checks ================================= | |
| CreatureAI (Creature *creature) | |
| void | DoZoneInCombat (Creature *creature=NULL, float maxRangeToNearestTarget=50.0f) |
| virtual void | EnterCombat (Unit *) |
| virtual void | EnterEvadeMode () |
| virtual void | ExecuteEvent (uint32) |
| virtual bool | IsEscorted () |
| virtual void | IsSummonedBy (Unit *) |
| virtual void | JustDied (Unit *) |
| virtual void | JustReachedHome () |
| virtual void | JustRespawned () |
| virtual void | JustSummoned (Creature *) |
| virtual void | KilledUnit (Unit *) |
| void | MoveInLineOfSight_Safe (Unit *who) |
| == Reactions At ================================= | |
| virtual void | MovementInform (uint32, uint32) |
| void | OnCharmed (bool apply) |
| virtual void | OnSpellClick (Unit *, bool &) |
| virtual void | OwnerAttacked (Unit *) |
| virtual void | OwnerAttackedBy (Unit *) |
| virtual void | ReceiveEmote (Player *, uint32) |
| void | SetCanSeeEvenInPassiveMode (bool canSeeEvenInPassiveMode) |
| virtual void | SpellHit (Unit *, SpellInfo const *) |
| virtual void | SpellHitTarget (Unit *, SpellInfo const *) |
| virtual void | SummonedCreatureDespawn (Creature *) |
| virtual void | SummonedCreatureDies (Creature *, Unit *) |
| void | Talk (uint8 id, WorldObject const *whisperTarget=NULL) |
| virtual | ~CreatureAI () |
| Public Member Functions inherited from UnitAI | |
| virtual void | AttackStart (Unit *) |
| void | AttackStartCaster (Unit *victim, float dist) |
| virtual bool | CanAIAttack (Unit const *) const |
| virtual void | DamageDealt (Unit *, uint32 &, DamageEffectType) |
| virtual void | DamageTaken (Unit *, uint32 &) |
| virtual void | DoAction (int32) |
| 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 uint32 | GetData (uint32) const |
| virtual uint64 | GetGUID (int32=0) const |
| virtual void | HealDone (Unit *, uint32 &) |
| virtual void | HealReceived (Unit *, uint32 &) |
| virtual void | InitializeAI () |
| virtual bool | OnGossipHello (Player *player) |
| virtual void | Reset () |
| 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 | SetData (uint32, uint32) |
| virtual void | SetGUID (uint64, int32=0) |
| virtual void | sGossipHello (Player *) |
| virtual void | sGossipSelect (Player *, uint32, uint32) |
| virtual void | sGossipSelectCode (Player *, uint32, uint32, char const *) |
| virtual bool | sOnDummyEffect (Unit *, uint32, SpellEffIndex) |
| virtual void | sOnGameEvent (bool, uint16) |
| virtual void | SpellInterrupted (uint32, uint32) |
| virtual void | sQuestAccept (Player *, Quest const *) |
| virtual void | sQuestComplete (Player *, Quest const *) |
| virtual void | sQuestReward (Player *, Quest const *, uint32) |
| virtual void | sQuestSelect (Player *, Quest const *) |
| UnitAI (Unit *unit) | |
| virtual | ~UnitAI () |
Private Attributes | |
| uint32 | _accessoryRespawnTimer |
| Vehicle * | _vehicleKit |
Additional Inherited Members | |
| Static Public Member Functions inherited from UnitAI | |
| static void | FillAISpellInfo () |
| 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) |
| virtual void | MoveInLineOfSight (Unit *) |
| 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 366 of file zone_storm_peaks.cpp.
|
inline |
Definition at line 369 of file zone_storm_peaks.cpp.
References _accessoryRespawnTimer, _vehicleKit, and CreatureAI::CreatureAI().
|
inlinevirtual |
== Fields =======================================
Reimplemented from CreatureAI.
Definition at line 371 of file zone_storm_peaks.cpp.
References _accessoryRespawnTimer, IN_MILLISECONDS, MINUTE, npc_hyldsmeet_protodrake::NPC_HYLDSMEET_DRAKERIDER, and OVERRIDE.
|
inlinevirtual |
== Triggered Actions Requested ==================
We need to manually reinstall accessories because the vehicle itself is friendly to players, so EnterEvadeMode is never triggered. The accessory on the other hand is hostile and killable.
Reimplemented from CreatureAI.
Definition at line 380 of file zone_storm_peaks.cpp.
References _accessoryRespawnTimer, _vehicleKit, and OVERRIDE.
|
private |
Definition at line 394 of file zone_storm_peaks.cpp.
Referenced by npc_hyldsmeet_protodrakeAI(), PassengerBoarded(), and UpdateAI().
|
private |
Definition at line 395 of file zone_storm_peaks.cpp.
Referenced by npc_hyldsmeet_protodrakeAI(), and UpdateAI().