Pyrogenesis  13997
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Static Public Member Functions | Private Attributes | List of all members
CCmpGuiInterfaceScripted Class Reference
Inheritance diagram for CCmpGuiInterfaceScripted:
ICmpGuiInterface IComponent

Public Member Functions

 CCmpGuiInterfaceScripted (ScriptInterface &scriptInterface, jsval instance)
 
virtual void Init (const CParamNode &paramNode)
 
virtual void Deinit ()
 
virtual void HandleMessage (const CMessage &msg, bool global)
 
virtual void Serialize (ISerializer &serialize)
 
virtual void Deserialize (const CParamNode &paramNode, IDeserializer &deserialize)
 
virtual jsval GetJSInstance () const
 
virtual CScriptVal ScriptCall (int player, const std::wstring &cmd, CScriptVal data)
 Generic call function, for use by GUI scripts to talk to the GuiInterface script. More...
 
- Public Member Functions inherited from IComponent
virtual ~IComponent ()
 
CEntityHandle GetEntityHandle () const
 
void SetEntityHandle (CEntityHandle ent)
 
entity_id_t GetEntityId () const
 
CEntityHandle GetSystemEntity () const
 
const CSimContextGetSimContext () const
 
void SetSimContext (const CSimContext &context)
 
virtual JSClass * GetJSClass () const
 

Static Public Member Functions

static void ClassInit (CComponentManager &componentManager)
 
static IComponentAllocate (ScriptInterface &scriptInterface, jsval instance)
 
static void Deallocate (IComponent *cmp)
 
static std::string GetSchema ()
 
- Static Public Member Functions inherited from IComponent
static std::string GetSchema ()
 
static u8 GetSerializationVersion ()
 

Private Attributes

CComponentTypeScript m_Script
 

Detailed Description

Definition at line 28 of file ICmpGuiInterface.cpp.

Constructor & Destructor Documentation

CCmpGuiInterfaceScripted::CCmpGuiInterfaceScripted ( ScriptInterface scriptInterface,
jsval  instance 
)
inline

Definition at line 31 of file ICmpGuiInterface.cpp.

Member Function Documentation

static IComponent* CCmpGuiInterfaceScripted::Allocate ( ScriptInterface scriptInterface,
jsval  instance 
)
inlinestatic

Definition at line 31 of file ICmpGuiInterface.cpp.

static void CCmpGuiInterfaceScripted::ClassInit ( CComponentManager componentManager)
inlinestatic

Definition at line 31 of file ICmpGuiInterface.cpp.

static void CCmpGuiInterfaceScripted::Deallocate ( IComponent cmp)
inlinestatic

Definition at line 31 of file ICmpGuiInterface.cpp.

virtual void CCmpGuiInterfaceScripted::Deinit ( )
inlinevirtual

Implements IComponent.

Definition at line 31 of file ICmpGuiInterface.cpp.

virtual void CCmpGuiInterfaceScripted::Deserialize ( const CParamNode paramNode,
IDeserializer deserialize 
)
inlinevirtual

Implements IComponent.

Definition at line 31 of file ICmpGuiInterface.cpp.

virtual jsval CCmpGuiInterfaceScripted::GetJSInstance ( ) const
inlinevirtual

Reimplemented from IComponent.

Definition at line 31 of file ICmpGuiInterface.cpp.

static std::string CCmpGuiInterfaceScripted::GetSchema ( )
inlinestatic

Definition at line 31 of file ICmpGuiInterface.cpp.

virtual void CCmpGuiInterfaceScripted::HandleMessage ( const CMessage msg,
bool  global 
)
inlinevirtual

Reimplemented from IComponent.

Definition at line 31 of file ICmpGuiInterface.cpp.

virtual void CCmpGuiInterfaceScripted::Init ( const CParamNode paramNode)
inlinevirtual

Implements IComponent.

Definition at line 31 of file ICmpGuiInterface.cpp.

virtual CScriptVal CCmpGuiInterfaceScripted::ScriptCall ( int  player,
const std::wstring &  cmd,
CScriptVal  data 
)
inlinevirtual

Generic call function, for use by GUI scripts to talk to the GuiInterface script.

Implements ICmpGuiInterface.

Definition at line 33 of file ICmpGuiInterface.cpp.

virtual void CCmpGuiInterfaceScripted::Serialize ( ISerializer serialize)
inlinevirtual

Implements IComponent.

Definition at line 31 of file ICmpGuiInterface.cpp.

Member Data Documentation

CComponentTypeScript CCmpGuiInterfaceScripted::m_Script
private

Definition at line 31 of file ICmpGuiInterface.cpp.


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