Provides a wrapper around script engine that does not have ScriptManager. More...
#include <HelperScriptEngine.h>
Public Member Functions | |
ScriptEngine * | get () |
Returns pointer to the script engine. More... | |
Provides a wrapper around script engine that does not have ScriptManager.
HelperScriptEngine is used for performing smaller tasks, like for example conversions between entity properties and JSON data. For thread safety all accesses to helper script engine need to be done either through HelperScriptEngine::run() or HelperScriptEngine::runWithResult().
|
inline |
Returns pointer to the script engine.
This function should be used only inside HelperScriptEngine::run() or HelperScriptEngine::runWithResult()