![]() |
TrinityCore
|
#include "CommonHelpers.h"#include "CreatureAI.h"#include "Creature.h"#include "DBCEnums.h"#include "EventMap.h"#include "TaskScheduler.h"
Include dependency graph for ScriptedCreature.h:Go to the source code of this file.
Classes | |
| class | SummonList |
| class | EntryCheckPredicate |
| class | DummyEntryCheckPredicate |
| struct | ScriptedAI |
| class | BossAI |
| class | WorldBossAI |
Functions | |
| Creature * | GetClosestCreatureWithEntry (WorldObject *source, uint32 entry, float maxSearchRange, bool alive=true) |
| Creature * | GetClosestCreatureWithOptions (WorldObject *source, float maxSearchRange, FindCreatureOptions const &options) |
| GameObject * | GetClosestGameObjectWithEntry (WorldObject *source, uint32 entry, float maxSearchRange, bool spawnedOnly=true) |
| template<typename Container > | |
| void | GetCreatureListWithEntryInGrid (Container &container, WorldObject *source, uint32 entry, float maxSearchRange) |
| template<typename Container > | |
| void | GetCreatureListWithOptionsInGrid (Container &container, WorldObject *source, float maxSearchRange, FindCreatureOptions const &options) |
| template<typename Container > | |
| void | GetGameObjectListWithEntryInGrid (Container &container, WorldObject *source, uint32 entry, float maxSearchRange) |
| template<typename Container > | |
| void | GetPlayerListInGrid (Container &container, WorldObject *source, float maxSearchRange, bool alive=true) |
|
inline |
Definition at line 390 of file ScriptedCreature.h.
References WorldObject::FindNearestCreature().
Referenced by spell_random_ingredient::HandleScriptEffect(), spell_pot_check::HandleScriptEffect(), npc_mrfloppy::JustEngagedWith(), npc_emily::JustSummoned(), npc_mageguard_dalaran::MoveInLineOfSight(), go_naga_brazier::go_naga_brazierAI::OnGossipHello(), go_elune_fire::go_elune_fireAI::OnGossipHello(), go_shield_generator::OnGossipHello(), go_strange_pool::OnGossipHello(), go_amberpine_outhouse::go_amberpine_outhouseAI::OnGossipSelect(), npc_emily::OnQuestAccept(), spell_fetch_ingredient_aura::OnRemove(), npc_oscillating_frequency_scanner_master_bunny::npc_oscillating_frequency_scanner_master_bunnyAI::Reset(), npc_a_special_surprise::npc_a_special_surpriseAI::UpdateAI(), npc_highlord_darion_mograine::npc_highlord_darion_mograineAI::UpdateAI(), Scripts::EasternKingdoms::Westfall::npc_westfall_hobo_witness::UpdateAI(), npc_flame_tsunami::UpdateAI(), boss_hodir::UpdateAI(), npc_blessed_banner::UpdateAI(), npc_brann_hos::WaypointReached(), and npc_emily::WaypointReached().
|
inline |
Definition at line 395 of file ScriptedCreature.h.
References WorldObject::FindNearestCreatureWithOptions().
Referenced by boss_janalai::AllEggsWereHatched(), npc_amanishi_hatcher::AreEggsHatchedA(), npc_amanishi_hatcher::AreEggsHatchedB(), spell_freed_killcredit_set_them_free< CreatureId >::HandleHitTarget(), npc_kayn_sunfury_ashtongue_intro_private::JustAppeared(), boss_aqusirr::JustDied(), conversation_the_invasion_begins::OnCreate(), conversation_an_unlikely_informant::OnCreate(), conversation_the_new_classington_estate::OnCreate(), Scripts::EasternKingdoms::StormwindCity::conversation_start_council_tides_of_war::OnCreate(), Scripts::EasternKingdoms::StormwindCity::conversation_quest_ancient_curses_accept::OnCreate(), Scripts::KhazAlgar::CampaignsVisionsOfAShadowedSun::conversation_vereesas_tale::OnCreate(), conversation_natalia_pearces_accept_precious_gems::OnCreate(), conversation_natalia_pearces_complete_precious_gems::OnCreate(), conversation_dawn_accept_the_expedition_awaits::OnCreate(), conversation_boralus_cyrus_meets_genn::OnCreate(), conversation_cyrus_crestfall_shaking_hands::OnCreate(), npc_7th_legion_magus_sanctum_of_the_sages::OnGossipSelect(), Scripts::EasternKingdoms::StormwindCity::player_conv_after_movie_tides_of_war::OnMovieComplete(), npc_kayn_sunfury_ashtongue_intro::OnQuestAccept(), Scripts::EasternKingdoms::StormwindCity::npc_anduin_wrynn_nation_of_kultiras::OnQuestAccept(), scene_enter_the_illidari_ashtongue::OnSceneStart(), scene_enter_the_illidari_coilskar::OnSceneStart(), at_hall_of_shadows_call_of_the_uncrowned_clone_milton::OnUnitEnter(), and conversation_guards_intro_standing_accused::SummonPersonalCloneFromClosestCreatureWithOptions().
|
inline |
Definition at line 400 of file ScriptedCreature.h.
References WorldObject::FindNearestGameObject().
Referenced by boss_lava_guard_gordoth::DoAction(), npc_ranshalla::npc_ranshallaAI::DoChannelTorchSpell(), npc_firework::FindNearestLauncher(), npc_ranshalla::npc_ranshallaAI::JustDidDialogueStep(), AreaTrigger_at_coilfang_waterfall::OnTrigger(), boss_ossirian::boss_ossirianAI::SpellHit(), and npc_muglash::npc_muglashAI::WaypointReached().
|
inline |
Definition at line 406 of file ScriptedCreature.h.
References WorldObject::GetCreatureListWithEntryInGrid().
Referenced by spell_ahune_summoning_rhyme_aura::AfterApply(), boss_temple_guardian_anhuur::CleanStalkers(), boss_earthrager_ptah::Cleanup(), instance_dire_maul::instance_dire_maul_InstanceMapScript::CrystalCreatureStore(), boss_earthrager_ptah::DamageTaken(), boss_temple_guardian_anhuur::DamageTaken(), boss_anduin_wrynn::DamageTaken(), boss_amalgam_of_souls::DespawnSoulEchoes(), boss_mandokir::DoAction(), npc_high_overlord_saurfang_icc::DoAction(), npc_muradin_bronzebeard_icc::DoAction(), boss_professor_putricide::DoAction(), CoolestFriendBaseAI::DoAction(), npc_yogg_saron_keeper::npc_yogg_saron_keeperAI::DoAction(), npc_sironas::npc_sironasAI::DoAction(), npc_medivh_bm::DoDespawnSpawns(), boss_lady_vashj::DoDespawnSummons(), DoDespawnSummons(), npc_ahune_bunny::DoResetCreatures(), DoResetPortals(), instance_blackrock_spire::instance_blackrock_spireMapScript::Dragonspireroomstore(), npc_sparring_partner_exiles_reach::GetRandomSparPoint(), npc_high_overlord_saurfang_icc::GuardBroadcast(), npc_muradin_bronzebeard_icc::GuardBroadcast(), spell_frostwarden_handler_order_whelp::HandleForcedCast(), spell_putricide_unstable_experiment::HandleScript(), spell_edna_earth_shatterer::HandleScriptEffect(), spell_dreamwalker_summon_suppresser::HandleSummon(), boss_golemagg::JustDied(), boss_anetheron::JustDied(), npc_egg_pile::npc_egg_pileAI::JustDied(), npc_gunship::npc_gunshipAI::JustDied(), boss_warlord_kalithresh::JustDied(), npc_blackhand_incarcerator::JustEngagedWith(), boss_keleseth::KillSkeletons(), npc_valkyr_shadowguard::MovementInform(), boss_lava_guard_gordoth::MovementInform(), boss_illidan_stormrage::MovementInform(), npc_sparring_partner_combat_training::MovementInform(), go_veil_skith_cage::go_veil_skith_cageAI::OnGossipHello(), at_icc_saurfang_portal::OnTrigger(), boss_the_candle_king::RemoveWaxStatues(), npc_yogg_saron_keeper::npc_yogg_saron_keeperAI::Reset(), npc_commander_eligor_dawnbringer::StoreTargets(), npc_silverpine_grand_executor_mortuus::SummonPortalsFromOrgrimmar(), boss_pyroguard_emberseer::UpdateAI(), boss_janalai::UpdateAI(), npc_tiger_matriarch_credit::UpdateAI(), boss_temple_guardian_anhuur::UpdateAI(), npc_andorov::UpdateAI(), boss_the_lich_king::UpdateAI(), boss_hodir::UpdateAI(), boss_svala::UpdateAI(), boss_illidan_stormrage::UpdateAI(), boss_lady_vashj::UpdateAI(), boss_leotheras_the_blind::UpdateAI(), npc_ahune_bunny::UpdateAI(), and npc_brewfest_reveler_2::UpdateAI().
|
inline |
Definition at line 412 of file ScriptedCreature.h.
References WorldObject::GetCreatureListWithOptionsInGrid().
Referenced by boss_kazzara_the_hellforged::DoAction(), boss_nalorakk::HandleWave(), boss_archaedas::JustEngagedWith(), boss_hodir::JustEngagedWith(), boss_janalai::UpdateAI(), boss_hodir::UpdateAI(), and boss_kaelthas::UpdateAI().
|
inline |
Definition at line 418 of file ScriptedCreature.h.
References WorldObject::GetGameObjectListWithEntryInGrid().
Referenced by npc_snufflenose_gopher::npc_snufflenose_gopherAI::DoFindNewTubber(), boss_broodlord::JustDied(), boss_lava_guard_gordoth::MovementInform(), boss_hodir::UpdateAI(), and npc_ranshalla::npc_ranshallaAI::WaypointReached().
|
inline |
Definition at line 424 of file ScriptedCreature.h.
References WorldObject::GetPlayerListInGrid().
Referenced by npc_corrupted_lightning_totem::JustAppeared(), npc_greyheart_spellbinder::JustEngagedWith(), npc_amanitar_mushrooms::Reset(), boss_halazzi::UpdateAI(), and npc_anduin_wrynn_fiendish_soul::UpdateAI().