초기커밋
This commit is contained in:
243
ServerCommon/MetaAssets/MetaTable/BuffData.cs
Normal file
243
ServerCommon/MetaAssets/MetaTable/BuffData.cs
Normal file
@@ -0,0 +1,243 @@
|
||||
// <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 TraitsDataMutable
|
||||
{
|
||||
[JsonProperty("Attribute")]
|
||||
public string Attribute { get; set; }
|
||||
[JsonProperty("Value")]
|
||||
public int Value { get; set; }
|
||||
[JsonProperty("Operation")]
|
||||
public ECVArithmeticOperation Operation { get; set; }
|
||||
}
|
||||
|
||||
public partial class BuffMetaDataMutable
|
||||
{
|
||||
[JsonProperty("buff_id")]
|
||||
public int BuffId { get; set; }
|
||||
[JsonProperty("buff_name")]
|
||||
public string BuffName { get; set; }
|
||||
[JsonProperty("buff_description")]
|
||||
public string BuffDescription { get; set; }
|
||||
[JsonProperty("buff_category")]
|
||||
public EBuffCategory BuffCategory { get; set; }
|
||||
[JsonProperty("buff_channel")]
|
||||
public int BuffChannel { get; set; }
|
||||
[JsonProperty("buff_priority")]
|
||||
public int BuffPriority { get; set; }
|
||||
[JsonProperty("action_buff_id")]
|
||||
public int ActionBuffId { get; set; }
|
||||
[JsonProperty("Traits")]
|
||||
public IList<TraitsDataMutable> Traits { get; set; }
|
||||
[JsonProperty("propmesh_name")]
|
||||
public string propmesh_name_ { get; set; }
|
||||
[JsonProperty("propmesh_name_opacity")]
|
||||
public string propmesh_name_opacity_ { get; set; }
|
||||
[JsonProperty("use_required")]
|
||||
public double use_required_ { get; set; }
|
||||
[JsonProperty("InactiveRange")]
|
||||
public double InactiveRange_ { get; set; }
|
||||
[JsonProperty("GuideHeight")]
|
||||
public double GuideHeight_ { get; set; }
|
||||
[JsonProperty("GuideOffset")]
|
||||
public double GuideOffset_ { get; set; }
|
||||
[JsonProperty("GuideScale")]
|
||||
public double GuideScale_ { get; set; }
|
||||
[JsonProperty("prop_effect")]
|
||||
public string prop_effect_ { get; set; }
|
||||
[JsonProperty("buff_start_condition")]
|
||||
public string BuffStartCondition { get; set; }
|
||||
[JsonProperty("buff_start_condition_value")]
|
||||
public int BuffStartConditionValue { get; set; }
|
||||
[JsonProperty("buff_end_condition")]
|
||||
public EBuffEndCondition BuffEndCondition { get; set; }
|
||||
[JsonProperty("buff_end_condition_value")]
|
||||
public int BuffEndConditionValue { get; set; }
|
||||
[JsonProperty("duration_time")]
|
||||
public int DurationTime { get; set; }
|
||||
[JsonProperty("buff_end_execution_type")]
|
||||
public EBuffEndExecution BuffEndExecutionType { get; set; }
|
||||
[JsonProperty("buff_end_execution_value")]
|
||||
public int BuffEndExecutionValue { get; set; }
|
||||
[JsonProperty("attach_effect_bp")]
|
||||
public string attach_effect_bp_ { get; set; }
|
||||
[JsonProperty("attach_avatar_socket")]
|
||||
public string attach_avatar_socket_ { get; set; }
|
||||
[JsonProperty("tool_id")]
|
||||
public int tool_id_ { get; set; }
|
||||
[JsonProperty("buff_action_name")]
|
||||
public string buff_action_name_ { get; set; }
|
||||
[JsonProperty("buff_motion_set")]
|
||||
public BuffMotionSetType buff_motion_set_ { get; set; }
|
||||
[JsonProperty("buff_hand_type")]
|
||||
public BuffHandType buff_hand_type_ { get; set; }
|
||||
[JsonProperty("buff_activate_name")]
|
||||
public string buff_activate_name_ { get; set; }
|
||||
[JsonProperty("buff_deactivate_name")]
|
||||
public string buff_deactivate_name_ { get; set; }
|
||||
[JsonProperty("buff_swap_name")]
|
||||
public string buff_swap_name_ { get; set; }
|
||||
[JsonProperty("buff_icon_2D")]
|
||||
public string buff_icon_2D_ { get; set; }
|
||||
[JsonProperty("buff_action_cooltime")]
|
||||
public double buff_action_cooltime_ { get; set; }
|
||||
[JsonProperty("using_aim_offset")]
|
||||
public string using_aim_offset_ { get; set; }
|
||||
[JsonProperty("user_detachable")]
|
||||
public bool user_detachable_ { get; set; }
|
||||
[JsonProperty("is_normal_remain")]
|
||||
public bool IsNormalRemain { get; set; }
|
||||
[JsonProperty("is_concert_remain")]
|
||||
public bool IsConcertRemain { get; set; }
|
||||
[JsonProperty("is_movie_remain")]
|
||||
public bool IsMovieRemain { get; set; }
|
||||
[JsonProperty("is_meeting_remain")]
|
||||
public bool IsMeetingRemain { get; set; }
|
||||
[JsonProperty("is_myhome_remain")]
|
||||
public bool IsMyhomeRemain { get; set; }
|
||||
[JsonProperty("is_beacon_remain")]
|
||||
public bool is_beacon_remain { get; set; }
|
||||
[JsonProperty("is_dressroom_remain")]
|
||||
public bool is_dressroom_remain { get; set; }
|
||||
}
|
||||
|
||||
public partial class BuffMetaTableMutable
|
||||
{
|
||||
[JsonProperty("BuffMetaDataList")]
|
||||
public IList<BuffMetaDataMutable> BuffMetaDataList { get; set; }
|
||||
}
|
||||
|
||||
//////////////////////////////
|
||||
// readonly class
|
||||
//////////////////////////////
|
||||
public partial class TraitsData
|
||||
{
|
||||
public readonly string Attribute;
|
||||
public readonly int Value;
|
||||
public readonly ECVArithmeticOperation Operation;
|
||||
public TraitsData(TraitsDataMutable data)
|
||||
{
|
||||
Attribute = data.Attribute;
|
||||
Value = data.Value;
|
||||
Operation = data.Operation;
|
||||
}
|
||||
}
|
||||
|
||||
public partial class BuffMetaData
|
||||
{
|
||||
public readonly int BuffId;
|
||||
public readonly string BuffName;
|
||||
public readonly string BuffDescription;
|
||||
public readonly EBuffCategory BuffCategory;
|
||||
public readonly int BuffChannel;
|
||||
public readonly int BuffPriority;
|
||||
public readonly int ActionBuffId;
|
||||
public readonly IReadOnlyList<TraitsData> Traits;
|
||||
public readonly string propmesh_name_;
|
||||
public readonly string propmesh_name_opacity_;
|
||||
public readonly double use_required_;
|
||||
public readonly double InactiveRange_;
|
||||
public readonly double GuideHeight_;
|
||||
public readonly double GuideOffset_;
|
||||
public readonly double GuideScale_;
|
||||
public readonly string prop_effect_;
|
||||
public readonly string BuffStartCondition;
|
||||
public readonly int BuffStartConditionValue;
|
||||
public readonly EBuffEndCondition BuffEndCondition;
|
||||
public readonly int BuffEndConditionValue;
|
||||
public readonly int DurationTime;
|
||||
public readonly EBuffEndExecution BuffEndExecutionType;
|
||||
public readonly int BuffEndExecutionValue;
|
||||
public readonly string attach_effect_bp_;
|
||||
public readonly string attach_avatar_socket_;
|
||||
public readonly int tool_id_;
|
||||
public readonly string buff_action_name_;
|
||||
public readonly BuffMotionSetType buff_motion_set_;
|
||||
public readonly BuffHandType buff_hand_type_;
|
||||
public readonly string buff_activate_name_;
|
||||
public readonly string buff_deactivate_name_;
|
||||
public readonly string buff_swap_name_;
|
||||
public readonly string buff_icon_2D_;
|
||||
public readonly double buff_action_cooltime_;
|
||||
public readonly string using_aim_offset_;
|
||||
public readonly bool user_detachable_;
|
||||
public readonly bool IsNormalRemain;
|
||||
public readonly bool IsConcertRemain;
|
||||
public readonly bool IsMovieRemain;
|
||||
public readonly bool IsMeetingRemain;
|
||||
public readonly bool IsMyhomeRemain;
|
||||
public readonly bool is_beacon_remain;
|
||||
public readonly bool is_dressroom_remain;
|
||||
public BuffMetaData(BuffMetaDataMutable data)
|
||||
{
|
||||
BuffId = data.BuffId;
|
||||
BuffName = data.BuffName;
|
||||
BuffDescription = data.BuffDescription;
|
||||
BuffCategory = data.BuffCategory;
|
||||
BuffChannel = data.BuffChannel;
|
||||
BuffPriority = data.BuffPriority;
|
||||
ActionBuffId = data.ActionBuffId;
|
||||
if(data.Traits != null)
|
||||
Traits = data.Traits.Select(x => new TraitsData(x)).ToList().AsReadOnly();
|
||||
propmesh_name_ = data.propmesh_name_;
|
||||
propmesh_name_opacity_ = data.propmesh_name_opacity_;
|
||||
use_required_ = data.use_required_;
|
||||
InactiveRange_ = data.InactiveRange_;
|
||||
GuideHeight_ = data.GuideHeight_;
|
||||
GuideOffset_ = data.GuideOffset_;
|
||||
GuideScale_ = data.GuideScale_;
|
||||
prop_effect_ = data.prop_effect_;
|
||||
BuffStartCondition = data.BuffStartCondition;
|
||||
BuffStartConditionValue = data.BuffStartConditionValue;
|
||||
BuffEndCondition = data.BuffEndCondition;
|
||||
BuffEndConditionValue = data.BuffEndConditionValue;
|
||||
DurationTime = data.DurationTime;
|
||||
BuffEndExecutionType = data.BuffEndExecutionType;
|
||||
BuffEndExecutionValue = data.BuffEndExecutionValue;
|
||||
attach_effect_bp_ = data.attach_effect_bp_;
|
||||
attach_avatar_socket_ = data.attach_avatar_socket_;
|
||||
tool_id_ = data.tool_id_;
|
||||
buff_action_name_ = data.buff_action_name_;
|
||||
buff_motion_set_ = data.buff_motion_set_;
|
||||
buff_hand_type_ = data.buff_hand_type_;
|
||||
buff_activate_name_ = data.buff_activate_name_;
|
||||
buff_deactivate_name_ = data.buff_deactivate_name_;
|
||||
buff_swap_name_ = data.buff_swap_name_;
|
||||
buff_icon_2D_ = data.buff_icon_2D_;
|
||||
buff_action_cooltime_ = data.buff_action_cooltime_;
|
||||
using_aim_offset_ = data.using_aim_offset_;
|
||||
user_detachable_ = data.user_detachable_;
|
||||
IsNormalRemain = data.IsNormalRemain;
|
||||
IsConcertRemain = data.IsConcertRemain;
|
||||
IsMovieRemain = data.IsMovieRemain;
|
||||
IsMeetingRemain = data.IsMeetingRemain;
|
||||
IsMyhomeRemain = data.IsMyhomeRemain;
|
||||
is_beacon_remain = data.is_beacon_remain;
|
||||
is_dressroom_remain = data.is_dressroom_remain;
|
||||
}
|
||||
}
|
||||
|
||||
public partial class BuffMetaTable
|
||||
{
|
||||
public readonly IReadOnlyList<BuffMetaData> BuffMetaDataList;
|
||||
public BuffMetaTable(BuffMetaTableMutable data)
|
||||
{
|
||||
if(data.BuffMetaDataList != null)
|
||||
BuffMetaDataList = data.BuffMetaDataList.Select(x => new BuffMetaData(x)).ToList().AsReadOnly();
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user