TrinityCore
GameEvents Namespace Reference

Functions

TC_GAME_API void Trigger (uint32 gameEventId, WorldObject *source, WorldObject *target)
 
TC_GAME_API void TriggerForPlayer (uint32 gameEventId, Player *source)
 
TC_GAME_API void TriggerForMap (uint32 gameEventId, Map *map, WorldObject *source=nullptr, WorldObject *target=nullptr)
 

Function Documentation

◆ Trigger()

void GameEvents::Trigger ( uint32  gameEventId,
WorldObject source,
WorldObject target 
)

Definition at line 28 of file GameEventSender.cpp.

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

◆ TriggerForMap()

void GameEvents::TriggerForMap ( uint32  gameEventId,
Map map,
WorldObject source = nullptr,
WorldObject target = nullptr 
)

Definition at line 69 of file GameEventSender.cpp.

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

◆ TriggerForPlayer()

void GameEvents::TriggerForPlayer ( uint32  gameEventId,
Player source 
)

Definition at line 54 of file GameEventSender.cpp.

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