Pyrogenesis HEAD
Pyrogenesis, a RTS Engine
|
This is sent immediately before a destroyed entity is flushed and really destroyed. More...
#include <MessageTypes.h>
Public Member Functions | |
virtual int | GetType () const |
virtual const char * | GetScriptHandlerName () const |
virtual const char * | GetScriptGlobalHandlerName () const |
virtual JS::Value | ToJSVal (const ScriptRequest &rq) const |
CMessageDestroy (entity_id_t entity) | |
Public Member Functions inherited from CMessage | |
virtual | ~CMessage () |
virtual int | GetType () const =0 |
virtual const char * | GetScriptHandlerName () const =0 |
virtual const char * | GetScriptGlobalHandlerName () const =0 |
virtual JS::Value | ToJSVal (const ScriptRequest &) const =0 |
JS::Value | ToJSValCached (const ScriptRequest &) const |
Static Public Member Functions | |
static CMessage * | FromJSVal (const ScriptRequest &, JS::HandleValue val) |
Public Attributes | |
entity_id_t | entity |
Additional Inherited Members | |
Protected Member Functions inherited from CMessage | |
CMessage () | |
This is sent immediately before a destroyed entity is flushed and really destroyed.
(That is, after CComponentManager::DestroyComponentsSoon and inside FlushDestroyedComponents). The entity will still exist at the time this message is sent. It's possible for this message to be sent multiple times for one entity, but all its components will have been deleted after the first time.
|
inline |
|
static |
|
inlinevirtual |
Implements CMessage.
|
inlinevirtual |
Implements CMessage.
|
inlinevirtual |
Implements CMessage.
|
virtual |
Implements CMessage.
entity_id_t CMessageDestroy::entity |