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

The ScriptEvent wrapper the different script data corresponding to the ScriptEventType in to the unified struct. More...

Public Attributes

ScriptEventType type
 The specific type of ScriptEventType.
 
local type
 The specific type of ScriptEventType.
 

Detailed Description

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.


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