Show raw api
{
"functions": [
{
"name": "new",
"desc": "Constructs a new FlipbookPlayer",
"params": [
{
"name": "imageLabel",
"desc": "",
"lua_type": "ImageLabel | ImageButton"
}
],
"returns": [
{
"desc": "",
"lua_type": "FlipbookPlayer"
}
],
"function_type": "static",
"source": {
"line": 54,
"path": "src/flipbook/src/Client/Player/FlipbookPlayer.lua"
}
},
{
"name": "SetFlipbook",
"desc": "Sets the current sheet and starts play if needed",
"params": [
{
"name": "flipbook",
"desc": "",
"lua_type": "Flipbook"
}
],
"returns": [],
"function_type": "method",
"source": {
"line": 108,
"path": "src/flipbook/src/Client/Player/FlipbookPlayer.lua"
}
},
{
"name": "GetFlipbook",
"desc": "Gets the current flipbook",
"params": [],
"returns": [
{
"desc": "",
"lua_type": "Flipbook?"
}
],
"function_type": "method",
"source": {
"line": 118,
"path": "src/flipbook/src/Client/Player/FlipbookPlayer.lua"
}
},
{
"name": "PromisePlayOnce",
"desc": "Plays the flipbook once",
"params": [],
"returns": [
{
"desc": "",
"lua_type": "Promise"
}
],
"function_type": "method",
"source": {
"line": 127,
"path": "src/flipbook/src/Client/Player/FlipbookPlayer.lua"
}
},
{
"name": "PromisePlayRepeat",
"desc": "Plays the flipbook the number of times specified and then stops.",
"params": [
{
"name": "times",
"desc": "",
"lua_type": "number"
}
],
"returns": [
{
"desc": "",
"lua_type": "Promise"
}
],
"function_type": "method",
"source": {
"line": 137,
"path": "src/flipbook/src/Client/Player/FlipbookPlayer.lua"
}
},
{
"name": "SetIsBoomarang",
"desc": "Sets whether play should boomarang",
"params": [
{
"name": "isBoomarang",
"desc": "",
"lua_type": "boolean"
}
],
"returns": [],
"function_type": "method",
"source": {
"line": 155,
"path": "src/flipbook/src/Client/Player/FlipbookPlayer.lua"
}
},
{
"name": "Play",
"desc": "Plays the flipbook indefinitely",
"params": [],
"returns": [],
"function_type": "method",
"source": {
"line": 164,
"path": "src/flipbook/src/Client/Player/FlipbookPlayer.lua"
}
},
{
"name": "Stop",
"desc": "Stops the flipbook",
"params": [],
"returns": [],
"function_type": "method",
"source": {
"line": 174,
"path": "src/flipbook/src/Client/Player/FlipbookPlayer.lua"
}
},
{
"name": "IsPlaying",
"desc": "Returns true if the flipbook is playing",
"params": [],
"returns": [
{
"desc": "",
"lua_type": "boolean"
}
],
"function_type": "method",
"source": {
"line": 182,
"path": "src/flipbook/src/Client/Player/FlipbookPlayer.lua"
}
},
{
"name": "ObserveIsPlaying",
"desc": "Observes if the flipbook is playing",
"params": [],
"returns": [
{
"desc": "",
"lua_type": "Observable<boolean>"
}
],
"function_type": "method",
"source": {
"line": 190,
"path": "src/flipbook/src/Client/Player/FlipbookPlayer.lua"
}
}
],
"properties": [],
"types": [],
"name": "FlipbookPlayer",
"desc": "Plays an [Flipbook] on a given imagelabel.",
"source": {
"line": 6,
"path": "src/flipbook/src/Client/Player/FlipbookPlayer.lua"
}
}