-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathFadingBanner.lua
61 lines (47 loc) · 1.79 KB
/
FadingBanner.lua
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
---@meta
---@diagnostic disable: redundant-parameter
---@class FadingBanner : ActorFrame
---@overload fun(self: FadingBanner): self
---@field [string] fun(self: FadingBanner)
FadingBanner = {}
--- Returns the index of the last banner loaded.
---@return integer
function FadingBanner:GetLatestIndex() end
--- Loads the card image from the specified Character.
---@param pCharacter Character
function FadingBanner:LoadCardFromCharacter(pCharacter) end
--- Loads the fallback course banner.
function FadingBanner:LoadCourseFallback() end
--- Loads the fallback banner.
function FadingBanner:LoadFallback() end
--- Loads a Banner from a specified Course.
---@param c Course
function FadingBanner:LoadFromCourse(c) end
--- Loads a Banner from a specified Song.
---@param s SongObject
function FadingBanner:LoadFromSong(s) end
--- Loads a Banner from a specified Song Group.
---@param s string
function FadingBanner:LoadFromSongGroup(s) end
--- Loads a Banner from a specified SortOrder.
---@param so SortOrder
function FadingBanner:LoadFromSortOrder(so) end
--- Loads an icon from the specified Character.
---@param pCharacter Character
function FadingBanner:LoadIconFromCharacter(pCharacter) end
--- Loads the Random banner.
function FadingBanner:LoadRandom() end
--- Loads the Roulette banner.
function FadingBanner:LoadRoulette() end
--- Scale the FadingBanner to width `fWidth` and height `fHeight` clipping if
--- the dimensions do not match.
--- <br>
--- Alias of `FadingBanner.scaletoclipped()`.
---@param fWidth number
---@param fHeight number
function FadingBanner:ScaleToClipped(fWidth, fHeight) end
--- Scale the FadingBanner to width `fWidth` and height `fHeight` clipping if
--- the dimensions do not match.
---@param fWidth number
---@param fHeight number
function FadingBanner:scaletoclipped(fWidth, fHeight) end