Global Methods
Global methods obtained by initializing DSS.
Global methods are functions found under the ModReference
returned when initializing DSS. To initialize DSS, call the function returned by using include
on DSS's core file (named dssmenucore.lua
by default).
Some global methods are in PascalCase while some are in camelCase. There is no logic behind it, so make sure you're spelling everything correctly.
Some methods are only meant to be used internally by the dssmenucore.lua
file. These have been omitted as they have no use outside of this context.
void
void
void
void
void
void
void
Functions
reloadButton()
void reloadButton(SettingsButton button, Page item, Menu tbl)
Runs the load
callback of a SettingsButton
.
reloadButtons()
void reloadButtons(Directory tbl, Page? item)
If the item
argument is provided, this will run the reloadButton()
method on all SettingsButton
in item
. Otherwise, it'll run reloadButton()
on every SettingsButton
in tbl
.
openMenu()
void openMenu(Directory tbl, boolean openedFromNothing = false)
Opens tbl
. If openedFromNothing
is true, there will be no opening animation.
closeMenu()
void closeMenu(Directory tbl, boolean fullClose = false, boolean noAnimate = false)
Closes tbl
and opens the main page of tbl
. If fullClose
is true AND noAnimate
is false, any panels will not be adjusted.
back()
void back(Menu tbl)
Takes the player to the previous menu. This can also be called via the action
property of a Button
.
AddChangelog()
void AddChangelog(string..., string log)
ResetBuzzerCheck()
void ResetBuzzerCheck()
Last updated