초기커밋
This commit is contained in:
111
ServerCommon/MetaAssets/MetaTable/SocialActionData.cs
Normal file
111
ServerCommon/MetaAssets/MetaTable/SocialActionData.cs
Normal file
@@ -0,0 +1,111 @@
|
||||
// <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 SocialActionMetaDataMutable
|
||||
{
|
||||
[JsonProperty("social_action_id")]
|
||||
public int SocialActionId { get; set; }
|
||||
[JsonProperty("content")]
|
||||
public string Content { get; set; }
|
||||
[JsonProperty("animation_3d")]
|
||||
public string Animation3d { get; set; }
|
||||
[JsonProperty("image_2d")]
|
||||
public string Image2d { get; set; }
|
||||
[JsonProperty("action_type")]
|
||||
public EActionType ActionType { get; set; }
|
||||
[JsonProperty("is_repeatable")]
|
||||
public bool IsRepeatable { get; set; }
|
||||
[JsonProperty("mul_action_type")]
|
||||
public string MulActionType { get; set; }
|
||||
[JsonProperty("social_action_get_way")]
|
||||
public string SocialActionGetWay { get; set; }
|
||||
[JsonProperty("is_default")]
|
||||
public bool IsDefault { get; set; }
|
||||
[JsonProperty("slot_num")]
|
||||
public int SlotNum { get; set; }
|
||||
[JsonProperty("is_ingame")]
|
||||
public bool is_ingame { get; set; }
|
||||
[JsonProperty("is_beaconcraft")]
|
||||
public bool is_beaconcraft { get; set; }
|
||||
[JsonProperty("is_ai_default")]
|
||||
public bool is_ai_default { get; set; }
|
||||
[JsonProperty("AI_name")]
|
||||
public string AI_name { get; set; }
|
||||
[JsonProperty("AI_desc")]
|
||||
public string AI_desc { get; set; }
|
||||
[JsonProperty("UGQ")]
|
||||
public bool UGQ { get; set; }
|
||||
}
|
||||
|
||||
public partial class SocialActionMetaTableMutable
|
||||
{
|
||||
[JsonProperty("SocialActionMetaDataList")]
|
||||
public IList<SocialActionMetaDataMutable> SocialActionMetaDataList { get; set; }
|
||||
}
|
||||
|
||||
//////////////////////////////
|
||||
// readonly class
|
||||
//////////////////////////////
|
||||
public partial class SocialActionMetaData
|
||||
{
|
||||
public readonly int SocialActionId;
|
||||
public readonly string Content;
|
||||
public readonly string Animation3d;
|
||||
public readonly string Image2d;
|
||||
public readonly EActionType ActionType;
|
||||
public readonly bool IsRepeatable;
|
||||
public readonly string MulActionType;
|
||||
public readonly string SocialActionGetWay;
|
||||
public readonly bool IsDefault;
|
||||
public readonly int SlotNum;
|
||||
public readonly bool is_ingame;
|
||||
public readonly bool is_beaconcraft;
|
||||
public readonly bool is_ai_default;
|
||||
public readonly string AI_name;
|
||||
public readonly string AI_desc;
|
||||
public readonly bool UGQ;
|
||||
public SocialActionMetaData(SocialActionMetaDataMutable data)
|
||||
{
|
||||
SocialActionId = data.SocialActionId;
|
||||
Content = data.Content;
|
||||
Animation3d = data.Animation3d;
|
||||
Image2d = data.Image2d;
|
||||
ActionType = data.ActionType;
|
||||
IsRepeatable = data.IsRepeatable;
|
||||
MulActionType = data.MulActionType;
|
||||
SocialActionGetWay = data.SocialActionGetWay;
|
||||
IsDefault = data.IsDefault;
|
||||
SlotNum = data.SlotNum;
|
||||
is_ingame = data.is_ingame;
|
||||
is_beaconcraft = data.is_beaconcraft;
|
||||
is_ai_default = data.is_ai_default;
|
||||
AI_name = data.AI_name;
|
||||
AI_desc = data.AI_desc;
|
||||
UGQ = data.UGQ;
|
||||
}
|
||||
}
|
||||
|
||||
public partial class SocialActionMetaTable
|
||||
{
|
||||
public readonly IReadOnlyList<SocialActionMetaData> SocialActionMetaDataList;
|
||||
public SocialActionMetaTable(SocialActionMetaTableMutable data)
|
||||
{
|
||||
if(data.SocialActionMetaDataList != null)
|
||||
SocialActionMetaDataList = data.SocialActionMetaDataList.Select(x => new SocialActionMetaData(x)).ToList().AsReadOnly();
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user