#include <CCBMemberVariableAssigner.h>
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: