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
105
106
107
108
109
110
111
112
113
|
---@class sp.SkeletonAnimation :sp.SkeletonRenderer
local SkeletonAnimation={ }
sp.SkeletonAnimation=SkeletonAnimation
---*
---@param entry spTrackEntry
---@param listener function
---@return self
function SkeletonAnimation:setTrackCompleteListener (entry,listener) end
---*
---@param name string
---@return spAnimation
function SkeletonAnimation:findAnimation (name) end
---*
---@param listener function
---@return self
function SkeletonAnimation:setCompleteListener (listener) end
---*
---@param fromAnimation string
---@param toAnimation string
---@param duration float
---@return self
function SkeletonAnimation:setMix (fromAnimation,toAnimation,duration) end
---*
---@param entry spTrackEntry
---@param listener function
---@return self
function SkeletonAnimation:setTrackStartListener (entry,listener) end
---*
---@param trackIndex int
---@param mixDuration float
---@param delay float
---@return spTrackEntry
function SkeletonAnimation:addEmptyAnimation (trackIndex,mixDuration,delay) end
---*
---@param listener function
---@return self
function SkeletonAnimation:setDisposeListener (listener) end
---*
---@param entry spTrackEntry
---@param listener function
---@return self
function SkeletonAnimation:setTrackInterruptListener (entry,listener) end
---*
---@param listener function
---@return self
function SkeletonAnimation:setEndListener (listener) end
---*
---@param entry spTrackEntry
---@param listener function
---@return self
function SkeletonAnimation:setTrackDisposeListener (entry,listener) end
---*
---@param listener function
---@return self
function SkeletonAnimation:setEventListener (listener) end
---*
---@param trackIndex int
---@param mixDuration float
---@return spTrackEntry
function SkeletonAnimation:setEmptyAnimation (trackIndex,mixDuration) end
---*
---@param entry spTrackEntry
---@param listener function
---@return self
function SkeletonAnimation:setTrackEventListener (entry,listener) end
---*
---@return self
function SkeletonAnimation:clearTrack () end
---*
---@param listener function
---@return self
function SkeletonAnimation:setInterruptListener (listener) end
---*
---@param mixDuration float
---@return self
function SkeletonAnimation:setEmptyAnimations (mixDuration) end
---*
---@return self
function SkeletonAnimation:clearTracks () end
---*
---@param entry spTrackEntry
---@param listener function
---@return self
function SkeletonAnimation:setTrackEndListener (entry,listener) end
---*
---@param listener function
---@return self
function SkeletonAnimation:setStartListener (listener) end
---@overload fun(string:string,spAtlas1:string,float:float):self
---@overload fun(string:string,spAtlas:spAtlas,float:float):self
---@param skeletonBinaryFile string
---@param atlas spAtlas
---@param scale float
---@return self
function SkeletonAnimation:createWithBinaryFile (skeletonBinaryFile,atlas,scale) end
---*
---@return self
function SkeletonAnimation:create () end
---@overload fun(string:string,spAtlas1:string,float:float):self
---@overload fun(string:string,spAtlas:spAtlas,float:float):self
---@param skeletonJsonFile string
---@param atlas spAtlas
---@param scale float
---@return self
function SkeletonAnimation:createWithJsonFile (skeletonJsonFile,atlas,scale) end
---*
---@return self
function SkeletonAnimation:initialize () end
|