mirror of
https://github.com/wabbajack-tools/wabbajack.git
synced 2024-08-30 18:42:17 +00:00
43 lines
964 B
C#
43 lines
964 B
C#
using System.Text.Json.Serialization;
|
|
using Wabbajack.DTOs.JsonConverters;
|
|
|
|
namespace Wabbajack.Networking.Steam.DTOs;
|
|
|
|
|
|
public class AppInfo
|
|
{
|
|
|
|
[JsonPropertyName("depots")]
|
|
public Dictionary<string, Depot> Depots { get; set; } = new();
|
|
|
|
}
|
|
|
|
public class Depot
|
|
{
|
|
[JsonPropertyName("name")]
|
|
public string Name { get; set; }
|
|
|
|
[JsonPropertyName("config")]
|
|
public DepotConfig Config { get; set; }
|
|
|
|
[JsonPropertyName("maxsize")]
|
|
public ulong MaxSize { get; set; }
|
|
|
|
[JsonPropertyName("depotfromapp")]
|
|
public uint DepotFromApp { get; set; }
|
|
|
|
[JsonPropertyName("sharedinstall")]
|
|
public uint SharedInstall { get; set; }
|
|
|
|
[JsonPropertyName("manifests")]
|
|
public Dictionary<string, string> Manifests { get; set; } = new();
|
|
}
|
|
|
|
public class DepotConfig
|
|
{
|
|
[JsonPropertyName("oslist")]
|
|
public string OSList { get; set; }
|
|
|
|
[JsonPropertyName("language")]
|
|
public string Language { get; set; }
|
|
} |