TrinityCore
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
GameObjectDeleteDelayEvent Class Reference

#include <halls_of_reflection.h>

Public Member Functions

 GameObjectDeleteDelayEvent (Unit *owner, ObjectGuid gameObjectGUID)
 
void DeleteGameObject ()
 
bool Execute (uint64, uint32) override
 
void Abort (uint64) override
 
- Public Member Functions inherited from BasicEvent
 BasicEvent ()
 
virtual ~BasicEvent ()
 
virtual bool IsDeletable () const
 

Private Attributes

Unit_owner
 
ObjectGuid _gameObjectGUID
 

Additional Inherited Members

- Public Attributes inherited from BasicEvent
bool to_Abort
 
uint64 m_addTime
 
uint64 m_execTime
 

Constructor & Destructor Documentation

GameObjectDeleteDelayEvent::GameObjectDeleteDelayEvent ( Unit owner,
ObjectGuid  gameObjectGUID 
)
inline
233 : _owner(owner), _gameObjectGUID(gameObjectGUID) { }
Unit * _owner
Definition: halls_of_reflection.h:253
ObjectGuid _gameObjectGUID
Definition: halls_of_reflection.h:254

Member Function Documentation

void GameObjectDeleteDelayEvent::Abort ( uint64  )
inlineoverridevirtual

Reimplemented from BasicEvent.

248  {
250  }
void DeleteGameObject()
Definition: halls_of_reflection.h:235

+ Here is the call graph for this function:

void GameObjectDeleteDelayEvent::DeleteGameObject ( )
inline
236  {
238  go->Delete();
239  }
Unit * _owner
Definition: halls_of_reflection.h:253
ObjectGuid _gameObjectGUID
Definition: halls_of_reflection.h:254
Definition: GameObject.h:880
TC_GAME_API GameObject * GetGameObject(WorldObject const &u, ObjectGuid const &guid)
Definition: ObjectAccessor.cpp:143

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

bool GameObjectDeleteDelayEvent::Execute ( uint64  ,
uint32   
)
inlineoverridevirtual

Reimplemented from BasicEvent.

242  {
244  return true;
245  }
void DeleteGameObject()
Definition: halls_of_reflection.h:235

+ Here is the call graph for this function:

Member Data Documentation

ObjectGuid GameObjectDeleteDelayEvent::_gameObjectGUID
private
Unit* GameObjectDeleteDelayEvent::_owner
private

The documentation for this class was generated from the following file: