AzerothCore 3.3.5a
OpenSource WoW Emulator
Loading...
Searching...
No Matches
ScriptedCreature.cpp File Reference
#include "Cell.h"
#include "CellImpl.h"
#include "Containers.h"
#include "GameTime.h"
#include "GridNotifiers.h"
#include "ObjectMgr.h"
#include "ScriptedCreature.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
}
 

Functions

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

Enumeration Type Documentation

◆ eNPCs

enum eNPCs
Enumerator
NPC_BROODLORD 
NPC_JAN_ALAI 
NPC_SARTHARION 
NPC_FREYA 
584{
585 NPC_BROODLORD = 12017,
586 NPC_JAN_ALAI = 23578,
587 NPC_SARTHARION = 28860,
588 NPC_FREYA = 32906,
589};
@ NPC_BROODLORD
Definition ScriptedCreature.cpp:585
@ NPC_JAN_ALAI
Definition ScriptedCreature.cpp:586
@ NPC_FREYA
Definition ScriptedCreature.cpp:588
@ NPC_SARTHARION
Definition ScriptedCreature.cpp:587

Function Documentation

◆ GetClosestCreatureWithEntry()

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

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

Variable Documentation

◆ SpellSummary