The ScriptEvent wrapper the different script data corresponding to the ScriptEventType in to the unified struct. More...
Public Member Functions | |
ScriptEvent (ScriptEventType inType, void *inData) | |
Constructor of ScriptEvent. | |
Public Attributes | |
ScriptEventType | type |
The specific type of ScriptEventType. | |
void * | data |
Pointer point to the different data. | |
var | data |
Pointer point to the different data. | |
local | data |
Pointer point to the different data. | |
The ScriptEvent wrapper the different script data corresponding to the ScriptEventType in to the unified struct.
when the corresponding event is triggered, we could call the sendEvent
of ScriptEngineProtocol to handle the event.