AppEasy Core SDK
1.5.0
Cross platform mobile and desktop app and game development SDK - The easy way to make apps
|
Abstract base class that all script engines derive from. More...
#include <CzScript.h>
Public Member Functions | |
CzScene * | getScene () |
IzScriptEngine () | |
virtual | ~IzScriptEngine () |
virtual int | Init (CzScene *scene)=0 |
virtual void | Release ()=0 |
virtual int | LoadScript (const char *script, int script_len, const char *name)=0 |
virtual int | CallFunction (IzXomlResource *object, CzString *function_name, CzString *param1, CzString *param2, CzString *param3)=0 |
virtual CzXomlProperty | getVariable (CzString *var_name)=0 |
virtual int | CallFunctionRef (int function_ref, CzString *param1, CzString *param2, CzString *param3, CzString *param4)=0 |
virtual int | CallFunctionRefWithObject (void *object, int function_ref, CzString *param1, CzString *param2, CzString *param3, CzString *param4)=0 |
virtual CzString | getType ()=0 |
Protected Attributes | |
CzScene * | Scene |
Scene that contains this script engine. |
Abstract base class that all script engines derive from.
IzScriptEngine::IzScriptEngine | ( | ) | [inline] |
virtual IzScriptEngine::~IzScriptEngine | ( | ) | [inline, virtual] |
virtual int IzScriptEngine::CallFunction | ( | IzXomlResource * | object, |
CzString * | function_name, | ||
CzString * | param1, | ||
CzString * | param2, | ||
CzString * | param3 | ||
) | [pure virtual] |
Implemented in CzScriptEngineLua.
virtual int IzScriptEngine::CallFunctionRef | ( | int | function_ref, |
CzString * | param1, | ||
CzString * | param2, | ||
CzString * | param3, | ||
CzString * | param4 | ||
) | [pure virtual] |
Implemented in CzScriptEngineLua.
virtual int IzScriptEngine::CallFunctionRefWithObject | ( | void * | object, |
int | function_ref, | ||
CzString * | param1, | ||
CzString * | param2, | ||
CzString * | param3, | ||
CzString * | param4 | ||
) | [pure virtual] |
Implemented in CzScriptEngineLua.
CzScene* IzScriptEngine::getScene | ( | ) | [inline] |
virtual CzString IzScriptEngine::getType | ( | ) | [pure virtual] |
Implemented in CzScriptEngineLua.
virtual CzXomlProperty IzScriptEngine::getVariable | ( | CzString * | var_name | ) | [pure virtual] |
Implemented in CzScriptEngineLua.
virtual int IzScriptEngine::Init | ( | CzScene * | scene | ) | [pure virtual] |
Implemented in CzScriptEngineLua.
virtual int IzScriptEngine::LoadScript | ( | const char * | script, |
int | script_len, | ||
const char * | name | ||
) | [pure virtual] |
Implemented in CzScriptEngineLua.
virtual void IzScriptEngine::Release | ( | ) | [pure virtual] |
Implemented in CzScriptEngineLua.
CzScene* IzScriptEngine::Scene [protected] |
Scene that contains this script engine.