|
static void | ClassInit (CComponentManager &componentManager) |
|
static IComponent * | Allocate (const ScriptInterface &scriptInterface, JS::HandleValue instance) |
|
static void | Deallocate (IComponent *cmp) |
|
static std::string | GetSchema () |
|
static std::string | GetSchema () |
|
static void | RegisterComponentType (CComponentManager &mgr, EInterfaceId iid, EComponentTypeId cid, AllocFunc alloc, DeallocFunc dealloc, const char *name, const std::string &schema) |
|
static void | RegisterComponentTypeScriptWrapper (CComponentManager &mgr, EInterfaceId iid, EComponentTypeId cid, AllocFunc alloc, DeallocFunc dealloc, const char *name, const std::string &schema) |
|
static u8 | GetSerializationVersion () |
|
◆ CCmpAIInterfaceScripted()
CCmpAIInterfaceScripted::CCmpAIInterfaceScripted |
( |
const ScriptInterface & |
scriptInterface, |
|
|
JS::HandleValue |
instance |
|
) |
| |
|
inline |
◆ Allocate()
◆ ClassInit()
static void CCmpAIInterfaceScripted::ClassInit |
( |
CComponentManager & |
componentManager | ) |
|
|
inlinestatic |
◆ Deallocate()
static void CCmpAIInterfaceScripted::Deallocate |
( |
IComponent * |
cmp | ) |
|
|
inlinestatic |
◆ Deinit()
void CCmpAIInterfaceScripted::Deinit |
( |
| ) |
|
|
inlineoverridevirtual |
◆ Deserialize()
◆ GetComponentTypeId()
int CCmpAIInterfaceScripted::GetComponentTypeId |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ GetFullRepresentation()
void CCmpAIInterfaceScripted::GetFullRepresentation |
( |
JS::MutableHandleValue |
ret, |
|
|
bool |
flushEvents = false |
|
) |
| |
|
inlineoverridevirtual |
Returns a script object that represents the current world state, to be passed to AI scripts.
No caching for initialization
Implements ICmpAIInterface.
◆ GetJSInstance()
JS::Value CCmpAIInterfaceScripted::GetJSInstance |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ GetRepresentation()
void CCmpAIInterfaceScripted::GetRepresentation |
( |
JS::MutableHandleValue |
ret | ) |
|
|
inlineoverridevirtual |
Returns a script object that represents the current world state, to be passed to AI scripts.
Implements ICmpAIInterface.
◆ GetSchema()
static std::string CCmpAIInterfaceScripted::GetSchema |
( |
| ) |
|
|
inlinestatic |
◆ HandleMessage()
void CCmpAIInterfaceScripted::HandleMessage |
( |
const CMessage & |
msg, |
|
|
bool |
global |
|
) |
| |
|
inlineoverridevirtual |
◆ Init()
void CCmpAIInterfaceScripted::Init |
( |
const CParamNode & |
paramNode | ) |
|
|
inlineoverridevirtual |
◆ Serialize()
void CCmpAIInterfaceScripted::Serialize |
( |
ISerializer & |
serialize | ) |
|
|
inlineoverridevirtual |
◆ m_Script
The documentation for this class was generated from the following file: