Pyrogenesis
13997
|
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 jsval | ToJSVal (ScriptInterface &scriptInterface) const |
CMessageDestroy (entity_id_t entity) | |
![]() | |
virtual | ~CMessage () |
jsval | ToJSValCached (ScriptInterface &) const |
Static Public Member Functions | |
static CMessage * | FromJSVal (ScriptInterface &, jsval val) |
Public Attributes | |
entity_id_t | entity |
Additional Inherited Members | |
![]() | |
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.
Definition at line 211 of file MessageTypes.h.
|
inline |
Definition at line 216 of file MessageTypes.h.
|
static |
Definition at line 166 of file MessageTypeConversions.cpp.
|
inlinevirtual |
Implements CMessage.
Definition at line 214 of file MessageTypes.h.
|
inlinevirtual |
Implements CMessage.
Definition at line 214 of file MessageTypes.h.
|
inlinevirtual |
Implements CMessage.
Definition at line 214 of file MessageTypes.h.
|
virtual |
Implements CMessage.
Definition at line 159 of file MessageTypeConversions.cpp.
entity_id_t CMessageDestroy::entity |
Definition at line 221 of file MessageTypes.h.