2014-03-10 14:04:58 +08:00
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @module ArmatureDataManager
|
2014-03-26 14:03:04 +08:00
|
|
|
-- @extend Ref
|
2014-06-25 17:36:50 +08:00
|
|
|
-- @parent_module ccs
|
2014-03-18 15:55:30 +08:00
|
|
|
|
2014-03-10 14:04:58 +08:00
|
|
|
--------------------------------
|
2014-09-02 13:45:07 +08:00
|
|
|
--
|
2014-03-10 14:04:58 +08:00
|
|
|
-- @function [parent=#ArmatureDataManager] getAnimationDatas
|
|
|
|
-- @param self
|
|
|
|
-- @return map_table#map_table ret (return value: map_table)
|
|
|
|
|
|
|
|
--------------------------------
|
2014-09-02 13:45:07 +08:00
|
|
|
-- brief remove animation data<br>
|
|
|
|
-- param id the id of the animation data
|
2014-03-10 14:04:58 +08:00
|
|
|
-- @function [parent=#ArmatureDataManager] removeAnimationData
|
|
|
|
-- @param self
|
2014-09-02 13:45:07 +08:00
|
|
|
-- @param #string id
|
2015-01-21 17:33:26 +08:00
|
|
|
-- @return ArmatureDataManager#ArmatureDataManager self (return value: ccs.ArmatureDataManager)
|
2014-03-10 14:04:58 +08:00
|
|
|
|
|
|
|
--------------------------------
|
2014-09-02 13:45:07 +08:00
|
|
|
-- Add armature data<br>
|
|
|
|
-- param id The id of the armature data<br>
|
|
|
|
-- param armatureData ArmatureData *
|
2014-03-10 14:04:58 +08:00
|
|
|
-- @function [parent=#ArmatureDataManager] addArmatureData
|
|
|
|
-- @param self
|
2014-09-02 13:45:07 +08:00
|
|
|
-- @param #string id
|
|
|
|
-- @param #ccs.ArmatureData armatureData
|
|
|
|
-- @param #string configFilePath
|
2015-01-21 17:33:26 +08:00
|
|
|
-- @return ArmatureDataManager#ArmatureDataManager self (return value: ccs.ArmatureDataManager)
|
2014-03-10 14:04:58 +08:00
|
|
|
|
|
|
|
--------------------------------
|
2014-07-17 10:28:34 +08:00
|
|
|
-- @overload self, string, string, string
|
|
|
|
-- @overload self, string
|
2014-03-10 14:04:58 +08:00
|
|
|
-- @function [parent=#ArmatureDataManager] addArmatureFileInfo
|
|
|
|
-- @param self
|
2014-09-02 13:45:07 +08:00
|
|
|
-- @param #string imagePath
|
|
|
|
-- @param #string plistPath
|
|
|
|
-- @param #string configFilePath
|
2015-01-21 17:33:26 +08:00
|
|
|
-- @return ArmatureDataManager#ArmatureDataManager self (return value: ccs.ArmatureDataManager)
|
2014-03-10 14:04:58 +08:00
|
|
|
|
|
|
|
--------------------------------
|
2014-09-02 13:45:07 +08:00
|
|
|
--
|
2014-03-10 14:04:58 +08:00
|
|
|
-- @function [parent=#ArmatureDataManager] removeArmatureFileInfo
|
|
|
|
-- @param self
|
2014-09-02 13:45:07 +08:00
|
|
|
-- @param #string configFilePath
|
2015-01-21 17:33:26 +08:00
|
|
|
-- @return ArmatureDataManager#ArmatureDataManager self (return value: ccs.ArmatureDataManager)
|
2014-03-10 14:04:58 +08:00
|
|
|
|
|
|
|
--------------------------------
|
2014-09-02 13:45:07 +08:00
|
|
|
--
|
2014-03-10 14:04:58 +08:00
|
|
|
-- @function [parent=#ArmatureDataManager] getTextureDatas
|
|
|
|
-- @param self
|
|
|
|
-- @return map_table#map_table ret (return value: map_table)
|
|
|
|
|
|
|
|
--------------------------------
|
2014-09-02 13:45:07 +08:00
|
|
|
-- brief get texture data<br>
|
|
|
|
-- param id the id of the texture data you want to get<br>
|
|
|
|
-- return TextureData *
|
2014-03-10 14:04:58 +08:00
|
|
|
-- @function [parent=#ArmatureDataManager] getTextureData
|
|
|
|
-- @param self
|
2014-09-02 13:45:07 +08:00
|
|
|
-- @param #string id
|
2014-03-10 14:04:58 +08:00
|
|
|
-- @return TextureData#TextureData ret (return value: ccs.TextureData)
|
|
|
|
|
|
|
|
--------------------------------
|
2014-09-02 13:45:07 +08:00
|
|
|
-- brief get armature data<br>
|
|
|
|
-- param id the id of the armature data you want to get<br>
|
|
|
|
-- return ArmatureData *
|
2014-03-10 14:04:58 +08:00
|
|
|
-- @function [parent=#ArmatureDataManager] getArmatureData
|
|
|
|
-- @param self
|
2014-09-02 13:45:07 +08:00
|
|
|
-- @param #string id
|
2014-03-10 14:04:58 +08:00
|
|
|
-- @return ArmatureData#ArmatureData ret (return value: ccs.ArmatureData)
|
|
|
|
|
|
|
|
--------------------------------
|
2014-09-02 13:45:07 +08:00
|
|
|
-- brief get animation data from _animationDatas(Dictionary)<br>
|
|
|
|
-- param id the id of the animation data you want to get<br>
|
|
|
|
-- return AnimationData *
|
2014-03-10 14:04:58 +08:00
|
|
|
-- @function [parent=#ArmatureDataManager] getAnimationData
|
|
|
|
-- @param self
|
2014-09-02 13:45:07 +08:00
|
|
|
-- @param #string id
|
2014-03-10 14:04:58 +08:00
|
|
|
-- @return AnimationData#AnimationData ret (return value: ccs.AnimationData)
|
|
|
|
|
|
|
|
--------------------------------
|
2014-09-02 13:45:07 +08:00
|
|
|
-- brief add animation data<br>
|
|
|
|
-- param id the id of the animation data<br>
|
|
|
|
-- return AnimationData *
|
2014-03-10 14:04:58 +08:00
|
|
|
-- @function [parent=#ArmatureDataManager] addAnimationData
|
|
|
|
-- @param self
|
2014-09-02 13:45:07 +08:00
|
|
|
-- @param #string id
|
|
|
|
-- @param #ccs.AnimationData animationData
|
|
|
|
-- @param #string configFilePath
|
2015-01-21 17:33:26 +08:00
|
|
|
-- @return ArmatureDataManager#ArmatureDataManager self (return value: ccs.ArmatureDataManager)
|
2014-03-10 14:04:58 +08:00
|
|
|
|
|
|
|
--------------------------------
|
2014-09-02 13:45:07 +08:00
|
|
|
-- Init ArmatureDataManager
|
2014-03-10 14:04:58 +08:00
|
|
|
-- @function [parent=#ArmatureDataManager] init
|
|
|
|
-- @param self
|
|
|
|
-- @return bool#bool ret (return value: bool)
|
|
|
|
|
|
|
|
--------------------------------
|
2014-09-02 13:45:07 +08:00
|
|
|
-- brief remove armature data<br>
|
|
|
|
-- param id the id of the armature data you want to get
|
2014-03-10 14:04:58 +08:00
|
|
|
-- @function [parent=#ArmatureDataManager] removeArmatureData
|
|
|
|
-- @param self
|
2014-09-02 13:45:07 +08:00
|
|
|
-- @param #string id
|
2015-01-21 17:33:26 +08:00
|
|
|
-- @return ArmatureDataManager#ArmatureDataManager self (return value: ccs.ArmatureDataManager)
|
2014-03-10 14:04:58 +08:00
|
|
|
|
|
|
|
--------------------------------
|
2014-09-02 13:45:07 +08:00
|
|
|
--
|
2014-03-10 14:04:58 +08:00
|
|
|
-- @function [parent=#ArmatureDataManager] getArmatureDatas
|
|
|
|
-- @param self
|
|
|
|
-- @return map_table#map_table ret (return value: map_table)
|
|
|
|
|
|
|
|
--------------------------------
|
2014-09-02 13:45:07 +08:00
|
|
|
-- brief remove texture data<br>
|
|
|
|
-- param id the id of the texture data you want to get
|
2014-03-10 14:04:58 +08:00
|
|
|
-- @function [parent=#ArmatureDataManager] removeTextureData
|
|
|
|
-- @param self
|
2014-09-02 13:45:07 +08:00
|
|
|
-- @param #string id
|
2015-01-21 17:33:26 +08:00
|
|
|
-- @return ArmatureDataManager#ArmatureDataManager self (return value: ccs.ArmatureDataManager)
|
2014-03-10 14:04:58 +08:00
|
|
|
|
|
|
|
--------------------------------
|
2014-09-02 13:45:07 +08:00
|
|
|
-- brief add texture data<br>
|
|
|
|
-- param id the id of the texture data<br>
|
|
|
|
-- return TextureData *
|
2014-03-10 14:04:58 +08:00
|
|
|
-- @function [parent=#ArmatureDataManager] addTextureData
|
|
|
|
-- @param self
|
2014-09-02 13:45:07 +08:00
|
|
|
-- @param #string id
|
|
|
|
-- @param #ccs.TextureData textureData
|
|
|
|
-- @param #string configFilePath
|
2015-01-21 17:33:26 +08:00
|
|
|
-- @return ArmatureDataManager#ArmatureDataManager self (return value: ccs.ArmatureDataManager)
|
2014-03-10 14:04:58 +08:00
|
|
|
|
|
|
|
--------------------------------
|
2014-09-02 13:45:07 +08:00
|
|
|
-- brief Juge whether or not need auto load sprite file
|
2014-03-10 14:04:58 +08:00
|
|
|
-- @function [parent=#ArmatureDataManager] isAutoLoadSpriteFile
|
|
|
|
-- @param self
|
|
|
|
-- @return bool#bool ret (return value: bool)
|
|
|
|
|
|
|
|
--------------------------------
|
2014-09-02 13:45:07 +08:00
|
|
|
-- brief Add sprite frame to CCSpriteFrameCache, it will save display name and it's relative image name
|
2014-03-10 14:04:58 +08:00
|
|
|
-- @function [parent=#ArmatureDataManager] addSpriteFrameFromFile
|
|
|
|
-- @param self
|
2014-09-02 13:45:07 +08:00
|
|
|
-- @param #string plistPath
|
|
|
|
-- @param #string imagePath
|
|
|
|
-- @param #string configFilePath
|
2015-01-21 17:33:26 +08:00
|
|
|
-- @return ArmatureDataManager#ArmatureDataManager self (return value: ccs.ArmatureDataManager)
|
2014-03-10 14:04:58 +08:00
|
|
|
|
|
|
|
--------------------------------
|
2014-09-02 13:45:07 +08:00
|
|
|
--
|
2014-03-10 14:04:58 +08:00
|
|
|
-- @function [parent=#ArmatureDataManager] destroyInstance
|
|
|
|
-- @param self
|
2015-01-21 17:33:26 +08:00
|
|
|
-- @return ArmatureDataManager#ArmatureDataManager self (return value: ccs.ArmatureDataManager)
|
2014-03-10 14:04:58 +08:00
|
|
|
|
|
|
|
--------------------------------
|
2014-09-02 13:45:07 +08:00
|
|
|
--
|
2014-03-10 14:04:58 +08:00
|
|
|
-- @function [parent=#ArmatureDataManager] getInstance
|
|
|
|
-- @param self
|
|
|
|
-- @return ArmatureDataManager#ArmatureDataManager ret (return value: ccs.ArmatureDataManager)
|
|
|
|
|
|
|
|
return nil
|