

Definition at line 12 of file ScriptCmd.h.
Public Member Functions | |
| ScriptCmd (ScriptState *script, int funcRef) | |
| Obtain script function. | |
| virtual | ~ScriptCmd () |
| Remove function from registry. | |
| virtual bool | finish (int count) |
| Return true when command has finished his work. | |
|
||||||||||||
|
Obtain script function.
Definition at line 19 of file ScriptCmd.cpp. 00020 {
00021 m_script = script;
00022 m_funcRef = funcRef;
00023 }
|
|
|
Remove function from registry.
Definition at line 28 of file ScriptCmd.cpp. 00029 {
00030 m_script->unref(m_funcRef);
00031 }
|
|
|
Return true when command has finished his work.
Implements Command. Definition at line 40 of file ScriptCmd.cpp. 00041 {
00042 return m_script->callCommand(m_funcRef, count);
00043 }
|
1.4.2