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
CCmpAIInterfaceScripted Class Reference
Inheritance diagram for CCmpAIInterfaceScripted:
ICmpAIInterface IComponent

Public Member Functions

 CCmpAIInterfaceScripted (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 GetRepresentation ()
 Returns a script object that represents the current world state, to be passed to AI scripts. More...
 
virtual CScriptVal GetFullRepresentation ()
 Returns a script object that represents the current world state, to be passed to AI scripts. 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 ICmpAIInterface.cpp.

Constructor & Destructor Documentation

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

Definition at line 31 of file ICmpAIInterface.cpp.

Member Function Documentation

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

Definition at line 31 of file ICmpAIInterface.cpp.

static void CCmpAIInterfaceScripted::ClassInit ( CComponentManager componentManager)
inlinestatic

Definition at line 31 of file ICmpAIInterface.cpp.

static void CCmpAIInterfaceScripted::Deallocate ( IComponent cmp)
inlinestatic

Definition at line 31 of file ICmpAIInterface.cpp.

virtual void CCmpAIInterfaceScripted::Deinit ( )
inlinevirtual

Implements IComponent.

Definition at line 31 of file ICmpAIInterface.cpp.

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

Implements IComponent.

Definition at line 31 of file ICmpAIInterface.cpp.

virtual CScriptVal CCmpAIInterfaceScripted::GetFullRepresentation ( )
inlinevirtual

Returns a script object that represents the current world state, to be passed to AI scripts.

No caching for initialization

Implements ICmpAIInterface.

Definition at line 37 of file ICmpAIInterface.cpp.

virtual jsval CCmpAIInterfaceScripted::GetJSInstance ( ) const
inlinevirtual

Reimplemented from IComponent.

Definition at line 31 of file ICmpAIInterface.cpp.

virtual CScriptVal CCmpAIInterfaceScripted::GetRepresentation ( )
inlinevirtual

Returns a script object that represents the current world state, to be passed to AI scripts.

Implements ICmpAIInterface.

Definition at line 33 of file ICmpAIInterface.cpp.

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

Definition at line 31 of file ICmpAIInterface.cpp.

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

Reimplemented from IComponent.

Definition at line 31 of file ICmpAIInterface.cpp.

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

Implements IComponent.

Definition at line 31 of file ICmpAIInterface.cpp.

virtual void CCmpAIInterfaceScripted::Serialize ( ISerializer serialize)
inlinevirtual

Implements IComponent.

Definition at line 31 of file ICmpAIInterface.cpp.

Member Data Documentation

CComponentTypeScript CCmpAIInterfaceScripted::m_Script
private

Definition at line 31 of file ICmpAIInterface.cpp.


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