14.1 Beta 1 SDK
StorefrontGameActivity14.1 Beta
public sealed class Unbroken.LaunchBox.Plugins.Storefronts.StorefrontGameActivity
Describes provider-observed activity for one game.
Remarks
The host owns conversion, merge, and monotonicity policy for activity values.Constructors
StorefrontGameActivity 14.1 Beta
public StorefrontGameActivity(string gameId)Initializes a new instance of the Unbroken.LaunchBox.Plugins.Storefronts.StorefrontGameActivity class.
gameId14.1 Beta- The stable provider-local game ID.
Properties
public string GameId { get; }public System.DateTimeOffset? LastPlayed { get; init; }public System.TimeSpan? PlayTime { get; init; }
GameId 14.1 Beta
public string GameId { get; }Gets the stable provider-local game ID.
LastPlayed 14.1 Beta
public System.DateTimeOffset? LastPlayed { get; init; }Gets or initializes when the provider last observed the game being played.
PlayTime 14.1 Beta
public System.TimeSpan? PlayTime { get; init; }Gets or initializes the non-negative cumulative play time.