format and manage armature configuration and armature animation More...
#include <CCArmatureDataManager.h>
Public Member Functions | |
| virtual bool | init () |
| Init ArmatureDataManager. More... | |
| var | init () |
| Init ArmatureDataManager. More... | |
| local | init () |
| Init ArmatureDataManager. More... | |
| void | addArmatureData (const char *id, ArmatureData *armatureData) |
| Add armature data. More... | |
| local | addArmatureData ( local id, local armatureData) |
| Add armature data. More... | |
| ArmatureData * | getArmatureData (const char *id) |
| get armature data More... | |
| var | getArmatureData ( var id) |
| get armature data More... | |
| local | getArmatureData ( local id) |
| get armature data More... | |
| void | removeArmatureData (const char *id) |
| remove armature data More... | |
| local | removeArmatureData ( local id) |
| remove armature data More... | |
| void | addAnimationData (const char *id, AnimationData *animationData) |
| add animation data More... | |
| local | addAnimationData ( local id, local animationData) |
| add animation data More... | |
| AnimationData * | getAnimationData (const char *id) |
| get animation data from _animationDatas(Dictionary) More... | |
| var | getAnimationData ( var id) |
| get animation data from _animationDatas(Dictionary) More... | |
| local | getAnimationData ( local id) |
| get animation data from _animationDatas(Dictionary) More... | |
| void | removeAnimationData (const char *id) |
| remove animation data More... | |
| void | addTextureData (const char *id, TextureData *textureData) |
| add texture data More... | |
| local | addTextureData ( local id, local textureData) |
| add texture data More... | |
| TextureData * | getTextureData (const char *id) |
| get texture data More... | |
| void | removeTextureData (const char *id) |
| remove texture data More... | |
| local | removeTextureData ( local id) |
| remove texture data More... | |
| void | addArmatureFileInfo (const char *configFilePath) |
| Add ArmatureFileInfo, it is managed by ArmatureDataManager. More... | |
| local | addArmatureFileInfo ( local configFilePath) |
| Add ArmatureFileInfo, it is managed by ArmatureDataManager. More... | |
| void | addArmatureFileInfoAsync (const char *configFilePath, Object *target, SEL_SCHEDULE selector) |
| Add ArmatureFileInfo, it is managed by ArmatureDataManager. More... | |
| local | addArmatureFileInfoAsync ( local configFilePath, local target, local selector) |
| Add ArmatureFileInfo, it is managed by ArmatureDataManager. More... | |
| void | addArmatureFileInfo (const char *imagePath, const char *plistPath, const char *configFilePath) |
| Add ArmatureFileInfo, it is managed by ArmatureDataManager. More... | |
| void | addArmatureFileInfoAsync (const char *imagePath, const char *plistPath, const char *configFilePath, Object *target, SEL_SCHEDULE selector) |
| Add ArmatureFileInfo, it is managed by ArmatureDataManager. More... | |
| local | addArmatureFileInfoAsync ( local imagePath, local plistPath, local configFilePath, local target, local selector) |
| Add ArmatureFileInfo, it is managed by ArmatureDataManager. More... | |
| void | addSpriteFrameFromFile (const char *plistPath, const char *imagePath) |
| Add sprite frame to CCSpriteFrameCache, it will save display name and it's relative image name. More... | |
| void | removeAll () |
| Clear the data in the _armarureDatas and _animationDatas, and set _armarureDatas and _animationDatas to NULL. More... | |
| var | removeAll () |
| Clear the data in the _armarureDatas and _animationDatas, and set _armarureDatas and _animationDatas to NULL. More... | |
| local | removeAll () |
| Clear the data in the _armarureDatas and _animationDatas, and set _armarureDatas and _animationDatas to NULL. More... | |
| bool | isAutoLoadSpriteFile () |
| Juge whether or not need auto load sprite file. More... | |
| local | isAutoLoadSpriteFile () |
| Juge whether or not need auto load sprite file. More... | |
| Dictionary * | getArmatureDatas () const |
| var | getArmatureDatas () |
| local | getArmatureDatas () |
| Dictionary * | getAnimationDatas () const |
| var | getAnimationDatas () |
| local | getAnimationDatas () |
| Dictionary * | getTextureDatas () const |
| var | getTextureDatas () |
| local | getTextureDatas () |
Public Member Functions inherited from Object | |
| Object () | |
| Constructor. More... | |
| virtual | ~Object () |
| void | release () |
| Release the ownership immediately. More... | |
| void | retain () |
| Retains the ownership. More... | |
| Object * | autorelease () |
| Release the ownership sometime soon automatically. More... | |
| bool | isSingleReference () const |
| Returns a boolean value that indicates whether there is only one reference to the object. More... | |
| unsigned int | retainCount () const |
| Returns the object's current reference count. More... | |
| virtual bool | isEqual (const Object *object) |
| Returns a boolean value that indicates whether this object and a given object are equal. More... | |
| virtual void | acceptVisitor (DataVisitor &visitor) |
| virtual void | update (float dt) |
Static Public Member Functions | |
| static CC_DEPRECATED_ATTRIBUTE ArmatureDataManager * | sharedArmatureDataManager () |
| static CC_DEPRECATED_ATTRIBUTE void | purge () |
| local | purge () |
| static ArmatureDataManager * | getInstance () |
| local | getInstance () |
| static void | destoryInstance () |
| var | destoryInstance () |
| local | destoryInstance () |
Additional Inherited Members | |
Public Attributes inherited from Object | |
| unsigned int | _ID |
| object id, ScriptSupport need public _ID More... | |
| int | _luaID |
| Lua reference id. More... | |
Protected Attributes inherited from Object | |
| unsigned int | _reference |
| count of references More... | |
| var | _reference |
| count of references More... | |
| local | _reference |
| count of references More... | |
| unsigned int | _autoReleaseCount |
| count of autorelease More... | |
| var | _autoReleaseCount |
| count of autorelease More... | |
| local | _autoReleaseCount |
| count of autorelease More... | |
format and manage armature configuration and armature animation
| void addAnimationData | ( | const char * | id, |
| AnimationData * | animationData | ||
| ) |
| var addAnimationData | ( | var | id, |
| var | animationData | ||
| ) |
| local addAnimationData | ( | local | id, |
| local | animationData | ||
| ) |
| void addArmatureData | ( | const char * | id, |
| ArmatureData * | armatureData | ||
| ) |
Add armature data.
| id | The id of the armature data |
| armatureData | ArmatureData * |
| var addArmatureData | ( | var | id, |
| var | armatureData | ||
| ) |
Add armature data.
| id | The id of the armature data |
| armatureData | ArmatureData * |
| local addArmatureData | ( | local | id, |
| local | armatureData | ||
| ) |
Add armature data.
| id | The id of the armature data |
| armatureData | ArmatureData * |
| void addArmatureFileInfo | ( | const char * | configFilePath) |
Add ArmatureFileInfo, it is managed by ArmatureDataManager.
| var addArmatureFileInfo | ( | var | configFilePath) |
Add ArmatureFileInfo, it is managed by ArmatureDataManager.
| local addArmatureFileInfo | ( | local | configFilePath) |
Add ArmatureFileInfo, it is managed by ArmatureDataManager.
| void addArmatureFileInfo | ( | const char * | imagePath, |
| const char * | plistPath, | ||
| const char * | configFilePath | ||
| ) |
Add ArmatureFileInfo, it is managed by ArmatureDataManager.
| var addArmatureFileInfo | ( | var | imagePath, |
| var | plistPath, | ||
| var | configFilePath | ||
| ) |
Add ArmatureFileInfo, it is managed by ArmatureDataManager.
| local addArmatureFileInfo | ( | local | imagePath, |
| local | plistPath, | ||
| local | configFilePath | ||
| ) |
Add ArmatureFileInfo, it is managed by ArmatureDataManager.
| void addArmatureFileInfoAsync | ( | const char * | configFilePath, |
| Object * | target, | ||
| SEL_SCHEDULE | selector | ||
| ) |
Add ArmatureFileInfo, it is managed by ArmatureDataManager.
It will load data in a new thread
| var addArmatureFileInfoAsync | ( | var | configFilePath, |
| var | target, | ||
| var | selector | ||
| ) |
Add ArmatureFileInfo, it is managed by ArmatureDataManager.
It will load data in a new thread
| local addArmatureFileInfoAsync | ( | local | configFilePath, |
| local | target, | ||
| local | selector | ||
| ) |
Add ArmatureFileInfo, it is managed by ArmatureDataManager.
It will load data in a new thread
| void addArmatureFileInfoAsync | ( | const char * | imagePath, |
| const char * | plistPath, | ||
| const char * | configFilePath, | ||
| Object * | target, | ||
| SEL_SCHEDULE | selector | ||
| ) |
Add ArmatureFileInfo, it is managed by ArmatureDataManager.
It will load data in a new thread
| var addArmatureFileInfoAsync | ( | var | imagePath, |
| var | plistPath, | ||
| var | configFilePath, | ||
| var | target, | ||
| var | selector | ||
| ) |
Add ArmatureFileInfo, it is managed by ArmatureDataManager.
It will load data in a new thread
| local addArmatureFileInfoAsync | ( | local | imagePath, |
| local | plistPath, | ||
| local | configFilePath, | ||
| local | target, | ||
| local | selector | ||
| ) |
Add ArmatureFileInfo, it is managed by ArmatureDataManager.
It will load data in a new thread
| void addSpriteFrameFromFile | ( | const char * | plistPath, |
| const char * | imagePath | ||
| ) |
Add sprite frame to CCSpriteFrameCache, it will save display name and it's relative image name.
| var addSpriteFrameFromFile | ( | var | plistPath, |
| var | imagePath | ||
| ) |
Add sprite frame to CCSpriteFrameCache, it will save display name and it's relative image name.
| local addSpriteFrameFromFile | ( | local | plistPath, |
| local | imagePath | ||
| ) |
Add sprite frame to CCSpriteFrameCache, it will save display name and it's relative image name.
| void addTextureData | ( | const char * | id, |
| TextureData * | textureData | ||
| ) |
| var addTextureData | ( | var | id, |
| var | textureData | ||
| ) |
| local addTextureData | ( | local | id, |
| local | textureData | ||
| ) |
|
static |
|
static |
|
static |
| AnimationData* getAnimationData | ( | const char * | id) |
get animation data from _animationDatas(Dictionary)
| id | the id of the animation data you want to get |
| var getAnimationData | ( | var | id) |
get animation data from _animationDatas(Dictionary)
| id | the id of the animation data you want to get |
| local getAnimationData | ( | local | id) |
get animation data from _animationDatas(Dictionary)
| id | the id of the animation data you want to get |
| Dictionary* getAnimationDatas | ( | ) | const |
| var getAnimationDatas | ( | ) |
| local getAnimationDatas | ( | ) |
| ArmatureData* getArmatureData | ( | const char * | id) |
| var getArmatureData | ( | var | id) |
| local getArmatureData | ( | local | id) |
| Dictionary* getArmatureDatas | ( | ) | const |
| var getArmatureDatas | ( | ) |
| local getArmatureDatas | ( | ) |
|
static |
|
static |
|
static |
| TextureData* getTextureData | ( | const char * | id) |
| var getTextureData | ( | var | id) |
| local getTextureData | ( | local | id) |
| Dictionary* getTextureDatas | ( | ) | const |
| var getTextureDatas | ( | ) |
| local getTextureDatas | ( | ) |
|
virtual |
Init ArmatureDataManager.
|
virtual |
Init ArmatureDataManager.
|
virtual |
Init ArmatureDataManager.
| bool isAutoLoadSpriteFile | ( | ) |
Juge whether or not need auto load sprite file.
| var isAutoLoadSpriteFile | ( | ) |
Juge whether or not need auto load sprite file.
| local isAutoLoadSpriteFile | ( | ) |
Juge whether or not need auto load sprite file.
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
| void removeAll | ( | ) |
Clear the data in the _armarureDatas and _animationDatas, and set _armarureDatas and _animationDatas to NULL.
| var removeAll | ( | ) |
Clear the data in the _armarureDatas and _animationDatas, and set _armarureDatas and _animationDatas to NULL.
| local removeAll | ( | ) |
Clear the data in the _armarureDatas and _animationDatas, and set _armarureDatas and _animationDatas to NULL.
| void removeAnimationData | ( | const char * | id) |
remove animation data
| id | the id of the animation data |
| var removeAnimationData | ( | var | id) |
remove animation data
| id | the id of the animation data |
| local removeAnimationData | ( | local | id) |
remove animation data
| id | the id of the animation data |
| void removeArmatureData | ( | const char * | id) |
remove armature data
| id | the id of the armature data you want to get |
| var removeArmatureData | ( | var | id) |
remove armature data
| id | the id of the armature data you want to get |
| local removeArmatureData | ( | local | id) |
remove armature data
| id | the id of the armature data you want to get |
| void removeTextureData | ( | const char * | id) |
remove texture data
| id | the id of the texture data you want to get |
| var removeTextureData | ( | var | id) |
remove texture data
| id | the id of the texture data you want to get |
| local removeTextureData | ( | local | id) |
remove texture data
| id | the id of the texture data you want to get |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |