AchievementProgressContext14.1
Class in Unbroken.LaunchBox.Plugins.Components.Achievements
public sealed record AchievementProgressContext
: IEquatable<AchievementProgressContext>Identifies account-specific progress independently of connection lifetime.
Inheritance and interfaces
Constructors
AchievementProgressContextCreates an explicit progress context.
AchievementProgressContext
public AchievementProgressContext(
string accountId,
string modeId = "default",
string? connectionId = null
)Creates an explicit progress context.
accountId- Stable source account ID; never a secret.
modeId- Stable source mode ID, or default for a source without modes.
connectionId- Optional execution-only connection handle; never a secret.
Properties
AccountIdGets the stable source account ID.ConnectionIdGets the execution-only connection handle.ModeIdGets the mode ID.
AccountId
public string AccountId { get; }Gets the stable source account ID.
ConnectionId
public string? ConnectionId { get; }Gets the execution-only connection handle.
ModeId
public string ModeId { get; }Gets the mode ID.