초기커밋
This commit is contained in:
55
ServerCommon/MetaAssets/MetaTable/GameConfigData.cs
Normal file
55
ServerCommon/MetaAssets/MetaTable/GameConfigData.cs
Normal file
@@ -0,0 +1,55 @@
|
||||
// <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();
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user