초기커밋
This commit is contained in:
67
ServerCommon/MetaAssets/MetaTable/TextStringData.cs
Normal file
67
ServerCommon/MetaAssets/MetaTable/TextStringData.cs
Normal file
@@ -0,0 +1,67 @@
|
||||
// <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 TextStringMetaDataMutable
|
||||
{
|
||||
[JsonProperty("Key")]
|
||||
public string Key { get; set; }
|
||||
[JsonProperty("SourceString")]
|
||||
public string SourceString { get; set; }
|
||||
[JsonProperty("Description")]
|
||||
public string Description { get; set; }
|
||||
[JsonProperty("en")]
|
||||
public string en { get; set; }
|
||||
[JsonProperty("ja")]
|
||||
public string ja { get; set; }
|
||||
}
|
||||
|
||||
public partial class TextStringMetaTableMutable
|
||||
{
|
||||
[JsonProperty("TextStringMetaDataList")]
|
||||
public IList<TextStringMetaDataMutable> TextStringMetaDataList { get; set; }
|
||||
}
|
||||
|
||||
//////////////////////////////
|
||||
// readonly class
|
||||
//////////////////////////////
|
||||
public partial class TextStringMetaData
|
||||
{
|
||||
public readonly string Key;
|
||||
public readonly string SourceString;
|
||||
public readonly string Description;
|
||||
public readonly string en;
|
||||
public readonly string ja;
|
||||
public TextStringMetaData(TextStringMetaDataMutable data)
|
||||
{
|
||||
Key = data.Key;
|
||||
SourceString = data.SourceString;
|
||||
Description = data.Description;
|
||||
en = data.en;
|
||||
ja = data.ja;
|
||||
}
|
||||
}
|
||||
|
||||
public partial class TextStringMetaTable
|
||||
{
|
||||
public readonly IReadOnlyList<TextStringMetaData> TextStringMetaDataList;
|
||||
public TextStringMetaTable(TextStringMetaTableMutable data)
|
||||
{
|
||||
if(data.TextStringMetaDataList != null)
|
||||
TextStringMetaDataList = data.TextStringMetaDataList.Select(x => new TextStringMetaData(x)).ToList().AsReadOnly();
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user