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
 

Typedefs

typedef std::list< WorldObject * > ObjectList
 

Enumerations

enum  HealthCheckStatus {
  HEALTH_CHECK_PROCESSED ,
  HEALTH_CHECK_SCHEDULED ,
  HEALTH_CHECK_PENDING
}
 

Functions

Creature * GetClosestCreatureWithEntry (WorldObject *source, uint32 entry, float maxSearchRange, bool alive=true)
 
GameObject * GetClosestGameObjectWithEntry (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)
 

Typedef Documentation

◆ ObjectList

typedef std::list<WorldObject*> ObjectList

Enumeration Type Documentation

◆ HealthCheckStatus

Enumerator
HEALTH_CHECK_PROCESSED 
HEALTH_CHECK_SCHEDULED 
HEALTH_CHECK_PENDING 
462{
466};
@ HEALTH_CHECK_PENDING
Definition ScriptedCreature.h:465
@ HEALTH_CHECK_PROCESSED
Definition ScriptedCreature.h:463
@ HEALTH_CHECK_SCHEDULED
Definition ScriptedCreature.h:464

Function Documentation

◆ GetClosestCreatureWithEntry()

Creature * GetClosestCreatureWithEntry ( WorldObject *  source,
uint32  entry,
float  maxSearchRange,
bool  alive = true 
)

◆ GetClosestGameObjectWithEntry()

◆ GetCreatureListWithEntryInGrid()

void GetCreatureListWithEntryInGrid ( std::list< Creature * > &  list,
WorldObject *  source,
uint32  entry,
float  maxSearchRange 
)
944{
945 source->GetCreatureListWithEntryInGrid(list, entry, maxSearchRange);
946}
void GetCreatureListWithEntryInGrid(std::list< Creature * > &lList, uint32 uiEntry, float fMaxSearchRange) const
Definition Object.cpp:2619

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::Dragonspireroomstore(), boss_arlokk::boss_arlokkAI::EnterEvadeMode(), npc_shattered_hand_scout::FireArrows(), npc_hyjal_ground_trash::GetNearbyFriendlyTrashCreature(), go_tadpole_cage::go_tadpole_cageAI::GossipHello(), spell_frostwarden_handler_order_whelp::HandleForcedCast(), spell_putricide_unstable_experiment::HandleScript(), spell_summon_amanishi_sentries::HandleScriptEffect(), npc_necrotic_shard::HandleShardMinionSpawnerSmall(), boss_mandokir::boss_mandokirAI::JustDied(), boss_volkhan::JustDied(), npc_blackhand_incarcerator::JustEngagedWith(), npc_sunblade_scout::JustEngagedWith(), npc_amanishi_scout::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_harrison_jones::OpenMassiveGateAndCallGuards(), npc_dark_iron_attack_generator::PrepareEvent(), instance_icecrown_citadel::instance_icecrown_citadel_InstanceMapScript::ProcessEvent(), boss_pandemonius::PullRoom(), RevivePlayer(), npc_corrupted_totem::SetAura(), instance_scarlet_monastery::instance_scarlet_monastery_InstanceMapScript::SetData(), npc_commander_eligor_dawnbringer::npc_commander_eligor_dawnbringerAI::StoreTargets(), boss_pyroguard_emberseer::UpdateAI(), npc_rookery_hatcher::UpdateAI(), npc_supervisor_raelen::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 
)
954{
955 source->GetDeadCreatureListInGrid(list, maxSearchRange, alive);
956}
void GetDeadCreatureListInGrid(std::list< Creature * > &lList, float maxSearchRange, bool alive=false) const
Definition Object.cpp:2633

References WorldObject::GetDeadCreatureListInGrid().

◆ GetGameObjectListWithEntryInGrid()

void GetGameObjectListWithEntryInGrid ( std::list< GameObject * > &  list,
WorldObject *  source,
uint32  entry,
float  maxSearchRange 
)
949{
950 source->GetGameObjectListWithEntryInGrid(list, entry, maxSearchRange);
951}
void GetGameObjectListWithEntryInGrid(std::list< GameObject * > &lList, uint32 uiEntry, float fMaxSearchRange) const
Definition Object.cpp:2605

References WorldObject::GetGameObjectListWithEntryInGrid().

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