14.1 Beta 1 SDK
GameMedia14.1 Beta
public sealed class Unbroken.LaunchBox.Plugins.GameData.GameMediaDescribes one downloadable asset. Values are declarative; LaunchBox owns acquisition, composition, destination, and duplicate policy.
Constructors
GameMedia 14.1 Beta
public GameMedia(string mediaType, string url)Properties
public uint? Crc32 { get; init; }public bool IsPreferred { get; init; }public string MediaType { get; }public string? Name { get; init; }public string? OverlayUrl { get; init; }public string? Region { get; init; }public string? SourceVideoCodec { get; init; }public int? TargetHeight { get; init; }public int? TargetWidth { get; init; }public string Url { get; }
Crc32 14.1 Beta
public uint? Crc32 { get; init; }Gets or initializes the CRC-32 of the asset content, used to skip files LaunchBox already has.
IsPreferred 14.1 Beta
public bool IsPreferred { get; init; }Gets or initializes whether the source prefers this asset among equivalents of the same media type.
MediaType 14.1 Beta
public string MediaType { get; }Gets the LaunchBox media type.
Name 14.1 Beta
public string? Name { get; init; }Gets or initializes a source-defined variant name, such as a quality tier.
OverlayUrl 14.1 Beta
public string? OverlayUrl { get; init; }Gets or initializes an overlay asset URL to compose over the primary asset.
Region 14.1 Beta
public string? Region { get; init; }Gets or initializes the region the asset applies to.
SourceVideoCodec 14.1 Beta
public string? SourceVideoCodec { get; init; }Gets or initializes the source video codec identifier.
TargetHeight 14.1 Beta
public int? TargetHeight { get; init; }Gets or initializes the positive target height for composition.
TargetWidth 14.1 Beta
public int? TargetWidth { get; init; }Gets or initializes the positive target width for composition.
Url 14.1 Beta
public string Url { get; }Gets the asset URL.