For Lua, the KeypadScriptData is used to find the Lua function pointer by the nativeObject, then call the Lua function by push the actionType converted to string type into the Lua stack as the parameters when the Keypad event is triggered. More...
Public Member Functions | |
KeypadScriptData (EventKeyboard::KeyCode inActionType, void *inNativeObject) | |
Constructor of KeypadScriptData. | |
KeypadScriptData ( var inActionType, var inNativeObject) | |
Constructor of KeypadScriptData. | |
Public Attributes | |
EventKeyboard::KeyCode | actionType |
The specific type of EventKeyboard::KeyCode. | |
var | actionType |
The specific type of EventKeyboard::KeyCode. | |
local | actionType |
The specific type of EventKeyboard::KeyCode. | |
void * | nativeObject |
For Lua, it Used to find the Lua function pointer by the ScriptHandlerMgr. | |
For Lua, the KeypadScriptData is used to find the Lua function pointer by the nativeObject, then call the Lua function by push the actionType converted to string type into the Lua stack as the parameters when the Keypad event is triggered.