Optional colorOptional darkThe CSS variable to use for the background of the stat bar Defaults to black
Optional displayFor the order this stat displays in. Smaller numbers appear higher in the list.
Not providing displayPriority uses 100.
Optional displayDefaults to StatDisplayType.Auto
Optional imageThe number of alternate textures that this image has. Not supported for most things.
Optional imageA replacement image to use. Used in modding.
Optional modDo not provide or modify this value, only reference it. This is set by the modding system during the process of registration.
Optional onHandlers for when the stat changes. Called when the stat changes & when the stat max changes.
Optional rgbThe CSS variable to use for the stat bar color in RGB format Defaults to white
Optional subscribeOptional tooltipA function that will initialize a tooltip for this stat element, or a reference to show a tooltip for
Optional getGenerated using TypeDoc
The CSS variable to use for the stat bar color Defaults to white