68 lines
1.9 KiB
C#
68 lines
1.9 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 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();
|
|
}
|
|
}
|
|
|
|
}
|