초기커밋
This commit is contained in:
55
ServerCommon/MetaAssets/MetaTable/SocialActionPresetData.cs
Normal file
55
ServerCommon/MetaAssets/MetaTable/SocialActionPresetData.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 SocialActionPresetMetaDataMutable
|
||||
{
|
||||
[JsonProperty("social_action_id")]
|
||||
public int SocialActionId { get; set; }
|
||||
[JsonProperty("equip_number")]
|
||||
public int EquipNumber { get; set; }
|
||||
}
|
||||
|
||||
public partial class SocialActionPresetMetaTableMutable
|
||||
{
|
||||
[JsonProperty("SocialActionPresetMetaDataList")]
|
||||
public IList<SocialActionPresetMetaDataMutable> SocialActionPresetMetaDataList { get; set; }
|
||||
}
|
||||
|
||||
//////////////////////////////
|
||||
// readonly class
|
||||
//////////////////////////////
|
||||
public partial class SocialActionPresetMetaData
|
||||
{
|
||||
public readonly int SocialActionId;
|
||||
public readonly int EquipNumber;
|
||||
public SocialActionPresetMetaData(SocialActionPresetMetaDataMutable data)
|
||||
{
|
||||
SocialActionId = data.SocialActionId;
|
||||
EquipNumber = data.EquipNumber;
|
||||
}
|
||||
}
|
||||
|
||||
public partial class SocialActionPresetMetaTable
|
||||
{
|
||||
public readonly IReadOnlyList<SocialActionPresetMetaData> SocialActionPresetMetaDataList;
|
||||
public SocialActionPresetMetaTable(SocialActionPresetMetaTableMutable data)
|
||||
{
|
||||
if(data.SocialActionPresetMetaDataList != null)
|
||||
SocialActionPresetMetaDataList = data.SocialActionPresetMetaDataList.Select(x => new SocialActionPresetMetaData(x)).ToList().AsReadOnly();
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user