TrinityCore
ScriptedCreature.h File Reference
#include "CreatureAI.h"
#include "Creature.h"
#include "DBCEnums.h"
#include "EventMap.h"
#include "TaskScheduler.h"
+ Include dependency graph for ScriptedCreature.h:

Go to the source code of this file.

Classes

class  SummonList
 
class  EntryCheckPredicate
 
class  DummyEntryCheckPredicate
 
struct  ScriptedAI
 
class  BossAI
 
class  WorldBossAI
 

Functions

CreatureGetClosestCreatureWithEntry (WorldObject *source, uint32 entry, float maxSearchRange, bool alive=true)
 
CreatureGetClosestCreatureWithOptions (WorldObject *source, float maxSearchRange, FindCreatureOptions const &options)
 
GameObjectGetClosestGameObjectWithEntry (WorldObject *source, uint32 entry, float maxSearchRange, bool spawnedOnly=true)
 
template<typename Container >
void GetCreatureListWithEntryInGrid (Container &container, WorldObject *source, uint32 entry, float maxSearchRange)
 
template<typename Container >
void GetCreatureListWithOptionsInGrid (Container &container, WorldObject *source, float maxSearchRange, FindCreatureOptions const &options)
 
template<typename Container >
void GetGameObjectListWithEntryInGrid (Container &container, WorldObject *source, uint32 entry, float maxSearchRange)
 
template<typename Container >
void GetPlayerListInGrid (Container &container, WorldObject *source, float maxSearchRange, bool alive=true)
 

Function Documentation

◆ GetClosestCreatureWithEntry()

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

Definition at line 389 of file ScriptedCreature.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetClosestCreatureWithOptions()

Creature * GetClosestCreatureWithOptions ( WorldObject source,
float  maxSearchRange,
FindCreatureOptions const &  options 
)
inline

Definition at line 394 of file ScriptedCreature.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetClosestGameObjectWithEntry()

GameObject * GetClosestGameObjectWithEntry ( WorldObject source,
uint32  entry,
float  maxSearchRange,
bool  spawnedOnly = true 
)
inline

Definition at line 399 of file ScriptedCreature.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetCreatureListWithEntryInGrid()

template<typename Container >
void GetCreatureListWithEntryInGrid ( Container &  container,
WorldObject source,
uint32  entry,
float  maxSearchRange 
)
inline

Definition at line 405 of file ScriptedCreature.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetCreatureListWithOptionsInGrid()

template<typename Container >
void GetCreatureListWithOptionsInGrid ( Container &  container,
WorldObject source,
float  maxSearchRange,
FindCreatureOptions const &  options 
)
inline

Definition at line 411 of file ScriptedCreature.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetGameObjectListWithEntryInGrid()

template<typename Container >
void GetGameObjectListWithEntryInGrid ( Container &  container,
WorldObject source,
uint32  entry,
float  maxSearchRange 
)
inline

Definition at line 417 of file ScriptedCreature.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetPlayerListInGrid()

template<typename Container >
void GetPlayerListInGrid ( Container &  container,
WorldObject source,
float  maxSearchRange,
bool  alive = true 
)
inline

Definition at line 423 of file ScriptedCreature.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function: