Cocos2d-x  4.0.0
Public Member Functions | Public Attributes | List of all members
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.
 

Public Attributes

void * 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.

NA

Constructor & Destructor Documentation

BasicScriptData ( void *  inObject,
void *  inValue = nullptr 
)
inline

Constructor of BasicScriptData.

NA NA

Member Data Documentation

void* nativeObject

For Lua, nativeobject is used to get handler corresponding to the Lua function.

NA NA

void* value

A pointer point to the value data which would be converted by different events.

NA NA


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