Pyrogenesis trunk
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
CMessageValueModification Class Referencefinal

Sent by aura manager when a value of a certain entity's component is changed. More...

#include <MessageTypes.h>

Inheritance diagram for CMessageValueModification:
Inheritance graph
[legend]
Collaboration diagram for CMessageValueModification:
Collaboration graph
[legend]

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
 
 CMessageValueModification (const std::vector< entity_id_t > &entities, std::wstring component, const std::vector< std::wstring > &valueNames)
 
- 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 CMessageFromJSVal (const ScriptRequest &, JS::HandleValue val)
 

Public Attributes

std::vector< entity_id_tentities
 
std::wstring component
 
std::vector< std::wstring > valueNames
 

Additional Inherited Members

- Protected Member Functions inherited from CMessage
 CMessage ()
 

Detailed Description

Sent by aura manager when a value of a certain entity's component is changed.

Constructor & Destructor Documentation

◆ CMessageValueModification()

CMessageValueModification::CMessageValueModification ( const std::vector< entity_id_t > &  entities,
std::wstring  component,
const std::vector< std::wstring > &  valueNames 
)
inline

Member Function Documentation

◆ FromJSVal()

CMessage * CMessageValueModification::FromJSVal ( const ScriptRequest rq,
JS::HandleValue  val 
)
static

◆ GetScriptGlobalHandlerName()

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

Implements CMessage.

◆ GetScriptHandlerName()

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

Implements CMessage.

◆ GetType()

virtual int CMessageValueModification::GetType ( ) const
inlinevirtual

Implements CMessage.

◆ ToJSVal()

JS::Value CMessageValueModification::ToJSVal ( const ScriptRequest rq) const
virtual

Implements CMessage.

Member Data Documentation

◆ component

std::wstring CMessageValueModification::component

◆ entities

std::vector<entity_id_t> CMessageValueModification::entities

◆ valueNames

std::vector<std::wstring> CMessageValueModification::valueNames

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