// // generated using ContentTool. DO NOT EDIT! // 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 GameConfigMetaDataMutable { [JsonProperty("Key")] public string Key { get; set; } [JsonProperty("Value")] public string Value { get; set; } } public partial class GameConfigMetaTableMutable { [JsonProperty("GameConfigMetaDataList")] public IList GameConfigMetaDataList { get; set; } } ////////////////////////////// // readonly class ////////////////////////////// public partial class GameConfigMetaData { public readonly string Key; public readonly string Value; public GameConfigMetaData(GameConfigMetaDataMutable data) { Key = data.Key; Value = data.Value; } } public partial class GameConfigMetaTable { public readonly IReadOnlyList GameConfigMetaDataList; public GameConfigMetaTable(GameConfigMetaTableMutable data) { if(data.GameConfigMetaDataList != null) GameConfigMetaDataList = data.GameConfigMetaDataList.Select(x => new GameConfigMetaData(x)).ToList().AsReadOnly(); } } }