◆ init()
virtual bool Sword25::ScriptEngine::init |
( |
| ) |
|
|
pure virtual |
◆ executeFile()
virtual bool Sword25::ScriptEngine::executeFile |
( |
const Common::String & |
fileName | ) |
|
|
pure virtual |
◆ executeString()
virtual bool Sword25::ScriptEngine::executeString |
( |
const Common::String & |
code | ) |
|
|
pure virtual |
◆ getScriptObject()
virtual void* Sword25::ScriptEngine::getScriptObject |
( |
| ) |
|
|
pure virtual |
Returns a pointer to the main object of the script engine Note: Using this method breaks the encapsulation of the language from the rest of the engine.
Implemented in Sword25::LuaScriptEngine.
◆ setCommandLine()
Makes the command line parameters for the script environment available Note: How the command line parameters will be used by scripts is dependant on the particular implementation.
- Parameters
-
CommandLineParameters | List containing the command line parameters |
The documentation for this class was generated from the following file: