RigsofRods
Soft-body Physics Simulation
|
Represents a loaded script and all associated resources/handles. More...
#include <ScriptEngine.h>
Public Member Functions | |
ScriptUnit () | |
~ScriptUnit () | |
Data Fields | |
ScriptUnitId_t | uniqueId = SCRIPTUNITID_INVALID |
ScriptCategory | scriptCategory = ScriptCategory::INVALID |
unsigned int | eventMask = 0 |
filter mask for script events More... | |
AngelScript::asIScriptModule * | scriptModule = nullptr |
AngelScript::asIScriptFunction * | frameStepFunctionPtr = nullptr |
script function pointer to the frameStep function More... | |
AngelScript::asIScriptFunction * | eventCallbackFunctionPtr = nullptr |
script function pointer to the event callback function More... | |
AngelScript::asIScriptFunction * | eventCallbackExFunctionPtr = nullptr |
script function pointer to the event callback function More... | |
AngelScript::asIScriptFunction * | defaultEventCallbackFunctionPtr = nullptr |
script function pointer for spawner events More... | |
ActorPtr | associatedActor |
For ScriptCategory::ACTOR. More... | |
Ogre::String | scriptName |
Ogre::String | scriptHash |
Ogre::String | scriptBuffer |
Represents a loaded script and all associated resources/handles.
Definition at line 69 of file ScriptEngine.h.
ScriptUnit::ScriptUnit | ( | ) |
Definition at line 78 of file ScriptEngine.cpp.
ScriptUnit::~ScriptUnit | ( | ) |
Definition at line 83 of file ScriptEngine.cpp.
ActorPtr RoR::ScriptUnit::associatedActor |
Definition at line 82 of file ScriptEngine.h.
AngelScript::asIScriptFunction* RoR::ScriptUnit::defaultEventCallbackFunctionPtr = nullptr |
script function pointer for spawner events
Definition at line 81 of file ScriptEngine.h.
AngelScript::asIScriptFunction* RoR::ScriptUnit::eventCallbackExFunctionPtr = nullptr |
script function pointer to the event callback function
Definition at line 80 of file ScriptEngine.h.
AngelScript::asIScriptFunction* RoR::ScriptUnit::eventCallbackFunctionPtr = nullptr |
script function pointer to the event callback function
Definition at line 79 of file ScriptEngine.h.
unsigned int RoR::ScriptUnit::eventMask = 0 |
filter mask for script events
Definition at line 76 of file ScriptEngine.h.
AngelScript::asIScriptFunction* RoR::ScriptUnit::frameStepFunctionPtr = nullptr |
script function pointer to the frameStep function
Definition at line 78 of file ScriptEngine.h.
Ogre::String RoR::ScriptUnit::scriptBuffer |
Definition at line 85 of file ScriptEngine.h.
ScriptCategory RoR::ScriptUnit::scriptCategory = ScriptCategory::INVALID |
Definition at line 75 of file ScriptEngine.h.
Ogre::String RoR::ScriptUnit::scriptHash |
Definition at line 84 of file ScriptEngine.h.
AngelScript::asIScriptModule* RoR::ScriptUnit::scriptModule = nullptr |
Definition at line 77 of file ScriptEngine.h.
Ogre::String RoR::ScriptUnit::scriptName |
Definition at line 83 of file ScriptEngine.h.
ScriptUnitId_t RoR::ScriptUnit::uniqueId = SCRIPTUNITID_INVALID |
Definition at line 74 of file ScriptEngine.h.