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