Pyrogenesis  trunk
Public Member Functions | Static Public Member Functions | Private Attributes | List of all members
CCmpSettlementScripted Class Reference
Inheritance diagram for CCmpSettlementScripted:
Inheritance graph
[legend]
Collaboration diagram for CCmpSettlementScripted:
Collaboration graph
[legend]

Public Member Functions

 CCmpSettlementScripted (ScriptInterface &scriptInterface, JS::HandleValue 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 JS::Value GetJSInstance () const
 
virtual int GetComponentTypeId () const
 
- 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 bool NewJSObject (ScriptInterface &scriptInterface, JS::MutableHandleObject out) const
 Returns false by default, indicating that a scripted wrapper of this IComponent is not supported. More...
 

Static Public Member Functions

static void ClassInit (CComponentManager &componentManager)
 
static IComponentAllocate (ScriptInterface &scriptInterface, JS::HandleValue 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
 

Constructor & Destructor Documentation

CCmpSettlementScripted::CCmpSettlementScripted ( ScriptInterface scriptInterface,
JS::HandleValue  instance 
)
inline

Member Function Documentation

static IComponent* CCmpSettlementScripted::Allocate ( ScriptInterface scriptInterface,
JS::HandleValue  instance 
)
inlinestatic
static void CCmpSettlementScripted::ClassInit ( CComponentManager componentManager)
inlinestatic
static void CCmpSettlementScripted::Deallocate ( IComponent cmp)
inlinestatic
virtual void CCmpSettlementScripted::Deinit ( )
inlinevirtual

Implements IComponent.

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

Implements IComponent.

virtual int CCmpSettlementScripted::GetComponentTypeId ( ) const
inlinevirtual

Implements IComponent.

virtual JS::Value CCmpSettlementScripted::GetJSInstance ( ) const
inlinevirtual

Reimplemented from IComponent.

static std::string CCmpSettlementScripted::GetSchema ( )
inlinestatic
virtual void CCmpSettlementScripted::HandleMessage ( const CMessage msg,
bool  global 
)
inlinevirtual

Reimplemented from IComponent.

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

Implements IComponent.

virtual void CCmpSettlementScripted::Serialize ( ISerializer serialize)
inlinevirtual

Implements IComponent.

Member Data Documentation

CComponentTypeScript CCmpSettlementScripted::m_Script
private

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