LaunchBoxContributors
On this page

PlayerProfileStatistic14.1

Class in Unbroken.LaunchBox.Plugins.Capabilities.Profiles

C#
public sealed class PlayerProfileStatistic
Describes one numeric profile statistic independently of its display wording.

Constructors

PlayerProfileStatistic

C#
public PlayerProfileStatistic()

A summary has not been written for this member.

Properties

  • IdGets or initializes a stable statistic ID such as points, adjusted-points, rank, beaten-games, or unlocked-achievements.
  • LabelGets or initializes the localized statistic label.
  • ModeIdGets or initializes the mode this statistic describes; null means account-wide.
  • TextValueGets or initializes a service-provided textual value, such as an unranked status, when a numeric value is unavailable.
  • ValueGets or initializes the value; null means unknown rather than zero.

Id

C#
public required string Id { get; init; }
Gets or initializes a stable statistic ID such as points, adjusted-points, rank, beaten-games, or unlocked-achievements.

Label

C#
public required PluginText Label { get; init; }
Gets or initializes the localized statistic label.

ModeId

C#
public string? ModeId { get; init; }
Gets or initializes the mode this statistic describes; null means account-wide.

TextValue

C#
public string? TextValue { get; init; }
Gets or initializes a service-provided textual value, such as an unranked status, when a numeric value is unavailable.

Value

C#
public decimal? Value { get; init; }
Gets or initializes the value; null means unknown rather than zero.