LaunchBoxContributors
On this page

IPlaylistGame7.10

Interface in Unbroken.LaunchBox.Plugins.Data

C#
public interface IPlaylistGame
Describes a playlist entry and the information used to resolve its library game.

Properties

  • GameFileNameGets or sets the stored game filename used when resolving the playlist entry.
  • GameIdGets or sets the identifier of the linked library game.
  • GamePlatformGets or sets the stored platform name used when resolving the playlist entry.
  • GameTitleGets or sets the stored game title used when resolving the playlist entry.
  • LaunchBoxDbIdGets or sets the LaunchBox Games Database identifier, or null when not linked.
  • ManualOrderGets or sets the entry's position in the playlist's manual ordering.
  • PlaylistIdGets the playlist identifier.

GameFileName

C#
string GameFileName { get; set; }
Gets or sets the stored game filename used when resolving the playlist entry.

GameId

C#
string GameId { get; set; }
Gets or sets the identifier of the linked library game.

GamePlatform

C#
string GamePlatform { get; set; }
Gets or sets the stored platform name used when resolving the playlist entry.

GameTitle

C#
string GameTitle { get; set; }
Gets or sets the stored game title used when resolving the playlist entry.

LaunchBoxDbId

C#
int? LaunchBoxDbId { get; set; }
Gets or sets the LaunchBox Games Database identifier, or null when not linked.

ManualOrder

C#
int ManualOrder { get; set; }
Gets or sets the entry's position in the playlist's manual ordering.

PlaylistId

C#
string PlaylistId { get; }
Gets the playlist identifier.

Methods

  • GetActualGameResolves this playlist entry to a library game using its stored identifiers and matching metadata.

GetActualGame

C#
IGame GetActualGame()
Resolves this playlist entry to a library game using its stored identifiers and matching metadata.

Returns

The matching game, or null when no game can be resolved.