AzerothCore 3.3.5a
OpenSource WoW Emulator
Loading...
Searching...
No Matches
ScriptedCreature.h File Reference
#include "Creature.h"
#include "CreatureAI.h"
#include "CreatureAIImpl.h"
#include "EventMap.h"
#include "InstanceScript.h"
#include "TaskScheduler.h"

Go to the source code of this file.

Classes

class  SummonList
 
class  EntryCheckPredicate
 
class  PlayerOrPetCheck
 
struct  ScriptedAI
 
struct  HealthCheckEventData
 
class  BossAI
 
class  WorldBossAI
 

Macros

#define CAST_AI(a, b)   (dynamic_cast<a*>(b))
 

Typedefs

typedef std::list< WorldObject * > ObjectList
 

Functions

CreatureGetClosestCreatureWithEntry (WorldObject *source, uint32 entry, float maxSearchRange, bool alive=true)
 
GameObjectGetClosestGameObjectWithEntry (WorldObject *source, uint32 entry, float maxSearchRange, bool onlySpawned=false)
 
void GetCreatureListWithEntryInGrid (std::list< Creature * > &list, WorldObject *source, uint32 entry, float maxSearchRange)
 
void GetGameObjectListWithEntryInGrid (std::list< GameObject * > &list, WorldObject *source, uint32 entry, float maxSearchRange)
 
void GetDeadCreatureListInGrid (std::list< Creature * > &list, WorldObject *source, float maxSearchRange, bool alive=false)
 

Macro Definition Documentation

◆ CAST_AI

#define CAST_AI (   a,
 
)    (dynamic_cast<a*>(b))

Typedef Documentation

◆ ObjectList

typedef std::list<WorldObject*> ObjectList

Function Documentation

◆ GetClosestCreatureWithEntry()

◆ GetClosestGameObjectWithEntry()

◆ GetCreatureListWithEntryInGrid()

void GetCreatureListWithEntryInGrid ( std::list< Creature * > &  list,
WorldObject source,
uint32  entry,
float  maxSearchRange 
)
819{
820 source->GetCreatureListWithEntryInGrid(list, entry, maxSearchRange);
821}
void GetCreatureListWithEntryInGrid(std::list< Creature * > &lList, uint32 uiEntry, float fMaxSearchRange) const
Definition: Object.cpp:2488

References WorldObject::GetCreatureListWithEntryInGrid().

Referenced by instance_icecrown_citadel::instance_icecrown_citadel_InstanceMapScript::CheckLichKingAvailability(), boss_mandokir::boss_mandokirAI::DoAction(), npc_high_overlord_saurfang_icc::npc_high_overlord_saurfangAI::DoAction(), npc_muradin_bronzebeard_icc::npc_muradin_bronzebeard_iccAI::DoAction(), boss_grand_warlock_nethekurse::DoAction(), npc_tirions_gambit_tirion::npc_tirions_gambit_tirionAI::DoAction(), instance_blackrock_spire::instance_blackrock_spireMapScript::Dragonspireroomstore(), boss_arlokk::boss_arlokkAI::EnterEvadeMode(), npc_shattered_hand_scout::FireArrows(), go_tadpole_cage::go_tadpole_cageAI::GossipHello(), spell_frostwarden_handler_order_whelp::spell_frostwarden_handler_order_whelp_SpellScript::HandleForcedCast(), spell_putricide_unstable_experiment::spell_putricide_unstable_experiment_SpellScript::HandleScript(), boss_mandokir::boss_mandokirAI::JustDied(), npc_blackhand_incarcerator::npc_blackhand_incarceratorAI::JustEngagedWith(), boss_arlokk::boss_arlokkAI::JustEngagedWith(), boss_rotface::boss_rotfaceAI::JustEngagedWith(), npc_sindragosa_trash::npc_sindragosa_trashAI::JustEngagedWith(), npc_shattered_hand_scout::MoveInLineOfSight(), npc_valkyr_shadowguard::npc_valkyr_shadowguardAI::MovementInform(), npc_shattered_hand_scout::MovementInform(), go_veil_skith_cage::OnGossipHello(), at_icc_saurfang_portal::OnTrigger(), npc_dark_iron_attack_generator::PrepareEvent(), instance_icecrown_citadel::instance_icecrown_citadel_InstanceMapScript::ProcessEvent(), npc_mograine::npc_mograineAI::PullCathedral(), boss_pandemonius::PullRoom(), RevivePlayer(), npc_corrupted_totem::SetAura(), npc_commander_eligor_dawnbringer::npc_commander_eligor_dawnbringerAI::StoreTargets(), boss_pyroguard_emberseer::boss_pyroguard_emberseerAI::UpdateAI(), npc_rookery_hatcher::npc_rookery_hatcherAI::UpdateAI(), npc_supervisor_raelen::UpdateAI(), npc_harrison_jones::npc_harrison_jonesAI::UpdateAI(), npc_tiger_matriarch_credit::npc_tiger_matriarch_creditAI::UpdateAI(), npc_warmage_coldarra::npc_warmage_coldarraAI::UpdateAI(), and npc_warmage_violetstand::UpdateAI().

◆ GetDeadCreatureListInGrid()

void GetDeadCreatureListInGrid ( std::list< Creature * > &  list,
WorldObject source,
float  maxSearchRange,
bool  alive = false 
)
829{
830 source->GetDeadCreatureListInGrid(list, maxSearchRange, alive);
831}
void GetDeadCreatureListInGrid(std::list< Creature * > &lList, float maxSearchRange, bool alive=false) const
Definition: Object.cpp:2495

References WorldObject::GetDeadCreatureListInGrid().

◆ GetGameObjectListWithEntryInGrid()

void GetGameObjectListWithEntryInGrid ( std::list< GameObject * > &  list,
WorldObject source,
uint32  entry,
float  maxSearchRange 
)
824{
825 source->GetGameObjectListWithEntryInGrid(list, entry, maxSearchRange);
826}
void GetGameObjectListWithEntryInGrid(std::list< GameObject * > &lList, uint32 uiEntry, float fMaxSearchRange) const
Definition: Object.cpp:2481

References WorldObject::GetGameObjectListWithEntryInGrid().

Referenced by boss_broodlord::boss_broodlordAI::JustDied(), npc_coren_direbrew::Reset(), npc_thrall_bfu::npc_thrall_bfuAI::UpdateAI(), and npc_ranshalla::npc_ranshallaAI::WaypointReached().