Cocos2d-x  v3.17
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Groups Pages
KeypadScriptData Struct Reference

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 Attributes

EventKeyboard::KeyCode actionType
 The specific type of EventKeyboard::KeyCode. More...
 
var actionType
 The specific type of EventKeyboard::KeyCode. More...
 
local actionType
 The specific type of EventKeyboard::KeyCode. More...
 

Detailed Description

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.

Member Data Documentation

The specific type of EventKeyboard::KeyCode.

var actionType

The specific type of EventKeyboard::KeyCode.

local actionType

The specific type of EventKeyboard::KeyCode.


The documentation for this struct was generated from the following file: