Go to the source code of this file.
|
template<class T , class U > |
T * | EnsureAI (U *ai) |
|
TC_GAME_API Creature * | GetClosestCreatureWithEntry (WorldObject *source, uint32 entry, float maxSearchRange, bool alive=true) |
|
TC_GAME_API GameObject * | GetClosestGameObjectWithEntry (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) |
|
#define CAST_AI |
( |
|
a, |
|
|
|
b |
|
) |
| (dynamic_cast<a*>(b)) |
#define ENSURE_AI |
( |
|
a, |
|
|
|
b |
|
) |
| (EnsureAI<a>(b)) |
template<class T , class U >
34 T* cast_ai =
dynamic_cast<T*
>(ai);
#define ASSERT
Definition: Errors.h:55
Creature * FindNearestCreature(uint32 entry, float range, bool alive=true) const
Definition: Object.cpp:2443
GameObject * FindNearestGameObject(uint32 entry, float range) const
Definition: Object.cpp:2452
void GetCreatureListWithEntryInGrid(std::list< Creature * > &lList, uint32 uiEntry, float fMaxSearchRange) const
Definition: Object.cpp:2483
void GetGameObjectListWithEntryInGrid(std::list< GameObject * > &lList, uint32 uiEntry, float fMaxSearchRange) const
Definition: Object.cpp:2470
TC_GAME_API void GetPlayerListInGrid |
( |
std::list< Player * > & |
list, |
|
|
WorldObject * |
source, |
|
|
float |
maxSearchRange |
|
) |
| |
void GetPlayerListInGrid(std::list< Player * > &lList, float fMaxSearchRange) const
Definition: Object.cpp:2496