80 lines
2.8 KiB
C#
80 lines
2.8 KiB
C#
// <auto-generated>
|
|
// generated using ContentTool. DO NOT EDIT!
|
|
// </auto-generated>
|
|
|
|
using System;
|
|
using System.IO;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Collections.ObjectModel;
|
|
using Newtonsoft.Json.Converters;
|
|
using Newtonsoft.Json;
|
|
|
|
namespace MetaAssets
|
|
{
|
|
#pragma warning disable
|
|
|
|
public partial class GameModeOptionMetaDataMutable
|
|
{
|
|
[JsonProperty("GameModeOptionId")]
|
|
public int GameModeOptionId { get; set; }
|
|
[JsonProperty("PingKickThreshold")]
|
|
public int PingKickThreshold { get; set; }
|
|
[JsonProperty("PingKickDuration")]
|
|
public int PingKickDuration { get; set; }
|
|
[JsonProperty("HostKickPingThreshold")]
|
|
public int HostKickPingThreshold { get; set; }
|
|
[JsonProperty("HostKickPingDuration")]
|
|
public int HostKickPingDuration { get; set; }
|
|
[JsonProperty("HostKickFpsThreshold")]
|
|
public int HostKickFpsThreshold { get; set; }
|
|
[JsonProperty("HostKickFpsDuration")]
|
|
public int HostKickFpsDuration { get; set; }
|
|
[JsonProperty("MigrationCooldown")]
|
|
public int MigrationCooldown { get; set; }
|
|
}
|
|
|
|
public partial class GameModeOptionMetaTableMutable
|
|
{
|
|
[JsonProperty("GameModeOptionDataList")]
|
|
public IList<GameModeOptionMetaDataMutable> GameModeOptionDataList { get; set; }
|
|
}
|
|
|
|
//////////////////////////////
|
|
// readonly class
|
|
//////////////////////////////
|
|
public partial class GameModeOptionMetaData
|
|
{
|
|
public readonly int GameModeOptionId;
|
|
public readonly int PingKickThreshold;
|
|
public readonly int PingKickDuration;
|
|
public readonly int HostKickPingThreshold;
|
|
public readonly int HostKickPingDuration;
|
|
public readonly int HostKickFpsThreshold;
|
|
public readonly int HostKickFpsDuration;
|
|
public readonly int MigrationCooldown;
|
|
public GameModeOptionMetaData(GameModeOptionMetaDataMutable data)
|
|
{
|
|
GameModeOptionId = data.GameModeOptionId;
|
|
PingKickThreshold = data.PingKickThreshold;
|
|
PingKickDuration = data.PingKickDuration;
|
|
HostKickPingThreshold = data.HostKickPingThreshold;
|
|
HostKickPingDuration = data.HostKickPingDuration;
|
|
HostKickFpsThreshold = data.HostKickFpsThreshold;
|
|
HostKickFpsDuration = data.HostKickFpsDuration;
|
|
MigrationCooldown = data.MigrationCooldown;
|
|
}
|
|
}
|
|
|
|
public partial class GameModeOptionMetaTable
|
|
{
|
|
public readonly IReadOnlyList<GameModeOptionMetaData> GameModeOptionDataList;
|
|
public GameModeOptionMetaTable(GameModeOptionMetaTableMutable data)
|
|
{
|
|
if(data.GameModeOptionDataList != null)
|
|
GameModeOptionDataList = data.GameModeOptionDataList.Select(x => new GameModeOptionMetaData(x)).ToList().AsReadOnly();
|
|
}
|
|
}
|
|
|
|
}
|