56 lines
1.5 KiB
C#
56 lines
1.5 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 GameConfigMetaDataMutable
|
|
{
|
|
[JsonProperty("Key")]
|
|
public string Key { get; set; }
|
|
[JsonProperty("Value")]
|
|
public string Value { get; set; }
|
|
}
|
|
|
|
public partial class GameConfigMetaTableMutable
|
|
{
|
|
[JsonProperty("GameConfigMetaDataList")]
|
|
public IList<GameConfigMetaDataMutable> 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<GameConfigMetaData> GameConfigMetaDataList;
|
|
public GameConfigMetaTable(GameConfigMetaTableMutable data)
|
|
{
|
|
if(data.GameConfigMetaDataList != null)
|
|
GameConfigMetaDataList = data.GameConfigMetaDataList.Select(x => new GameConfigMetaData(x)).ToList().AsReadOnly();
|
|
}
|
|
}
|
|
|
|
}
|