|
Kemena3D
|
A live, per-object compiled script module. More...
#include <kscriptmanager.h>

Public Attributes | |
| kString | componentUuid |
| Matches the owning kScript::uuid. | |
| kString | scriptUuid |
| Script asset this was built from. | |
| kString | moduleName |
| Private AngelScript module name. | |
| asIScriptFunction * | fn [K_SCRIPT_EVENT_COUNT] = {} |
| Cached lifecycle handles. | |
| kObject * | owner = nullptr |
| Object this instance belongs to. | |
| bool | awakeCalled = false |
| Awake() has run. | |
| bool | startCalled = false |
| Start() has run. | |
| bool | valid = false |
| Module compiled/loaded successfully. | |
A live, per-object compiled script module.
Created by kScriptManager::createInstance(). Holds a private module so script globals are not shared between objects, plus cached lifecycle function handles so per-frame dispatch needs no string lookups.
| bool kemena::kScriptInstance::awakeCalled = false |
Awake() has run.
| kString kemena::kScriptInstance::componentUuid |
Matches the owning kScript::uuid.
| asIScriptFunction* kemena::kScriptInstance::fn[K_SCRIPT_EVENT_COUNT] = {} |
Cached lifecycle handles.
| kString kemena::kScriptInstance::moduleName |
Private AngelScript module name.
| kObject* kemena::kScriptInstance::owner = nullptr |
Object this instance belongs to.
| kString kemena::kScriptInstance::scriptUuid |
Script asset this was built from.
| bool kemena::kScriptInstance::startCalled = false |
Start() has run.
| bool kemena::kScriptInstance::valid = false |
Module compiled/loaded successfully.