|
Project SkyFire Core
SkyFire 5.4.8 server core API documentation
|
#include "Common.h"#include "CreatureAI.h"#include "Define.h"#include "SpellMgr.h"#include "TemporarySummon.h"Go to the source code of this file.
Classes | |
| struct | AISpellInfoType |
| class | EventMap |
Macros | |
| #define | AI_DEFAULT_COOLDOWN 5000 |
Enumerations | |
| enum | AICondition { AICOND_AGGRO , AICOND_COMBAT , AICOND_DIE } |
| enum | AITarget { AITARGET_SELF , AITARGET_VICTIM , AITARGET_ENEMY , AITARGET_ALLY , AITARGET_BUFF , AITARGET_DEBUFF } |
Functions | |
| AISpellInfoType * | GetAISpellInfo (uint32 i) |
| template<class T> | |
| const T & | RAND (const T &v1, const T &v2) |
| template<class T> | |
| const T & | RAND (const T &v1, const T &v2, const T &v3) |
| template<class T> | |
| const T & | RAND (const T &v1, const T &v2, const T &v3, const T &v4) |
| template<class T> | |
| const T & | RAND (const T &v1, const T &v2, const T &v3, const T &v4, const T &v5) |
| template<class T> | |
| const T & | RAND (const T &v1, const T &v2, const T &v3, const T &v4, const T &v5, const T &v6) |
| template<class T> | |
| const T & | RAND (const T &v1, const T &v2, const T &v3, const T &v4, const T &v5, const T &v6, const T &v7) |
| template<class T> | |
| const T & | RAND (const T &v1, const T &v2, const T &v3, const T &v4, const T &v5, const T &v6, const T &v7, const T &v8) |
| template<class T> | |
| const T & | RAND (const T &v1, const T &v2, const T &v3, const T &v4, const T &v5, const T &v6, const T &v7, const T &v8, const T &v9) |
| template<class T> | |
| const T & | RAND (const T &v1, const T &v2, const T &v3, const T &v4, const T &v5, const T &v6, const T &v7, const T &v8, const T &v9, const T &v10) |
| template<class T> | |
| const T & | RAND (const T &v1, const T &v2, const T &v3, const T &v4, const T &v5, const T &v6, const T &v7, const T &v8, const T &v9, const T &v10, const T &v11) |
| template<class T> | |
| const T & | RAND (const T &v1, const T &v2, const T &v3, const T &v4, const T &v5, const T &v6, const T &v7, const T &v8, const T &v9, const T &v10, const T &v11, const T &v12) |
| template<class T> | |
| const T & | RAND (const T &v1, const T &v2, const T &v3, const T &v4, const T &v5, const T &v6, const T &v7, const T &v8, const T &v9, const T &v10, const T &v11, const T &v12, const T &v13) |
| template<class T> | |
| const T & | RAND (const T &v1, const T &v2, const T &v3, const T &v4, const T &v5, const T &v6, const T &v7, const T &v8, const T &v9, const T &v10, const T &v11, const T &v12, const T &v13, const T &v14) |
| template<class T> | |
| const T & | RAND (const T &v1, const T &v2, const T &v3, const T &v4, const T &v5, const T &v6, const T &v7, const T &v8, const T &v9, const T &v10, const T &v11, const T &v12, const T &v13, const T &v14, const T &v15) |
| template<class T> | |
| const T & | RAND (const T &v1, const T &v2, const T &v3, const T &v4, const T &v5, const T &v6, const T &v7, const T &v8, const T &v9, const T &v10, const T &v11, const T &v12, const T &v13, const T &v14, const T &v15, const T &v16) |
| #define AI_DEFAULT_COOLDOWN 5000 |
Definition at line 673 of file CreatureAIImpl.h.
Referenced by AISpellInfoType::AISpellInfoType().
| enum AICondition |
| Enumerator | |
|---|---|
| AICOND_AGGRO | |
| AICOND_COMBAT | |
| AICOND_DIE | |
Definition at line 666 of file CreatureAIImpl.h.
| enum AITarget |
| Enumerator | |
|---|---|
| AITARGET_SELF | |
| AITARGET_VICTIM | |
| AITARGET_ENEMY | |
| AITARGET_ALLY | |
| AITARGET_BUFF | |
| AITARGET_DEBUFF | |
Definition at line 656 of file CreatureAIImpl.h.
| AISpellInfoType * GetAISpellInfo | ( | uint32 | i | ) |
Definition at line 26 of file CreatureAI.cpp.
References UnitAI::AISpellInfo.
Referenced by CasterAI::EnterCombat(), CasterAI::InitializeAI(), and CasterAI::UpdateAI().
|
inline |
Definition at line 17 of file CreatureAIImpl.h.
Referenced by npc_blackrock_invader::npc_blackrock_invaderAI::EnterCombat(), npc_blackrock_spy::npc_blackrock_spyAI::EnterCombat(), npc_goblin_assassin::npc_goblin_assassinAI::EnterCombat(), npc_simon_bunny::npc_simon_bunnyAI::GenerateColorSequence(), spell_item_vanquished_clutches::spell_item_vanquished_clutches_SpellScript::HandleDummy(), spell_voodoo::spell_voodoo_SpellScript::HandleDummy(), Unit::HandleDummyAuraProc(), spell_dreamwalker_summon_dream_portal::spell_dreamwalker_summon_dream_portal_SpellScript::HandleScript(), spell_dreamwalker_summon_nightmare_portal::spell_dreamwalker_summon_nightmare_portal_SpellScript::HandleScript(), spell_q13011_bear_flank_master::spell_q13011_bear_flank_master_SpellScript::HandleScript(), spell_winter_veil_mistletoe::spell_winter_veil_mistletoe_SpellScript::HandleScript(), spell_q14112_14145_chum_the_water::spell_q14112_14145_chum_the_water_SpellScript::HandleScriptEffect(), npc_necromancer::npc_necromancerAI::KilledUnit(), spell_item_ashbringer::spell_item_ashbringer_SpellScript::OnDummyEffect(), go_wind_stone::OnGossipSelect(), spell_love_is_in_the_air_romantic_picnic::spell_love_is_in_the_air_romantic_picnic_AuraScript::OnPeriodic(), boss_high_astromancer_solarian::boss_high_astromancer_solarianAI::Portal_Y(), boss_apoko::boss_apokoAI::UpdateAI(), boss_chromaggus::boss_chromaggusAI::UpdateAI(), boss_devourer_of_souls::boss_devourer_of_soulsAI::UpdateAI(), boss_eck::boss_eckAI::UpdateAI(), boss_eye_of_cthun::eye_of_cthunAI::UpdateAI(), boss_ick::boss_ickAI::UpdateAI(), boss_kelthuzad::boss_kelthuzadAI::UpdateAI(), boss_king_dred::boss_king_dredAI::UpdateAI(), boss_lady_catriona_von_indi::boss_lady_catriona_von_indiAI::UpdateAI(), boss_novos::boss_novosAI::UpdateAI(), boss_trollgore::boss_trollgoreAI::UpdateAI(), npc_corruptor_tentacle::npc_corruptor_tentacleAI::UpdateAI(), and npc_teleportation_portal_vh::npc_teleportation_portalAI::UpdateAI().
|
inline |
Definition at line 24 of file CreatureAIImpl.h.
|
inline |
Definition at line 37 of file CreatureAIImpl.h.
|
inline |
Definition at line 51 of file CreatureAIImpl.h.
|
inline |
Definition at line 66 of file CreatureAIImpl.h.
|
inline |
Definition at line 82 of file CreatureAIImpl.h.
|
inline |
Definition at line 99 of file CreatureAIImpl.h.
|
inline |
Definition at line 117 of file CreatureAIImpl.h.
|
inline |
Definition at line 137 of file CreatureAIImpl.h.
|
inline |
Definition at line 158 of file CreatureAIImpl.h.
|
inline |
Definition at line 180 of file CreatureAIImpl.h.
|
inline |
Definition at line 203 of file CreatureAIImpl.h.
|
inline |
Definition at line 227 of file CreatureAIImpl.h.
|
inline |
Definition at line 252 of file CreatureAIImpl.h.
|
inline |
Definition at line 278 of file CreatureAIImpl.h.