LaunchBoxContributors
On this page

PlayerProfile14.1

Class in Unbroken.LaunchBox.Plugins.Capabilities.Profiles

C#
public sealed class PlayerProfile
Describes a player's public profile and the sections the provider supports.

Constructors

PlayerProfile

C#
public PlayerProfile()

A summary has not been written for this member.

Properties

  • AccountIdGets or initializes the stable service account identity, never a credential handle.
  • AdditionalDataGets or initializes provider-specific scalar observations that have no corresponding typed profile property or statistic.
  • AvatarUriGets or initializes the avatar's absolute web address.
  • DescriptionGets or initializes the player's public description or motto.
  • DisplayNameGets or initializes the player's display name.
  • JoinedAtGets or initializes the account creation time, when supplied.
  • StatisticsGets or initializes supported profile statistics. Values are provider observations, not host calculations.
  • WebUriGets or initializes the profile's public web page.

AccountId

C#
public required string AccountId { get; init; }
Gets or initializes the stable service account identity, never a credential handle.

AdditionalData

C#
public IReadOnlyDictionary<string, string> AdditionalData { get; init; }
Gets or initializes provider-specific scalar observations that have no corresponding typed profile property or statistic.

Remarks

Empty by default. Values are copied into a read-only snapshot with ordinal, case-sensitive keys. Keys use documented source-ID prefixes followed by a dot, such as retroachievements.permissions. Values retain their supplied text; absent keys mean unavailable data, while an empty string represents an observed empty value. These observations do not replace typed properties or profile statistics.

AvatarUri

C#
public Uri? AvatarUri { get; init; }
Gets or initializes the avatar's absolute web address.

Description

C#
public string? Description { get; init; }
Gets or initializes the player's public description or motto.

DisplayName

C#
public required string DisplayName { get; init; }
Gets or initializes the player's display name.

JoinedAt

C#
public DateTimeOffset? JoinedAt { get; init; }
Gets or initializes the account creation time, when supplied.

Statistics

C#
public IReadOnlyList<PlayerProfileStatistic> Statistics { get; init; }
Gets or initializes supported profile statistics. Values are provider observations, not host calculations.

Remarks

The collection is copied into a read-only snapshot.

WebUri

C#
public Uri? WebUri { get; init; }
Gets or initializes the profile's public web page.