|
|
| cSqScript (const tString &asName, asIScriptEngine *apScriptEngine, int alHandle) |
| |
| bool | CreateFromFile (const tString &asFileName) |
| |
| int | GetFuncHandle (const tString &asFunc) |
| |
| void | AddArg (const tString &asArg) |
| |
| bool | Run (const tString &asFuncLine) |
| |
| bool | Run (int alHandle) |
| |
|
| iScript (const tString &asName) |
| |
| bool | reload () |
| |
| void | unload () |
| |
| void | destroy () |
| |
|
virtual bool | CreateFromFile (const tString &asFile)=0 |
| |
|
virtual int | GetFuncHandle (const tString &asFunc)=0 |
| |
|
virtual void | AddArg (const tString &asArg)=0 |
| |
| virtual bool | Run (const tString &asFuncLine)=0 |
| |
|
virtual bool | Run (int alHandle)=0 |
| |
|
| iResourceBase (tString asName, unsigned long alPrio) |
| |
| virtual bool | reload ()=0 |
| |
| virtual void | unload ()=0 |
| |
| virtual void | destroy ()=0 |
| |
|
tString | GetName () |
| |
|
unsigned long | GetHandle () |
| |
|
void | SetHandle (unsigned long alHandle) |
| |
|
tString | GetFilePath () |
| |
|
unsigned long | GetTime () |
| |
|
unsigned long | GetPrio () |
| |
|
unsigned long | GetSize () |
| |
|
void | SetLogDestruction (bool abX) |
| |
|
unsigned int | GetUserCount () |
| |
|
void | IncUserCount () |
| |
|
void | DecUserCount () |
| |
|
bool | HasUsers () |
| |
|
|
static bool | GetLogCreateAndDelete () |
| |
|
static void | SetLogCreateAndDelete (bool abX) |
| |
|
unsigned int | mlPrio |
| |
|
unsigned long | mlTime |
| |
|
unsigned long | mlSize |
| |
|
unsigned int | mlUserCount |
| |
|
unsigned long | mlHandle |
| |
|
tString | msName |
| |
|
tString | msFilePath |
| |
|
bool | mbLogDestruction |
| |
|
static bool | mbLogCreateAndDelete |
| |
◆ CreateFromFile()
| bool hpl::cSqScript::CreateFromFile |
( |
const tString & |
asFileName | ) |
|
|
virtual |
◆ GetFuncHandle()
| int hpl::cSqScript::GetFuncHandle |
( |
const tString & |
asFunc | ) |
|
|
virtual |
◆ AddArg()
| void hpl::cSqScript::AddArg |
( |
const tString & |
asArg | ) |
|
|
virtual |
◆ Run() [1/2]
| bool hpl::cSqScript::Run |
( |
const tString & |
asFuncLine | ) |
|
|
virtual |
Runs a func in the script, for example "test(15)"
- Parameters
-
| asFuncLine | the line of code |
- Returns
- true if everything was ok, else false
Implements hpl::iScript.
◆ Run() [2/2]
| bool hpl::cSqScript::Run |
( |
int |
alHandle | ) |
|
|
virtual |
The documentation for this class was generated from the following file: