TrinityCore
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
ScriptedCreature.cpp File Reference
#include "ScriptedCreature.h"
#include "Spell.h"
#include "GridNotifiers.h"
#include "GridNotifiersImpl.h"
#include "Cell.h"
#include "CellImpl.h"
#include "ObjectMgr.h"
#include "AreaBoundary.h"
+ Include dependency graph for ScriptedCreature.cpp:

Classes

struct  TSpellSummary
 

Enumerations

enum  NPCs {
  NPC_BROODLORD = 12017, NPC_VOID_REAVER = 19516, NPC_JAN_ALAI = 23578, NPC_SARTHARION = 28860,
  NPC_INFINITE_ADVERSARY = 27742, NPC_INFINITE_HUNTER = 27743, NPC_INFINITE_AGENT = 27744, NPC_ZOMBIE = 27737,
  NPC_GHOUL = 28249, NPC_NECROMANCER = 28200, NPC_STALKER = 28199, NPC_FIEND = 27734,
  NPC_GOLEM = 28201, NPC_EGHOUL = 27729, NPC_CONSTRUCT = 27736, NPC_INVIS_TARGET = 20562,
  NPC_KNIGHT_ESCORT = 27745, NPC_PRIEST_ESCORT = 27747, NPC_CITY_MAN = 28167, NPC_CITY_MAN2 = 28169,
  NPC_CITY_MAN3 = 31126, NPC_CITY_MAN4 = 31127, NPC_RANSHALLA = 10300, NPC_PRIESTESS_ELUNE = 12116,
  NPC_VOICE_ELUNE = 12152, NPC_GUARDIAN_ELUNE = 12140, NPC_TRASHING_CHARGE = 43743, NPC_DEVOUT_FOLLOWER = 42428,
  NPC_SEISMIC_SHARD = 42355, NPC_BOUNCER_SPIKE = 42189, NPC_RUPTURE_CONTROLLER = 49597, NPC_RUPTURE = 49576,
  NPC_RUBBLE_STALKER = 33809, NPC_ARM_SWEEP_STALKER = 33661, NPC_ETHEREAL_SPHERE = 29271, NPC_ETHEREAL_SPHERE2 = 32582,
  NPC_ETHEREAL_SUMMON_TARGET = 29276, NPC_TRANSITUS_SHIELD_DUMMY = 27306, NPC_WARMAGE_HOLLISTER = 27906, NPC_WARMAGE_CALANDRA = 27173,
  NPC_WARMAGE_WATKINS = 27904, NPC_TRANSITUS_SHIELD_DUMMY = 27306, NPC_WARMAGE_SARINA = 32369, NPC_WARMAGE_HALISTER = 32371,
  NPC_WARMAGE_ILSUDRIA = 32372, NPC_APPLEBOUGH_A = 29547, NPC_SWEETBERRY_H = 29715, NPC_SILVER_COVENANT_GUARDIAN_MAGE = 29254,
  NPC_SUNREAVER_GUARDIAN_MAGE = 29255
}
 

Functions

TC_GAME_API CreatureGetClosestCreatureWithEntry (WorldObject *source, uint32 entry, float maxSearchRange, bool alive)
 
TC_GAME_API GameObjectGetClosestGameObjectWithEntry (WorldObject *source, uint32 entry, float maxSearchRange)
 
TC_GAME_API void GetCreatureListWithEntryInGrid (std::list< Creature * > &list, WorldObject *source, uint32 entry, float maxSearchRange)
 
TC_GAME_API void GetGameObjectListWithEntryInGrid (std::list< GameObject * > &list, WorldObject *source, uint32 entry, float maxSearchRange)
 
TC_GAME_API void GetPlayerListInGrid (std::list< Player * > &list, WorldObject *source, float maxSearchRange)
 

Variables

struct TSpellSummarySpellSummary
 

Enumeration Type Documentation

enum NPCs
Enumerator
NPC_BROODLORD 
NPC_VOID_REAVER 
NPC_JAN_ALAI 
NPC_SARTHARION 
NPC_INFINITE_ADVERSARY 
NPC_INFINITE_HUNTER 
NPC_INFINITE_AGENT 
NPC_ZOMBIE 
NPC_GHOUL 
NPC_NECROMANCER 
NPC_STALKER 
NPC_FIEND 
NPC_GOLEM 
NPC_EGHOUL 
NPC_CONSTRUCT 
NPC_INVIS_TARGET 
NPC_KNIGHT_ESCORT 
NPC_PRIEST_ESCORT 
NPC_CITY_MAN 
NPC_CITY_MAN2 
NPC_CITY_MAN3 
NPC_CITY_MAN4 
NPC_RANSHALLA 
NPC_PRIESTESS_ELUNE 
NPC_VOICE_ELUNE 
NPC_GUARDIAN_ELUNE 
NPC_TRASHING_CHARGE 
NPC_DEVOUT_FOLLOWER 
NPC_SEISMIC_SHARD 
NPC_BOUNCER_SPIKE 
NPC_RUPTURE_CONTROLLER 
NPC_RUPTURE 
NPC_RUBBLE_STALKER 
NPC_ARM_SWEEP_STALKER 
NPC_ETHEREAL_SPHERE 
NPC_ETHEREAL_SPHERE2 
NPC_ETHEREAL_SUMMON_TARGET 
NPC_TRANSITUS_SHIELD_DUMMY 
NPC_WARMAGE_HOLLISTER 
NPC_WARMAGE_CALANDRA 
NPC_WARMAGE_WATKINS 
NPC_TRANSITUS_SHIELD_DUMMY 
NPC_WARMAGE_SARINA 
NPC_WARMAGE_HALISTER 
NPC_WARMAGE_ILSUDRIA 
NPC_APPLEBOUGH_A 
NPC_SWEETBERRY_H 
NPC_SILVER_COVENANT_GUARDIAN_MAGE 
NPC_SUNREAVER_GUARDIAN_MAGE 
388 {
389  NPC_BROODLORD = 12017,
390  NPC_VOID_REAVER = 19516,
391  NPC_JAN_ALAI = 23578,
392  NPC_SARTHARION = 28860
393 };
Definition: ScriptedCreature.cpp:390
Definition: ScriptedCreature.cpp:392
Definition: ScriptedCreature.cpp:389
Definition: ScriptedCreature.cpp:391

Function Documentation

TC_GAME_API Creature* GetClosestCreatureWithEntry ( WorldObject source,
uint32  entry,
float  maxSearchRange,
bool  alive 
)
612 {
613  return source->FindNearestCreature(entry, maxSearchRange, alive);
614 }
Creature * FindNearestCreature(uint32 entry, float range, bool alive=true) const
Definition: Object.cpp:2443

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

TC_GAME_API GameObject* GetClosestGameObjectWithEntry ( WorldObject source,
uint32  entry,
float  maxSearchRange 
)
617 {
618  return source->FindNearestGameObject(entry, maxSearchRange);
619 }
GameObject * FindNearestGameObject(uint32 entry, float range) const
Definition: Object.cpp:2452

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

TC_GAME_API void GetCreatureListWithEntryInGrid ( std::list< Creature * > &  list,
WorldObject source,
uint32  entry,
float  maxSearchRange 
)
622 {
623  source->GetCreatureListWithEntryInGrid(list, entry, maxSearchRange);
624 }
void GetCreatureListWithEntryInGrid(std::list< Creature * > &lList, uint32 uiEntry, float fMaxSearchRange) const
Definition: Object.cpp:2483

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

TC_GAME_API void GetGameObjectListWithEntryInGrid ( std::list< GameObject * > &  list,
WorldObject source,
uint32  entry,
float  maxSearchRange 
)
627 {
628  source->GetGameObjectListWithEntryInGrid(list, entry, maxSearchRange);
629 }
void GetGameObjectListWithEntryInGrid(std::list< GameObject * > &lList, uint32 uiEntry, float fMaxSearchRange) const
Definition: Object.cpp:2470

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

TC_GAME_API void GetPlayerListInGrid ( std::list< Player * > &  list,
WorldObject source,
float  maxSearchRange 
)
632 {
633  source->GetPlayerListInGrid(list, maxSearchRange);
634 }
void GetPlayerListInGrid(std::list< Player * > &lList, float fMaxSearchRange) const
Definition: Object.cpp:2496

+ Here is the call graph for this function:

Variable Documentation

struct TSpellSummary* SpellSummary