104 lines
4.4 KiB
C#
104 lines
4.4 KiB
C#
//------------------------------------------------------------------------------
|
||
// <auto-generated>
|
||
// This code was generated by a tool.
|
||
// Changes to this file may cause incorrect behavior and will be lost if
|
||
// the code is regenerated.
|
||
// </auto-generated>
|
||
//------------------------------------------------------------------------------
|
||
using Bright.Serialization;
|
||
using System.Collections.Generic;
|
||
using SimpleJSON;
|
||
|
||
|
||
|
||
namespace cfg
|
||
{
|
||
|
||
/// <summary>
|
||
/// 鱼加挂件
|
||
/// </summary>
|
||
public sealed partial class ETDropAfterDrop : EventTargetExtraDrop
|
||
{
|
||
public ETDropAfterDrop(JSONNode _json) : base(_json)
|
||
{
|
||
{ var __json0 = _json["ExtraDropList"]; if(!__json0.IsArray) { throw new SerializationException(); } ExtraDropList = new System.Collections.Generic.List<int>(__json0.Count); foreach(JSONNode __e0 in __json0.Children) { int __v0; { if(!__e0.IsNumber) { throw new SerializationException(); } __v0 = __e0; } ExtraDropList.Add(__v0); } }
|
||
{ var __json0 = _json["ExtraCashDropList"]; if(!__json0.IsArray) { throw new SerializationException(); } ExtraCashDropList = new System.Collections.Generic.List<int>(__json0.Count); foreach(JSONNode __e0 in __json0.Children) { int __v0; { if(!__e0.IsNumber) { throw new SerializationException(); } __v0 = __e0; } ExtraCashDropList.Add(__v0); } }
|
||
{ var __json0 = _json["StatsChange"]; if(!__json0.IsArray) { throw new SerializationException(); } StatsChange = new System.Collections.Generic.List<float>(__json0.Count); foreach(JSONNode __e0 in __json0.Children) { float __v0; { if(!__e0.IsNumber) { throw new SerializationException(); } __v0 = __e0; } StatsChange.Add(__v0); } }
|
||
{ if(!_json["Mode"].IsString) { throw new SerializationException(); } Mode = _json["Mode"]; }
|
||
{ if(!_json["Bone"].IsString) { throw new SerializationException(); } Bone = _json["Bone"]; }
|
||
{ if(!_json["Fx"].IsString) { throw new SerializationException(); } Fx = _json["Fx"]; }
|
||
PostInit();
|
||
}
|
||
|
||
public ETDropAfterDrop(System.Collections.Generic.List<int> ExtraDropList, System.Collections.Generic.List<int> ExtraCashDropList, System.Collections.Generic.List<float> StatsChange, string Mode, string Bone, string Fx ) : base()
|
||
{
|
||
this.ExtraDropList = ExtraDropList;
|
||
this.ExtraCashDropList = ExtraCashDropList;
|
||
this.StatsChange = StatsChange;
|
||
this.Mode = Mode;
|
||
this.Bone = Bone;
|
||
this.Fx = Fx;
|
||
PostInit();
|
||
}
|
||
|
||
public static ETDropAfterDrop DeserializeETDropAfterDrop(JSONNode _json)
|
||
{
|
||
return new ETDropAfterDrop(_json);
|
||
}
|
||
|
||
/// <summary>
|
||
/// 触发掉落后一定有该掉落目标道具
|
||
/// </summary>
|
||
public System.Collections.Generic.List<int> ExtraDropList { get; private set; }
|
||
/// <summary>
|
||
/// 触发掉落后一定有该掉落,结算界面的钞票增加
|
||
/// </summary>
|
||
public System.Collections.Generic.List<int> ExtraCashDropList { get; private set; }
|
||
/// <summary>
|
||
/// 属性变化,一共6个参数,都是直接乘:力量,速度,警惕,血量,逃跑速度,技能蓄力速度
|
||
/// </summary>
|
||
public System.Collections.Generic.List<float> StatsChange { get; private set; }
|
||
/// <summary>
|
||
/// 挂接模型名称
|
||
/// </summary>
|
||
public string Mode { get; private set; }
|
||
/// <summary>
|
||
/// 挂接挂点名称
|
||
/// </summary>
|
||
public string Bone { get; private set; }
|
||
/// <summary>
|
||
/// 模型飞出的特效名称
|
||
/// </summary>
|
||
public string Fx { get; private set; }
|
||
|
||
public const int __ID__ = 1078568013;
|
||
public override int GetTypeId() => __ID__;
|
||
|
||
public override void Resolve(Dictionary<string, object> _tables)
|
||
{
|
||
base.Resolve(_tables);
|
||
PostResolve();
|
||
}
|
||
|
||
public override void TranslateText(System.Func<string, string, string> translator)
|
||
{
|
||
base.TranslateText(translator);
|
||
}
|
||
|
||
public override string ToString()
|
||
{
|
||
return "{ "
|
||
+ "ExtraDropList:" + Bright.Common.StringUtil.CollectionToString(ExtraDropList) + ","
|
||
+ "ExtraCashDropList:" + Bright.Common.StringUtil.CollectionToString(ExtraCashDropList) + ","
|
||
+ "StatsChange:" + Bright.Common.StringUtil.CollectionToString(StatsChange) + ","
|
||
+ "Mode:" + Mode + ","
|
||
+ "Bone:" + Bone + ","
|
||
+ "Fx:" + Fx + ","
|
||
+ "}";
|
||
}
|
||
|
||
partial void PostInit();
|
||
partial void PostResolve();
|
||
}
|
||
}
|