Shop2
Index
Variables
Elements
Namespace with the individual screen function components of the shop screen
Functions
_ClickDropdown
Parameters
id: string
Returns void
_GenerateAssetElements
Returns Record<string, ShopScreenFunctions>
_SetCheckboxFilters
Returns void
_UpdatePoseButtons
Returns void
ApplyItemFilters
Parameters
clearDatalist: boolean = true
Whether the search bars datalist should be cleared (and thus be recomputed on a focus event)
Returns void
DrawPriceRibbon
Parameters
label: string
x: number
y: number
w: number
optionalcolor: string
Returns void
Init
Helper function for initializing the
Shop2screen.Parameters
background: string = null
The shops background image
screen: ScreenSpecifier = null
A 2-tuple containing the module and name of the previous screen
assets: readonly Asset[] = null
A list of all assets that should appear in the shop
Returns void
Namespace with shop-related functions.