![]() |
TrinityCore
|
Include dependency graph for CreatureAIImpl.h:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Classes | |
| struct | AISpellInfoType |
Macros | |
| #define | AI_DEFAULT_COOLDOWN 5000 |
Enumerations | |
| enum | AITarget { AITARGET_SELF , AITARGET_VICTIM , AITARGET_ENEMY , AITARGET_ALLY , AITARGET_BUFF , AITARGET_DEBUFF } |
| enum | AICondition { AICOND_AGGRO , AICOND_COMBAT , AICOND_DIE } |
Functions | |
| template<typename First , typename Second , typename... Rest> | |
| First const & | RAND (First const &first, Second const &second, Rest const &... rest) |
| AISpellInfoType * | GetAISpellInfo (uint32 i) |
| TC_GAME_API bool | InstanceHasScript (WorldObject const *obj, char const *scriptName) |
| template<class AI , class T > | |
| AI * | GetInstanceAI (T *obj, char const *scriptName) |
| #define AI_DEFAULT_COOLDOWN 5000 |
Definition at line 50 of file CreatureAIImpl.h.
| enum AICondition |
| Enumerator | |
|---|---|
| AICOND_AGGRO | |
| AICOND_COMBAT | |
| AICOND_DIE | |
Definition at line 43 of file CreatureAIImpl.h.
| enum AITarget |
| Enumerator | |
|---|---|
| AITARGET_SELF | |
| AITARGET_VICTIM | |
| AITARGET_ENEMY | |
| AITARGET_ALLY | |
| AITARGET_BUFF | |
| AITARGET_DEBUFF | |
Definition at line 33 of file CreatureAIImpl.h.
| AISpellInfoType * GetAISpellInfo | ( | uint32 | i | ) |
Definition at line 38 of file CreatureAI.cpp.
References UnitAI::AISpellInfo.
Referenced by CasterAI::InitializeAI(), CasterAI::JustEngagedWith(), and CasterAI::UpdateAI().
| AI * GetInstanceAI | ( | T * | obj, |
| char const * | scriptName | ||
| ) |
Definition at line 68 of file CreatureAIImpl.h.
References InstanceHasScript().
| TC_GAME_API bool InstanceHasScript | ( | WorldObject const * | obj, |
| char const * | scriptName | ||
| ) |
Definition at line 813 of file InstanceScript.cpp.
References WorldObject::GetMap(), and Map::ToInstanceMap().
Referenced by boss_mal_ganis::GetAI(), GetInstanceAI(), spell_shadow_portal::Load(), spell_shadow_portal_rooms::Load(), spell_pursuing_spikes::Load(), spell_pos_ice_shards::Load(), spell_sindragosa_s_fury::Load(), and spell_alar_flame_quills::Load().
|
inline |
Definition at line 27 of file CreatureAIImpl.h.
References urand().
Referenced by spell_sjonnir_periodic_summon::AfterApply(), go_cheer_speaker::go_cheer_speakerAI::CheerPicker(), boss_lady_deathwhisper::DoImproveCultist(), PartyTimeEmoteEvent::Execute(), boss_curator::boss_curatorAI::ExecuteEvent(), boss_eck::ExecuteEvent(), boss_nexusprince_shaffar::ExecuteEvent(), boss_gathios_the_shatterer::ExecuteEvent(), boss_fathomguard_sharkkis::ExecuteEvent(), spell_mimiron_rocket_strike::spell_mimiron_rocket_strike_SpellScript::FilterTargets(), go_cheer_speaker::go_cheer_speakerAI::FireworksBIGOnlyPicker(), go_cheer_speaker::go_cheer_speakerAI::FireworksPicker(), npc_simon_bunny::npc_simon_bunnyAI::GenerateColorSequence(), spell_ayamiss_paralyze::HandleAfterHit(), spell_voodoo::HandleDummy(), spell_borean_tundra_arcane_prisoner_rescue::HandleDummy(), spell_terokkar_fumping::HandleDummy(), spell_item_deviate_fish::HandleDummy(), spell_item_vanquished_clutches::HandleDummy(), spell_item_party_time::HandleEffectApply(), spell_item_dementia::HandlePeriodicDummy(), spell_dreamwalker_summon_dream_portal::HandleScript(), spell_dreamwalker_summon_nightmare_portal::HandleScript(), spell_apothecary_validate_area::HandleScript(), spell_winter_veil_mistletoe::HandleScript(), spell_summon_random_drakkari::HandleScript(), spell_borean_tundra_kodo_delivered::HandleScript(), spell_dragonblight_warsong_battle_standard::HandleScript(), spell_dragonblight_call_out_injured_soldier::HandleScript(), spell_lady_vashj_summon_wave_e_mob_trigger::HandleScript(), spell_the_lurker_below_spout::HandleScript(), spell_kaelthas_pure_nether_beam::HandleScript(), spell_item_goblin_weather_machine::HandleScript(), spell_hallow_end_wand::HandleScriptEffect(), spell_gift_of_the_harvester::HandleScriptEffect(), spell_terokkar_fumping_the_big_bone_worm::HandleSummon(), spell_borean_tundra_neural_needle::HandleWhisper(), npc_underbog_mushroom::InitializeAI(), instance_karazhan::instance_karazhan_InstanceMapScript::instance_karazhan_InstanceMapScript(), boss_anetheron::JustAppeared(), npc_doomfire_spirit::JustAppeared(), boss_rage_winterchill::JustAppeared(), npc_brood_of_anzu::JustAppeared(), npc_ethereal_apprentice::JustEngagedWith(), boss_grobbulus::JustEngagedWith(), boss_warbringer_omrogg::JustEngagedWith(), npc_necromancer::npc_necromancerAI::KilledUnit(), boss_warbringer_omrogg::KilledUnit(), npc_the_lich_king_escape_hor::npc_the_lich_king_escape_horAI::KilledUnit(), npc_grauf::MovementInform(), spell_brewfest_barker_bunny::OnApply(), spell_item_ashbringer::OnDummyEffect(), go_wind_stone::go_wind_stoneAI::OnGossipSelect(), spell_muru_transform_visual_missile_periodic::OnPeriodic(), spell_love_is_in_the_air_romantic_picnic::OnPeriodic(), spell_sjonnir_periodic_summon::OnPeriodic(), spell_summon_gauntlet_mobs_periodic::OnPeriodic(), spell_black_morass_time_rift_periodic::OnPeriodic(), boss_warbringer_omrogg::OnSpellCast(), spell_ichoron_splatter::PeriodicTick(), npc_violet_hold_teleportation_portal_elite::ScheduleTasks(), npc_violet_hold_teleportation_portal::SetData(), npc_cameron::SoundPicker(), boss_king_dred::SpellHit(), boss_thorim::boss_thorimAI::SummonWave(), spell_item_titanium_seal_of_dalaran_catch::TriggerEmote(), boss_chromaggus::UpdateAI(), boss_majordomo::UpdateAI(), boss_apoko::UpdateAI(), npc_madrigosa::UpdateAI(), boss_eye_of_cthun::eye_of_cthunAI::UpdateAI(), boss_novos::UpdateAI(), boss_trollgore::UpdateAI(), boss_devourer_of_souls::UpdateAI(), boss_ick::UpdateAI(), boss_grobbulus::UpdateAI(), boss_vx_001::boss_vx_001AI::UpdateAI(), npc_runic_colossus::npc_runic_colossusAI::UpdateAI(), npc_corruptor_tentacle::npc_corruptor_tentacleAI::UpdateAI(), boss_mekgineer_steamrigger::UpdateAI(), npc_claw::UpdateAI(), npc_millhouse_manastorm::UpdateAI(), npc_warden_mellichar::UpdateAI(), boss_high_botanist_freywinn::UpdateAI(), boss_laj::UpdateAI(), boss_mechano_lord_capacitus::UpdateAI(), npc_pet_hunter_snake_trap::UpdateAI(), boss_anetheron::WaypointPathEnded(), boss_rage_winterchill::WaypointPathEnded(), and npc_toxic_sporebat::WaypointPathEnded().