Cocos2d-x  v3.11
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Groups
BasicScriptData Struct Reference

For Lua, Wrapper the script data that should be used to find the handler corresponding to the Lua function by the nativeobject pointer and store the value pointer which would be converted concretely by the different events,then the converted data would be passed into the Lua stack. More...

Public Member Functions

 BasicScriptData (void *inObject, void *inValue=nullptr)
 Constructor of BasicScriptData.
 
 BasicScriptData ( var inObject, var nullptr)
 Constructor of BasicScriptData.
 
 BasicScriptData ( local inObject, local nullptr)
 Constructor of BasicScriptData.
 

Public Attributes

void * nativeObject
 For Lua, nativeobject is used to get handler corresponding to the Lua function.
 
var nativeObject
 For Lua, nativeobject is used to get handler corresponding to the Lua function.
 
local nativeObject
 For Lua, nativeobject is used to get handler corresponding to the Lua function.
 
void * value
 A pointer point to the value data which would be converted by different events.
 

Detailed Description

For Lua, Wrapper the script data that should be used to find the handler corresponding to the Lua function by the nativeobject pointer and store the value pointer which would be converted concretely by the different events,then the converted data would be passed into the Lua stack.


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