Pyrogenesis  13997
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
CMessageDestroy Class Reference

This is sent immediately before a destroyed entity is flushed and really destroyed. More...

#include <MessageTypes.h>

Inheritance diagram for CMessageDestroy:
CMessage

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)
 
- Public Member Functions inherited from CMessage
virtual ~CMessage ()
 
jsval ToJSValCached (ScriptInterface &) const
 

Static Public Member Functions

static CMessageFromJSVal (ScriptInterface &, jsval val)
 

Public Attributes

entity_id_t entity
 

Additional Inherited Members

- Protected Member Functions inherited from CMessage
 CMessage ()
 

Detailed Description

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.

Constructor & Destructor Documentation

CMessageDestroy::CMessageDestroy ( entity_id_t  entity)
inline

Definition at line 216 of file MessageTypes.h.

Member Function Documentation

CMessage * CMessageDestroy::FromJSVal ( ScriptInterface scriptInterface,
jsval  val 
)
static

Definition at line 166 of file MessageTypeConversions.cpp.

virtual const char* CMessageDestroy::GetScriptGlobalHandlerName ( ) const
inlinevirtual

Implements CMessage.

Definition at line 214 of file MessageTypes.h.

virtual const char* CMessageDestroy::GetScriptHandlerName ( ) const
inlinevirtual

Implements CMessage.

Definition at line 214 of file MessageTypes.h.

virtual int CMessageDestroy::GetType ( void  ) const
inlinevirtual

Implements CMessage.

Definition at line 214 of file MessageTypes.h.

jsval CMessageDestroy::ToJSVal ( ScriptInterface scriptInterface) const
virtual

Implements CMessage.

Definition at line 159 of file MessageTypeConversions.cpp.

Member Data Documentation

entity_id_t CMessageDestroy::entity

Definition at line 221 of file MessageTypes.h.


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