![]() |
AppEasy Core SDK
1.5.0
Cross platform mobile and desktop app and game development SDK - The easy way to make apps
|
A script. More...
#include <CzScript.h>
Public Types | |
| enum | eScriptType { ST_None, ST_LUA, ST_AngelScript, ST_Javascript, ST_Python } |
Public Member Functions | |
| void | setScriptType (eScriptType type) |
| eScriptType | getScriptType () const |
| bool | setScript (const char *script, int script_len) |
| const char * | getScript () const |
| int | getScriptLength () const |
| CzScript () | |
| virtual | ~CzScript () |
| int | Init (const char *script, int script_len, CzScene *scene=NULL) |
| int | LoadFromXoml (IzXomlResource *parent, bool load_children, CzXmlNode *node) |
Protected Attributes | |
| eScriptType | ScriptType |
| Script type. | |
| char * | Script |
| The actual script. | |
| int | ScriptLength |
| Length of script in bytes. | |
A script.
| CzScript::CzScript | ( | ) | [inline] |
| virtual CzScript::~CzScript | ( | ) | [inline, virtual] |
| const char* CzScript::getScript | ( | ) | const [inline] |
| int CzScript::getScriptLength | ( | ) | const [inline] |
| eScriptType CzScript::getScriptType | ( | ) | const [inline] |
| int CzScript::Init | ( | const char * | script, |
| int | script_len, | ||
| CzScene * | scene = NULL |
||
| ) |
| int CzScript::LoadFromXoml | ( | IzXomlResource * | parent, |
| bool | load_children, | ||
| CzXmlNode * | node | ||
| ) | [virtual] |
Implements IzXomlResource.
| bool CzScript::setScript | ( | const char * | script, |
| int | script_len | ||
| ) |
| void CzScript::setScriptType | ( | eScriptType | type | ) | [inline] |
char* CzScript::Script [protected] |
The actual script.
int CzScript::ScriptLength [protected] |
Length of script in bytes.
eScriptType CzScript::ScriptType [protected] |
Script type.