WutheringWaves/SDKServer/Models/BaseConfig/BaseConfigModel.cs
2024-02-08 00:41:39 +03:00

33 lines
939 B
C#

using System.Text.Json.Serialization;
namespace SDKServer.Models.BaseConfig;
public record BaseConfigModel
{
[JsonPropertyName("CdnUrl")]
public required CdnUrlEntry[] CdnUrl { get; set; }
[JsonPropertyName("SecondaryUrl")]
public required CdnUrlEntry[] SecondaryUrl { get; set; }
[JsonPropertyName("GmOpen")]
public bool GmOpen { get; set; }
[JsonPropertyName("PayUrl")]
public string PayUrl { get; set; } = string.Empty;
[JsonPropertyName("TDCfg")]
public TDConfig? TDCfg { get; set; }
[JsonPropertyName("LogReport")]
public LogReportConfig? LogReport { get; set; }
[JsonPropertyName("NoticUrl")]
public string NoticUrl { get; set; } = string.Empty;
[JsonPropertyName("LoginServers")]
public required LoginServerEntry[] LoginServers { get; set; }
[JsonPropertyName("PrivateServers")]
public required PrivateServersConfig PrivateServers { get; set; }
}