56 lines
1.6 KiB
C#
56 lines
1.6 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 EmotionPresetMetaDataMutable
|
|
{
|
|
[JsonProperty("emotion_id")]
|
|
public int EmotionId { get; set; }
|
|
[JsonProperty("equip_number")]
|
|
public int EquipNumber { get; set; }
|
|
}
|
|
|
|
public partial class EmotionPresetMetaTableMutable
|
|
{
|
|
[JsonProperty("EmotionPresetMetaDataList")]
|
|
public IList<EmotionPresetMetaDataMutable> EmotionPresetMetaDataList { get; set; }
|
|
}
|
|
|
|
//////////////////////////////
|
|
// readonly class
|
|
//////////////////////////////
|
|
public partial class EmotionPresetMetaData
|
|
{
|
|
public readonly int EmotionId;
|
|
public readonly int EquipNumber;
|
|
public EmotionPresetMetaData(EmotionPresetMetaDataMutable data)
|
|
{
|
|
EmotionId = data.EmotionId;
|
|
EquipNumber = data.EquipNumber;
|
|
}
|
|
}
|
|
|
|
public partial class EmotionPresetMetaTable
|
|
{
|
|
public readonly IReadOnlyList<EmotionPresetMetaData> EmotionPresetMetaDataList;
|
|
public EmotionPresetMetaTable(EmotionPresetMetaTableMutable data)
|
|
{
|
|
if(data.EmotionPresetMetaDataList != null)
|
|
EmotionPresetMetaDataList = data.EmotionPresetMetaDataList.Select(x => new EmotionPresetMetaData(x)).ToList().AsReadOnly();
|
|
}
|
|
}
|
|
|
|
}
|