TrinityCore
Loading...
Searching...
No Matches
ScriptedCreature.h File Reference
#include "CommonHelpers.h"
#include "Creature.h"
#include "CreatureAI.h"
#include "DBCEnums.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)
 

Function Documentation

◆ GetClosestCreatureWithEntry()

◆ GetClosestCreatureWithOptions()

Creature * GetClosestCreatureWithOptions ( WorldObject *  source,
float  maxSearchRange,
FindCreatureOptions const &  options 
)
inline

◆ GetClosestGameObjectWithEntry()

◆ GetCreatureListWithEntryInGrid()

template<typename Container >
void GetCreatureListWithEntryInGrid ( Container &  container,
WorldObject *  source,
uint32  entry,
float  maxSearchRange 
)
inline

Definition at line 404 of file ScriptedCreature.h.

References WorldObject::GetCreatureListWithEntryInGrid().

Referenced by spell_ahune_summoning_rhyme_aura::AfterApply(), instance_dire_maul::instance_dire_maul_InstanceMapScript::CrystalCreatureStore(), 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_high_overlord_saurfang_icc::GuardBroadcast(), npc_muradin_bronzebeard_icc::GuardBroadcast(), spell_frostwarden_handler_order_whelp::HandleForcedCast(), spell_putricide_unstable_experiment::HandleScript(), spell_dreamwalker_summon_suppresser::HandleSummon(), boss_golemagg::JustDied(), boss_anetheron::JustDied(), npc_gunship::npc_gunshipAI::JustDied(), boss_warlord_kalithresh::JustDied(), npc_blackhand_incarcerator::JustEngagedWith(), boss_arlokk::JustEngagedWith(), boss_keleseth::KillSkeletons(), npc_valkyr_shadowguard::MovementInform(), boss_illidan_stormrage::MovementInform(), go_veil_skith_cage::go_veil_skith_cageAI::OnGossipHello(), at_icc_saurfang_portal::OnTrigger(), npc_yogg_saron_keeper::npc_yogg_saron_keeperAI::Reset(), npc_commander_eligor_dawnbringer::StoreTargets(), boss_pyroguard_emberseer::UpdateAI(), boss_janalai::UpdateAI(), npc_harrison_jones::npc_harrison_jonesAI::UpdateAI(), npc_tiger_matriarch_credit::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().

◆ GetCreatureListWithOptionsInGrid()

template<typename Container >
void GetCreatureListWithOptionsInGrid ( Container &  container,
WorldObject *  source,
float  maxSearchRange,
FindCreatureOptions const &  options 
)
inline

◆ GetGameObjectListWithEntryInGrid()

template<typename Container >
void GetGameObjectListWithEntryInGrid ( Container &  container,
WorldObject *  source,
uint32  entry,
float  maxSearchRange 
)
inline

◆ GetPlayerListInGrid()

template<typename Container >
void GetPlayerListInGrid ( Container &  container,
WorldObject *  source,
float  maxSearchRange,
bool  alive = true 
)
inline