TrinityCore
Loading...
Searching...
No Matches
ScriptedCreature.h File Reference
#include "CommonHelpers.h"
#include "Creature.h"
#include "CreatureAI.h"
#include "DBCEnums.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 388 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 393 of file ScriptedCreature.h.

+ Here is the call graph for this function:

◆ GetClosestGameObjectWithEntry()

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

Definition at line 398 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 404 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 410 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 416 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 422 of file ScriptedCreature.h.

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