1using System.Collections.Generic;
4using Nuke.Common.Utilities;
12 string InstallLocation,
28 public IEnumerable<UnrealInstance> GetInstances() => InstallationList
29 .Where(i => i.ArtifactId.StartsWith(
"UE_"))
30 .Select(i =>
new UnrealInstance(i.ArtifactId.Replace(
"UE_",
""), (AbsolutePath)i.InstallLocation))
37 public static IEnumerable<UnrealInstance> FromFile(AbsolutePath datFile) => datFile.ExistingFile()
A collection of utilities around basic functions regarding the environment of the Engine we're workin...
static readonly JsonSerializerSettings JsonReadSettings
Common JsonSerializerSettings for Unreal conventions of JSON format.
record class UnrealInstance(string Name, AbsolutePath Path)
Group an Unreal association with its actual path.
record class LauncherInstalledList(List< LauncherInstalledItem > InstallationList)
Represents the whole LauncherInstalled file.
record class LauncherInstalledItem(string InstallLocation, string NamespaceId, string ItemId, string ArtifactId, string AppVersion, string AppName)
Represents an item in the LauncherInstalled file.