#include <ScriptComponent.h>
|
| CComponentTypeScript (const ScriptInterface &scriptInterface, JS::HandleValue instance) |
|
JS::Value | GetInstance () const |
|
void | Init (const CParamNode ¶mNode, entity_id_t ent) |
|
void | Deinit () |
|
void | HandleMessage (const CMessage &msg, bool global) |
|
void | Serialize (ISerializer &serialize) |
|
void | Deserialize (const CParamNode ¶mNode, IDeserializer &deserialize, entity_id_t ent) |
|
template<typename R , typename... Ts> |
R | Call (const char *funcname, const Ts &... params) const |
|
template<typename R , typename... Ts> |
void | CallRef (const char *funcname, R ret, const Ts &... params) const |
|
template<typename... Ts> |
void | CallVoid (const char *funcname, const Ts &... params) const |
|
◆ CComponentTypeScript()
CComponentTypeScript::CComponentTypeScript |
( |
const ScriptInterface & |
scriptInterface, |
|
|
JS::HandleValue |
instance |
|
) |
| |
◆ Call()
template<typename R , typename... Ts>
R CComponentTypeScript::Call |
( |
const char * |
funcname, |
|
|
const Ts &... |
params |
|
) |
| const |
|
inline |
◆ CallRef()
template<typename R , typename... Ts>
void CComponentTypeScript::CallRef |
( |
const char * |
funcname, |
|
|
R |
ret, |
|
|
const Ts &... |
params |
|
) |
| const |
|
inline |
◆ CallVoid()
template<typename... Ts>
void CComponentTypeScript::CallVoid |
( |
const char * |
funcname, |
|
|
const Ts &... |
params |
|
) |
| const |
|
inline |
◆ Deinit()
void CComponentTypeScript::Deinit |
( |
| ) |
|
◆ Deserialize()
◆ GetInstance()
JS::Value CComponentTypeScript::GetInstance |
( |
| ) |
const |
|
inline |
◆ HandleMessage()
void CComponentTypeScript::HandleMessage |
( |
const CMessage & |
msg, |
|
|
bool |
global |
|
) |
| |
◆ Init()
◆ NONCOPYABLE()
◆ Serialize()
void CComponentTypeScript::Serialize |
( |
ISerializer & |
serialize | ) |
|
◆ m_Instance
JS::PersistentRootedValue CComponentTypeScript::m_Instance |
|
private |
◆ m_ScriptInterface
The documentation for this class was generated from the following files:
- /home/docker/jenkins/workspace/technical-docs/source/simulation2/scripting/ScriptComponent.h
- /home/docker/jenkins/workspace/technical-docs/source/simulation2/scripting/ScriptComponent.cpp