#include <LuaScriptHandlerMgr.h>
|
enum | HandlerType : int {
NODE = 0,
MENU_CLICKED,
CALLFUNC,
SCHEDULE,
TOUCHES,
KEYPAD,
ACCELEROMETER,
CONTROL_TOUCH_DOWN,
CONTROL_TOUCH_DRAG_INSIDE,
CONTROL_TOUCH_DRAG_OUTSIDE,
CONTROL_TOUCH_DRAG_ENTER,
CONTROL_TOUCH_DRAG_EXIT,
CONTROL_TOUCH_UP_INSIDE,
CONTROL_TOUCH_UP_OUTSIDE,
CONTROL_TOUCH_UP_CANCEL,
CONTROL_VALUE_CHANGED,
WEBSOCKET_OPEN,
WEBSOCKET_MESSAGE,
WEBSOCKET_CLOSE,
WEBSOCKET_ERROR,
GL_NODE_DRAW,
SCROLLVIEW_SCROLL,
SCROLLVIEW_ZOOM,
TABLECELL_TOUCHED,
TABLECELL_HIGHLIGHT,
TABLECELL_UNHIGHLIGHT,
TABLECELL_WILL_RECYCLE,
TABLECELL_SIZE_FOR_INDEX,
TABLECELL_AT_INDEX,
TABLEVIEW_NUMS_OF_CELLS,
XMLHTTPREQUEST_READY_STATE_CHANGE,
ASSETSMANAGER_PROGRESS,
ASSETSMANAGER_SUCCESS,
ASSETSMANAGER_ERROR,
STUDIO_EVENT_LISTENER,
ARMATURE_EVENT,
EVENT_ACC,
EVENT_CUSTIOM,
EVENT_KEYBOARD_PRESSED,
EVENT_KEYBOARD_RELEASED,
EVENT_TOUCH_BEGAN,
EVENT_TOUCH_MOVED,
EVENT_TOUCH_ENDED,
EVENT_TOUCH_CANCELLED,
EVENT_TOUCHES_BEGAN,
EVENT_TOUCHES_MOVED,
EVENT_TOUCHES_ENDED,
EVENT_TOUCHES_CANCELLED,
EVENT_MOUSE_DOWN,
EVENT_MOUSE_UP,
EVENT_MOUSE_MOVE,
EVENT_MOUSE_SCROLL,
EVENT_SPINE,
EVENT_PHYSICS_CONTACT_BEGIN,
EVENT_PHYSICS_CONTACT_PRESOLVE,
EVENT_PHYSICS_CONTACT_POSTSOLVE,
EVENT_PHYSICS_CONTACT_SEPERATE,
EVENT_FOCUS,
EVENT_CONTROLLER_CONNECTED,
EVENT_CONTROLLER_DISCONNECTED,
EVENT_CONTROLLER_KEYDOWN,
EVENT_CONTROLLER_KEYUP,
EVENT_CONTROLLER_KEYREPEAT,
EVENT_CONTROLLER_AXIS,
EVENT_SPINE_ANIMATION_START,
EVENT_SPINE_ANIMATION_END,
EVENT_SPINE_ANIMATION_COMPLETE,
EVENT_SPINE_ANIMATION_EVENT,
EVENT_CUSTOM_BEGAN = 10000,
EVENT_CUSTOM_ENDED = 11000
} |
|
typedef int | Handler |
|
typedef std::pair< HandlerType,
Handler > | HandlerPair |
|
typedef std::vector< HandlerPair > | VecHandlerPairs |
|
typedef std::map< void
*, VecHandlerPairs > | MapObjectHandlers |
|
Enumerator |
---|
NODE |
|
MENU_CLICKED |
|
CALLFUNC |
|
SCHEDULE |
|
TOUCHES |
|
KEYPAD |
|
ACCELEROMETER |
|
CONTROL_TOUCH_DOWN |
|
CONTROL_TOUCH_DRAG_INSIDE |
|
CONTROL_TOUCH_DRAG_OUTSIDE |
|
CONTROL_TOUCH_DRAG_ENTER |
|
CONTROL_TOUCH_DRAG_EXIT |
|
CONTROL_TOUCH_UP_INSIDE |
|
CONTROL_TOUCH_UP_OUTSIDE |
|
CONTROL_TOUCH_UP_CANCEL |
|
CONTROL_VALUE_CHANGED |
|
WEBSOCKET_OPEN |
|
WEBSOCKET_MESSAGE |
|
WEBSOCKET_CLOSE |
|
WEBSOCKET_ERROR |
|
GL_NODE_DRAW |
|
SCROLLVIEW_SCROLL |
|
SCROLLVIEW_ZOOM |
|
TABLECELL_TOUCHED |
|
TABLECELL_HIGHLIGHT |
|
TABLECELL_UNHIGHLIGHT |
|
TABLECELL_WILL_RECYCLE |
|
TABLECELL_SIZE_FOR_INDEX |
|
TABLECELL_AT_INDEX |
|
TABLEVIEW_NUMS_OF_CELLS |
|
XMLHTTPREQUEST_READY_STATE_CHANGE |
|
ASSETSMANAGER_PROGRESS |
|
ASSETSMANAGER_SUCCESS |
|
ASSETSMANAGER_ERROR |
|
STUDIO_EVENT_LISTENER |
|
ARMATURE_EVENT |
|
EVENT_ACC |
|
EVENT_CUSTIOM |
|
EVENT_KEYBOARD_PRESSED |
|
EVENT_KEYBOARD_RELEASED |
|
EVENT_TOUCH_BEGAN |
|
EVENT_TOUCH_MOVED |
|
EVENT_TOUCH_ENDED |
|
EVENT_TOUCH_CANCELLED |
|
EVENT_TOUCHES_BEGAN |
|
EVENT_TOUCHES_MOVED |
|
EVENT_TOUCHES_ENDED |
|
EVENT_TOUCHES_CANCELLED |
|
EVENT_MOUSE_DOWN |
|
EVENT_MOUSE_UP |
|
EVENT_MOUSE_MOVE |
|
EVENT_MOUSE_SCROLL |
|
EVENT_SPINE |
|
EVENT_PHYSICS_CONTACT_BEGIN |
|
EVENT_PHYSICS_CONTACT_PRESOLVE |
|
EVENT_PHYSICS_CONTACT_POSTSOLVE |
|
EVENT_PHYSICS_CONTACT_SEPERATE |
|
EVENT_FOCUS |
|
EVENT_CONTROLLER_CONNECTED |
|
EVENT_CONTROLLER_DISCONNECTED |
|
EVENT_CONTROLLER_KEYDOWN |
|
EVENT_CONTROLLER_KEYUP |
|
EVENT_CONTROLLER_KEYREPEAT |
|
EVENT_CONTROLLER_AXIS |
|
EVENT_SPINE_ANIMATION_START |
|
EVENT_SPINE_ANIMATION_END |
|
EVENT_SPINE_ANIMATION_COMPLETE |
|
EVENT_SPINE_ANIMATION_EVENT |
|
EVENT_CUSTOM_BEGAN |
|
EVENT_CUSTOM_ENDED |
|
static void destroyInstance |
( |
void |
| ) |
|
|
static |
void removeObjectAllHandlers |
( |
void * |
object | ) |
|
The documentation for this class was generated from the following file:
- /Users/huihoo/Software/huihoo-code/cocos2d-x/cocos2d-x-3.3/cocos/scripting/lua-bindings/manual/cocos2d/LuaScriptHandlerMgr.h