84 lines
2.7 KiB
C#
84 lines
2.7 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 EmotionMetaDataMutable
|
|
{
|
|
[JsonProperty("emotion_id")]
|
|
public int EmotionId { get; set; }
|
|
[JsonProperty("name")]
|
|
public string Name { get; set; }
|
|
[JsonProperty("emotion_2d")]
|
|
public string Emotion2d { get; set; }
|
|
[JsonProperty("animation_3d")]
|
|
public string Animation3d { get; set; }
|
|
[JsonProperty("icon_2d")]
|
|
public string Icon2d { get; set; }
|
|
[JsonProperty("facial_animation")]
|
|
public FacialAnimationType FacialAnimation { get; set; }
|
|
[JsonProperty("particle_position")]
|
|
public ParticlePositionType ParticlePosition { get; set; }
|
|
[JsonProperty("category")]
|
|
public CategoryType Category { get; set; }
|
|
[JsonProperty("emotion_get_way")]
|
|
public string EmotionGetWay { get; set; }
|
|
}
|
|
|
|
public partial class EmotionMetaTableMutable
|
|
{
|
|
[JsonProperty("EmotionMetaDataList")]
|
|
public IList<EmotionMetaDataMutable> EmotionMetaDataList { get; set; }
|
|
}
|
|
|
|
//////////////////////////////
|
|
// readonly class
|
|
//////////////////////////////
|
|
public partial class EmotionMetaData
|
|
{
|
|
public readonly int EmotionId;
|
|
public readonly string Name;
|
|
public readonly string Emotion2d;
|
|
public readonly string Animation3d;
|
|
public readonly string Icon2d;
|
|
public readonly FacialAnimationType FacialAnimation;
|
|
public readonly ParticlePositionType ParticlePosition;
|
|
public readonly CategoryType Category;
|
|
public readonly string EmotionGetWay;
|
|
public EmotionMetaData(EmotionMetaDataMutable data)
|
|
{
|
|
EmotionId = data.EmotionId;
|
|
Name = data.Name;
|
|
Emotion2d = data.Emotion2d;
|
|
Animation3d = data.Animation3d;
|
|
Icon2d = data.Icon2d;
|
|
FacialAnimation = data.FacialAnimation;
|
|
ParticlePosition = data.ParticlePosition;
|
|
Category = data.Category;
|
|
EmotionGetWay = data.EmotionGetWay;
|
|
}
|
|
}
|
|
|
|
public partial class EmotionMetaTable
|
|
{
|
|
public readonly IReadOnlyList<EmotionMetaData> EmotionMetaDataList;
|
|
public EmotionMetaTable(EmotionMetaTableMutable data)
|
|
{
|
|
if(data.EmotionMetaDataList != null)
|
|
EmotionMetaDataList = data.EmotionMetaDataList.Select(x => new EmotionMetaData(x)).ToList().AsReadOnly();
|
|
}
|
|
}
|
|
|
|
}
|