Pyrogenesis HEAD
Pyrogenesis, a RTS Engine
|
Sent, at most once per turn, when the visibility of an entity changed. 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 |
CMessageVisibilityChanged (player_id_t player, entity_id_t ent, int oldVisibility, int newVisibility) | |
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 | |
player_id_t | player |
entity_id_t | ent |
int | oldVisibility |
int | newVisibility |
Additional Inherited Members | |
Protected Member Functions inherited from CMessage | |
CMessage () | |
Sent, at most once per turn, when the visibility of an entity changed.
|
inline |
|
static |
|
inlinevirtual |
Implements CMessage.
|
inlinevirtual |
Implements CMessage.
|
inlinevirtual |
Implements CMessage.
|
virtual |
Implements CMessage.
entity_id_t CMessageVisibilityChanged::ent |
int CMessageVisibilityChanged::newVisibility |
int CMessageVisibilityChanged::oldVisibility |
player_id_t CMessageVisibilityChanged::player |