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