summaryrefslogtreecommitdiff
path: root/meta/3rd/Cocos4.0/library/ccs/ArmatureDataManager.lua
blob: be1883c6bbc15d35319250c907451680fc421180 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
---@meta

---@class ccs.ArmatureDataManager :cc.Ref
local ArmatureDataManager={ }
ccs.ArmatureDataManager=ArmatureDataManager




---* brief    remove animation data<br>
---* param     id the id of the animation data
---@param id string
---@return self
function ArmatureDataManager:removeAnimationData (id) end
---* Add armature data<br>
---* param id The id of the armature data<br>
---* param armatureData ArmatureData *
---@param id string
---@param armatureData ccs.ArmatureData
---@param configFilePath string
---@return self
function ArmatureDataManager:addArmatureData (id,armatureData,configFilePath) end
---@overload fun(string:string,string:string,string:string):self
---@overload fun(string:string):self
---@param imagePath string
---@param plistPath string
---@param configFilePath string
---@return self
function ArmatureDataManager:addArmatureFileInfo (imagePath,plistPath,configFilePath) end
---* 
---@param configFilePath string
---@return self
function ArmatureDataManager:removeArmatureFileInfo (configFilePath) end
---* 
---@return map_table
function ArmatureDataManager:getTextureDatas () end
---* brief    get texture data<br>
---* param     id the id of the texture data you want to get<br>
---* return TextureData *
---@param id string
---@return ccs.TextureData
function ArmatureDataManager:getTextureData (id) end
---* brief    get armature data<br>
---* param    id the id of the armature data you want to get<br>
---* return    ArmatureData *
---@param id string
---@return ccs.ArmatureData
function ArmatureDataManager:getArmatureData (id) end
---* brief    get animation data from _animationDatas(Dictionary)<br>
---* param     id the id of the animation data you want to get<br>
---* return AnimationData *
---@param id string
---@return ccs.AnimationData
function ArmatureDataManager:getAnimationData (id) end
---* brief    add animation data<br>
---* param     id the id of the animation data<br>
---* return AnimationData *
---@param id string
---@param animationData ccs.AnimationData
---@param configFilePath string
---@return self
function ArmatureDataManager:addAnimationData (id,animationData,configFilePath) end
---* Init ArmatureDataManager
---@return boolean
function ArmatureDataManager:init () end
---* brief    remove armature data<br>
---* param    id the id of the armature data you want to get
---@param id string
---@return self
function ArmatureDataManager:removeArmatureData (id) end
---* 
---@return map_table
function ArmatureDataManager:getArmatureDatas () end
---* brief    remove texture data<br>
---* param     id the id of the texture data you want to get
---@param id string
---@return self
function ArmatureDataManager:removeTextureData (id) end
---* brief    add texture data<br>
---* param     id the id of the texture data<br>
---* return TextureData *
---@param id string
---@param textureData ccs.TextureData
---@param configFilePath string
---@return self
function ArmatureDataManager:addTextureData (id,textureData,configFilePath) end
---* 
---@return map_table
function ArmatureDataManager:getAnimationDatas () end
---* brief    Judge whether or not need auto load sprite file
---@return boolean
function ArmatureDataManager:isAutoLoadSpriteFile () end
---* brief    Add sprite frame to CCSpriteFrameCache, it will save display name and it's relative image name
---@param plistPath string
---@param imagePath string
---@param configFilePath string
---@return self
function ArmatureDataManager:addSpriteFrameFromFile (plistPath,imagePath,configFilePath) end
---* 
---@return self
function ArmatureDataManager:destroyInstance () end
---* 
---@return self
function ArmatureDataManager:getInstance () end