CScriptableBase

Class Hierarchy
C++
class CScriptableBase;
File

ScriptHelpers.h

Description

Classes that want to register functions to the script must derive from this interface.

CScriptableBase::m_nParamIdOffset Data Member
C++
int m_nParamIdOffset;
CScriptableBase::m_pMethodsTable Data Member
C++
IScriptTable * m_pMethodsTable;
CScriptableBase::m_pSS Data Member
C++
IScriptSystem * m_pSS;
CScriptableBase::m_sGlobalName Data Member
C++
char m_sGlobalName[64];
CScriptableBase::~CScriptableBase Destructor
C++
virtual ~CScriptableBase();
CScriptableBase::CScriptableBase Constructor
C++
CScriptableBase();
CScriptableBase::Done Method
C++
virtual void Done();
CScriptableBase::GetMemoryStatistics Method
C++
virtual void GetMemoryStatistics(ICrySizer * pSizer);
CScriptableBase::GetMethodsTable Method
C++
IScriptTable * GetMethodsTable();
CScriptableBase::Init Method
C++
virtual void Init(IScriptSystem * pSS, ISystem * pSystem, int nParamIdOffset = 0);
CScriptableBase::RegisterFunction Method
C++
void RegisterFunction(const char * sFuncName, IScriptTable::FunctionFunctor function);
CScriptableBase::RegisterGlobal Method (char *, float)
C++
void RegisterGlobal(const char * sName, float fValue);
CScriptableBase::RegisterGlobal Method (char *, int)
C++
void RegisterGlobal(const char * sName, int nValue);
Description

[K01]: disabled int version since it is overloaded with float and isn't compiled under GCC for enum types

CScriptableBase::RegisterTemplateFunction Method
C++
template <typename Callee, typename Func> void RegisterTemplateFunction(const char * sFuncName, const char * sFuncParams, Callee& callee, const Func & func);
CScriptableBase::SetGlobalName Method
C++
void SetGlobalName(const char * sGlobalName);
friend class CScriptBind_GameStatistics Friend
C++
friend class CScriptBind_GameStatistics;