LaunchBoxContributors
On this page

PlayerActivityGame14.1

Class in Unbroken.LaunchBox.Plugins.Capabilities.Activity

C#
public sealed class PlayerActivityGame
Contains recent game activity with optional achievement observations.

Constructors

PlayerActivityGame

C#
public PlayerActivityGame()

A summary has not been written for this member.

Properties

  • ActivityTextGets or initializes the player's last reported activity text for this game, or null when unavailable.
  • GameIdGets or initializes the source-local game identity.
  • ImageUriGets or initializes the absolute game image address.
  • LastPlayedAtGets or initializes the most recent play time.
  • PlatformGets or initializes the platform display name.
  • PlatformIdGets or initializes the source-local platform identity, using the same meaning as GameMetadata.PlatformId. Null means unknown; this does not assign a LaunchBox library platform.
  • RecentAchievementCatalogGets or initializes definitions for recent activity in display order, or null when unavailable.
  • RecentAchievementProgressGets or initializes achievement summaries and recent progress grouped by account and mode, or null when unavailable.
  • TitleGets or initializes the game's display title.
  • WebUriGets or initializes the game's public page.

ActivityText

C#
public string? ActivityText { get; init; }
Gets or initializes the player's last reported activity text for this game, or null when unavailable.

Remarks

The text is provider-supplied display data, not an online or currently-playing indicator. The containing result's observation time records retrieval, not when this activity occurred.

GameId

C#
public required string GameId { get; init; }
Gets or initializes the source-local game identity.

ImageUri

C#
public Uri? ImageUri { get; init; }
Gets or initializes the absolute game image address.

LastPlayedAt

C#
public DateTimeOffset? LastPlayedAt { get; init; }
Gets or initializes the most recent play time.

Platform

C#
public string? Platform { get; init; }
Gets or initializes the platform display name.

PlatformId

C#
public string? PlatformId { get; init; }
Gets or initializes the source-local platform identity, using the same meaning as GameMetadata.PlatformId. Null means unknown; this does not assign a LaunchBox library platform.

RecentAchievementCatalog

C#
public AchievementCatalog? RecentAchievementCatalog { get; init; }
Gets or initializes definitions for recent activity in display order, or null when unavailable.

Remarks

The catalog identifies this game. Its IsComplete property is false for a recent subset, which does not establish the full game catalog.

RecentAchievementProgress

C#
public IReadOnlyList<AchievementProgress>? RecentAchievementProgress { get; init; }
Gets or initializes achievement summaries and recent progress grouped by account and mode, or null when unavailable.

Remarks

A supplied collection is copied into a read-only snapshot. Counts and points describe the whole game for that context, independently of the recent subset. Entries may contain summaries with no individual observations. Each entry identifies this game and the requested account and references definitions in PlayerActivityGame.RecentAchievementCatalog. A recent subset has AchievementProgress.IsSnapshotComplete set to false; omitted observations remain unknown.

Title

C#
public required string Title { get; init; }
Gets or initializes the game's display title.

WebUri

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