LaunchBoxCONTRIBUTORS
On this page

14.1 Beta 1 SDK

This reference documents the current beta SDK. Beta APIs can change before stable.

StorefrontGameActivity14.1 Beta

C#
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

C#
public StorefrontGameActivity(string gameId)
Initializes a new instance of the Unbroken.LaunchBox.Plugins.Storefronts.StorefrontGameActivity class.
gameId 14.1 Beta
The stable provider-local game ID.

Properties

GameId 14.1 Beta

C#
public string GameId { get; }
Gets the stable provider-local game ID.

LastPlayed 14.1 Beta

C#
public System.DateTimeOffset? LastPlayed { get; init; }
Gets or initializes when the provider last observed the game being played.

PlayTime 14.1 Beta

C#
public System.TimeSpan? PlayTime { get; init; }
Gets or initializes the non-negative cumulative play time.