Options
All
  • Public
  • Public/Protected
  • All
Menu

Class TitleComponentStateRefMut

The state object describes the information to visualize for this component.

Hierarchy

Index

Constructors

constructor

Properties

ptr

ptr: number

Methods

attempts

  • attempts(): number

finishedRuns

  • finishedRuns(): number

iconChangeLen

  • iconChangeLen(): number

iconChangePtr

  • iconChangePtr(): number
  • The data of the game's icon. This value is only specified whenever the icon changes. If you explicitly want to query this value, remount the component. The buffer may be empty. This indicates that there is no icon. If no change occurred, null is returned instead.

    Returns number

isCentered

  • isCentered(): boolean
  • Specifies whether the title should centered or aligned to the left instead.

    Returns boolean

line1

  • line1(): string
  • The first title line to show. This is either the game's name, or a combination of the game's name and the category.

    Returns string

line2

  • line2(): string
  • By default the category name is shown on the second line. Based on the settings, it can however instead be shown in a single line together with the game name. In that case null is returned instead.

    Returns string

showsAttempts

  • showsAttempts(): boolean

showsFinishedRuns

  • showsFinishedRuns(): boolean

Generated using TypeDoc