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

Public Member Functions

 CCmpValueModificationManagerScripted (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
 
virtual fixed ApplyModifications (std::wstring valueName, fixed currentValue, entity_id_t entity)
 
virtual u32 ApplyModifications (std::wstring valueName, u32 currentValue, entity_id_t entity)
 
virtual std::wstring ApplyModifications (std::wstring valueName, std::wstring currentValue, entity_id_t entity)
 
- 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

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

Member Function Documentation

static IComponent* CCmpValueModificationManagerScripted::Allocate ( ScriptInterface scriptInterface,
JS::HandleValue  instance 
)
inlinestatic
virtual fixed CCmpValueModificationManagerScripted::ApplyModifications ( std::wstring  valueName,
fixed  currentValue,
entity_id_t  entity 
)
inlinevirtual
virtual u32 CCmpValueModificationManagerScripted::ApplyModifications ( std::wstring  valueName,
u32  currentValue,
entity_id_t  entity 
)
inlinevirtual
virtual std::wstring CCmpValueModificationManagerScripted::ApplyModifications ( std::wstring  valueName,
std::wstring  currentValue,
entity_id_t  entity 
)
inlinevirtual
static void CCmpValueModificationManagerScripted::ClassInit ( CComponentManager componentManager)
inlinestatic
static void CCmpValueModificationManagerScripted::Deallocate ( IComponent cmp)
inlinestatic
virtual void CCmpValueModificationManagerScripted::Deinit ( )
inlinevirtual

Implements IComponent.

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

Implements IComponent.

virtual int CCmpValueModificationManagerScripted::GetComponentTypeId ( ) const
inlinevirtual

Implements IComponent.

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

Reimplemented from IComponent.

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

Reimplemented from IComponent.

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

Implements IComponent.

virtual void CCmpValueModificationManagerScripted::Serialize ( ISerializer serialize)
inlinevirtual

Implements IComponent.

Member Data Documentation

CComponentTypeScript CCmpValueModificationManagerScripted::m_Script
private

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