#include <CCBMemberVariableAssigner.h>
|
virtual | ~CCBMemberVariableAssigner () |
virtual bool | onAssignCCBMemberVariable (cocos2d::Ref *target, const char *memberVariableName, cocos2d::Node *node)=0 |
| The callback function of assigning member variable. More...
|
|
local | onAssignCCBMemberVariable ( local target, local memberVariableName, local node) |
| The callback function of assigning member variable. More...
|
|
virtual bool | onAssignCCBCustomProperty (cocos2d::Ref *target, const char *memberVariableName, const cocos2d::Value &value) |
| The callback function of assigning custom properties. More...
|
|
var | onAssignCCBCustomProperty ( var target, var memberVariableName, var value) |
| The callback function of assigning custom properties. More...
|
|
local | onAssignCCBCustomProperty ( local target, local memberVariableName, local value) |
| The callback function of assigning custom properties. More...
|
|
The callback function of assigning custom properties.
- Note
- The member variable must be Integer, Float, Boolean or String.
- Parameters
-
target | The custom class. |
memberVariableName | The name of the member variable. |
value | The value of the property. |
- Returns
- Whether the assignment was successful.
var onAssignCCBCustomProperty |
( |
var |
target, |
|
|
var |
memberVariableName, |
|
|
var |
value |
|
) |
| |
|
inlinevirtual |
The callback function of assigning custom properties.
- Note
- The member variable must be Integer, Float, Boolean or String.
- Parameters
-
target | The custom class. |
memberVariableName | The name of the member variable. |
value | The value of the property. |
- Returns
- Whether the assignment was successful.
local onAssignCCBCustomProperty |
( |
local |
target, |
|
|
local |
memberVariableName, |
|
|
local |
value |
|
) |
| |
|
inlinevirtual |
The callback function of assigning custom properties.
- Note
- The member variable must be Integer, Float, Boolean or String.
- Parameters
-
target | The custom class. |
memberVariableName | The name of the member variable. |
value | The value of the property. |
- Returns
- Whether the assignment was successful.
The callback function of assigning member variable.
- Note
- The member variable must be Node or its subclass.
- Parameters
-
target | The custom class. |
memberVariableName | The name of the member variable. |
node | The member variable. |
- Returns
- Whether the assignment was successful.
var onAssignCCBMemberVariable |
( |
var |
target, |
|
|
var |
memberVariableName, |
|
|
var |
node |
|
) |
| |
|
pure virtual |
The callback function of assigning member variable.
- Note
- The member variable must be Node or its subclass.
- Parameters
-
target | The custom class. |
memberVariableName | The name of the member variable. |
node | The member variable. |
- Returns
- Whether the assignment was successful.
local onAssignCCBMemberVariable |
( |
local |
target, |
|
|
local |
memberVariableName, |
|
|
local |
node |
|
) |
| |
|
pure virtual |
The callback function of assigning member variable.
- Note
- The member variable must be Node or its subclass.
- Parameters
-
target | The custom class. |
memberVariableName | The name of the member variable. |
node | The member variable. |
- Returns
- Whether the assignment was successful.
The documentation for this class was generated from the following file: