Skip to main content

Introduction

This UI component displays information about a specific Stat.

"Stat UI"

Fields#

NameDescription
SourceDetermine if source is a Direct Reference or in the Tool Registry
KeyKey used to find source
Treat As IntDisplay values as ints
Modifier ListList used to display modifiers for this Stat
ImageImage used to display Sprite
ColorizeApply color to image
LabelsList of labels and formats for displaying information
On ClickEvent raised when the item is clicked
On Double ClickEvent raised when the item is double-clicked

Properties#

NameDescription
statIdGets/Sets id of Stat to display information for. On set the UI is automatically updated.
statSourceGets/Sets BasicStats providing class information. On set the UI is automatically updated.
infoInformation about the item

Methods#

NameDescription
SetStatIdAndSourceUpdates both the Stat Id and source at once and refreshes UI.
UpdateBindingUpdates the bindings and refreshes the UI