AzerothCore 3.3.5a
OpenSource WoW Emulator
Loading...
Searching...
No Matches
ScriptedCreature.cpp File Reference
#include "ScriptedCreature.h"
#include "Cell.h"
#include "CellImpl.h"
#include "GameTime.h"
#include "GridNotifiers.h"
#include "ObjectMgr.h"
#include "Spell.h"
#include "TemporarySummon.h"
#include "GridNotifiersImpl.h"

Go to the source code of this file.

Classes

struct  TSpellSummary
 

Enumerations

enum  eNPCs {
  NPC_BROODLORD = 12017 ,
  NPC_JAN_ALAI = 23578 ,
  NPC_SARTHARION = 28860 ,
  NPC_FREYA = 32906 ,
  NPC_INGVAR_UNDEAD = 23980 ,
  NPC_ANNHYLDE = 24068 ,
  NPC_THROW = 23997 ,
  NPC_FROST_TOMB = 23965 ,
  NPC_SKELETON = 23970
}
 

Functions

CreatureGetClosestCreatureWithEntry (WorldObject *source, uint32 entry, float maxSearchRange, bool alive)
 
GameObjectGetClosestGameObjectWithEntry (WorldObject *source, uint32 entry, float maxSearchRange, bool onlySpawned)
 
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)
 

Variables

struct TSpellSummarySpellSummary
 

Enumeration Type Documentation

◆ eNPCs

enum eNPCs
Enumerator
NPC_BROODLORD 
NPC_JAN_ALAI 
NPC_SARTHARION 
NPC_FREYA 
NPC_INGVAR_UNDEAD 
NPC_ANNHYLDE 
NPC_THROW 
NPC_FROST_TOMB 
NPC_SKELETON 
564{
565 NPC_BROODLORD = 12017,
566 NPC_JAN_ALAI = 23578,
567 NPC_SARTHARION = 28860,
568 NPC_FREYA = 32906,
569};
@ NPC_BROODLORD
Definition: ScriptedCreature.cpp:565
@ NPC_JAN_ALAI
Definition: ScriptedCreature.cpp:566
@ NPC_FREYA
Definition: ScriptedCreature.cpp:568
@ NPC_SARTHARION
Definition: ScriptedCreature.cpp:567

Function Documentation

◆ GetClosestCreatureWithEntry()

◆ GetClosestGameObjectWithEntry()

◆ GetCreatureListWithEntryInGrid()

void GetCreatureListWithEntryInGrid ( std::list< Creature * > &  list,
WorldObject source,
uint32  entry,
float  maxSearchRange 
)
861{
862 source->GetCreatureListWithEntryInGrid(list, entry, maxSearchRange);
863}
void GetCreatureListWithEntryInGrid(std::list< Creature * > &lList, uint32 uiEntry, float fMaxSearchRange) const
Definition: Object.cpp:2511

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(), npc_hyjal_ground_trash::GetNearbyFriendlyTrashCreature(), go_tadpole_cage::go_tadpole_cageAI::GossipHello(), spell_frostwarden_handler_order_whelp::HandleForcedCast(), spell_putricide_unstable_experiment::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_harrison_jones::OpenMassiveGateAndCallGuards(), 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_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 
)
871{
872 source->GetDeadCreatureListInGrid(list, maxSearchRange, alive);
873}
void GetDeadCreatureListInGrid(std::list< Creature * > &lList, float maxSearchRange, bool alive=false) const
Definition: Object.cpp:2518

References WorldObject::GetDeadCreatureListInGrid().

◆ GetGameObjectListWithEntryInGrid()

void GetGameObjectListWithEntryInGrid ( std::list< GameObject * > &  list,
WorldObject source,
uint32  entry,
float  maxSearchRange 
)
866{
867 source->GetGameObjectListWithEntryInGrid(list, entry, maxSearchRange);
868}
void GetGameObjectListWithEntryInGrid(std::list< GameObject * > &lList, uint32 uiEntry, float fMaxSearchRange) const
Definition: Object.cpp:2504

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().

Variable Documentation

◆ SpellSummary