PlayerProfile14.1
Class in Unbroken.LaunchBox.Plugins.Capabilities.Profiles
public sealed class PlayerProfileDescribes a player's public profile and the sections the provider supports.
Constructors
PlayerProfile
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
public required string AccountId { get; init; }Gets or initializes the stable service account identity, never a credential handle.
AdditionalData
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
public Uri? AvatarUri { get; init; }Gets or initializes the avatar's absolute web address.
Description
public string? Description { get; init; }Gets or initializes the player's public description or motto.
DisplayName
public required string DisplayName { get; init; }Gets or initializes the player's display name.
JoinedAt
public DateTimeOffset? JoinedAt { get; init; }Gets or initializes the account creation time, when supplied.
Statistics
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
public Uri? WebUri { get; init; }Gets or initializes the profile's public web page.