summaryrefslogtreecommitdiff
path: root/meta/3rd/Cocos4.0/library/ccs.ActionTimelineCache.lua
blob: 36d0afba80dec01ffc4bd7167c4cba32ade1cce8 (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
---@meta

---@class ccs.ActionTimelineCache 
local ActionTimelineCache={ }
ccs.ActionTimelineCache=ActionTimelineCache




---*  Clone a action with the specified name from the container. 
---@param fileName string
---@return ccs.ActionTimeline
function ActionTimelineCache:createActionFromJson (fileName) end
---* 
---@param fileName string
---@return ccs.ActionTimeline
function ActionTimelineCache:createActionWithFlatBuffersFile (fileName) end
---* 
---@param fileName string
---@return ccs.ActionTimeline
function ActionTimelineCache:loadAnimationActionWithFlatBuffersFile (fileName) end
---* 
---@param fileName string
---@param content string
---@return ccs.ActionTimeline
function ActionTimelineCache:createActionFromContent (fileName,content) end
---* 
---@return self
function ActionTimelineCache:purge () end
---* 
---@return self
function ActionTimelineCache:init () end
---* 
---@param fileName string
---@param content string
---@return ccs.ActionTimeline
function ActionTimelineCache:loadAnimationActionWithContent (fileName,content) end
---* 
---@param fileName string
---@return ccs.ActionTimeline
function ActionTimelineCache:loadAnimationActionWithFile (fileName) end
---*  Remove action with filename, and also remove other resource relate with this file 
---@param fileName string
---@return self
function ActionTimelineCache:removeAction (fileName) end
---* 
---@param fileName string
---@return ccs.ActionTimeline
function ActionTimelineCache:createActionWithFlatBuffersForSimulator (fileName) end
---*  Destroys the singleton 
---@return self
function ActionTimelineCache:destroyInstance () end
---* 
---@param fileName string
---@return ccs.ActionTimeline
function ActionTimelineCache:createAction (fileName) end