namespace XFEEDToolBox.Core.Session; /// Only non-secret launch options; authentication remains with the official launcher. public sealed record OfficialGameLaunchPlan(IReadOnlyList Arguments,IReadOnlyDictionary Environment) { public static OfficialGameLaunchPlan Desktop(bool steam,bool odyssey) { List arguments=[]; Dictionary environment=[]; if(steam) { arguments.Add("/Steam"); environment["SteamAppId"]="359320"; environment["SteamGameId"]="359320"; } arguments.AddRange(["/autorun","/autoquit","/novr","/select",odyssey?"odyssey":"horizons"]); return new(arguments,environment); } }