Files
MinFt/Client/Assets/Scripts/Tables/RodOperatingStats.cs
Liubing\LB 3d8d4d18f3 first commit
先修复一下,错误的场景

删除不必要的钓场资产

修复into场景

update:更新meta文件,修复报错

update:修复资源

修复第一章节建造

修复建造第三章

update:删除多余内容

update:更新README.md

update:还原图标

update:更新README

update:更新配置
2026-04-28 02:17:22 +08:00

188 lines
14 KiB
C#
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
//------------------------------------------------------------------------------
// <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 RodOperatingStats : Bright.Config.BeanBase
{
public JSONNode json;
public RodOperatingStats(JSONNode _json)
{
{ var __json0 = _json["MaxDrawingHP"]; if(!__json0.IsArray) { throw new SerializationException(); } MaxDrawingHP = new System.Collections.Generic.List<float>(__json0.Count); foreach(JSONNode __e0 in __json0.Children) { float __v0; { if(!__e0.IsNumber) { throw new SerializationException(); } __v0 = __e0; } MaxDrawingHP.Add(__v0); } }
{ var __json0 = _json["MinDrawingHP"]; if(!__json0.IsArray) { throw new SerializationException(); } MinDrawingHP = new System.Collections.Generic.List<float>(__json0.Count); foreach(JSONNode __e0 in __json0.Children) { float __v0; { if(!__e0.IsNumber) { throw new SerializationException(); } __v0 = __e0; } MinDrawingHP.Add(__v0); } }
{ var __json0 = _json["BarIncrease_Fast"]; if(!__json0.IsArray) { throw new SerializationException(); } BarIncreaseFast = new System.Collections.Generic.List<float>(__json0.Count); foreach(JSONNode __e0 in __json0.Children) { float __v0; { if(!__e0.IsNumber) { throw new SerializationException(); } __v0 = __e0; } BarIncreaseFast.Add(__v0); } }
{ var __json0 = _json["BarDecrease_Fast"]; if(!__json0.IsArray) { throw new SerializationException(); } BarDecreaseFast = new System.Collections.Generic.List<float>(__json0.Count); foreach(JSONNode __e0 in __json0.Children) { float __v0; { if(!__e0.IsNumber) { throw new SerializationException(); } __v0 = __e0; } BarDecreaseFast.Add(__v0); } }
{ var __json0 = _json["BarIncrease_Slow"]; if(!__json0.IsArray) { throw new SerializationException(); } BarIncreaseSlow = new System.Collections.Generic.List<float>(__json0.Count); foreach(JSONNode __e0 in __json0.Children) { float __v0; { if(!__e0.IsNumber) { throw new SerializationException(); } __v0 = __e0; } BarIncreaseSlow.Add(__v0); } }
{ var __json0 = _json["BarDecrease_Slow"]; if(!__json0.IsArray) { throw new SerializationException(); } BarDecreaseSlow = new System.Collections.Generic.List<float>(__json0.Count); foreach(JSONNode __e0 in __json0.Children) { float __v0; { if(!__e0.IsNumber) { throw new SerializationException(); } __v0 = __e0; } BarDecreaseSlow.Add(__v0); } }
{ var __json0 = _json["MinDamp_Hard"]; if(!__json0.IsArray) { throw new SerializationException(); } MinDampHard = new System.Collections.Generic.List<float>(__json0.Count); foreach(JSONNode __e0 in __json0.Children) { float __v0; { if(!__e0.IsNumber) { throw new SerializationException(); } __v0 = __e0; } MinDampHard.Add(__v0); } }
{ var __json0 = _json["MaxDamp_Hard"]; if(!__json0.IsArray) { throw new SerializationException(); } MaxDampHard = new System.Collections.Generic.List<float>(__json0.Count); foreach(JSONNode __e0 in __json0.Children) { float __v0; { if(!__e0.IsNumber) { throw new SerializationException(); } __v0 = __e0; } MaxDampHard.Add(__v0); } }
{ var __json0 = _json["MinDamp_Soft"]; if(!__json0.IsArray) { throw new SerializationException(); } MinDampSoft = new System.Collections.Generic.List<float>(__json0.Count); foreach(JSONNode __e0 in __json0.Children) { float __v0; { if(!__e0.IsNumber) { throw new SerializationException(); } __v0 = __e0; } MinDampSoft.Add(__v0); } }
{ var __json0 = _json["MaxDamp_Soft"]; if(!__json0.IsArray) { throw new SerializationException(); } MaxDampSoft = new System.Collections.Generic.List<float>(__json0.Count); foreach(JSONNode __e0 in __json0.Children) { float __v0; { if(!__e0.IsNumber) { throw new SerializationException(); } __v0 = __e0; } MaxDampSoft.Add(__v0); } }
{ var __json0 = _json["ComboInc"]; if(!__json0.IsArray) { throw new SerializationException(); } ComboInc = new System.Collections.Generic.List<float>(__json0.Count); foreach(JSONNode __e0 in __json0.Children) { float __v0; { if(!__e0.IsNumber) { throw new SerializationException(); } __v0 = __e0; } ComboInc.Add(__v0); } }
{ var __json0 = _json["ComboZoneScale"]; if(!__json0.IsArray) { throw new SerializationException(); } ComboZoneScale = new System.Collections.Generic.List<float>(__json0.Count); foreach(JSONNode __e0 in __json0.Children) { float __v0; { if(!__e0.IsNumber) { throw new SerializationException(); } __v0 = __e0; } ComboZoneScale.Add(__v0); } }
{ var __json0 = _json["AutoMaxcomboProb"]; if(!__json0.IsArray) { throw new SerializationException(); } AutoMaxcomboProb = new System.Collections.Generic.List<float>(__json0.Count); foreach(JSONNode __e0 in __json0.Children) { float __v0; { if(!__e0.IsNumber) { throw new SerializationException(); } __v0 = __e0; } AutoMaxcomboProb.Add(__v0); } }
{ var __json0 = _json["ComboBarIncAmp"]; if(!__json0.IsArray) { throw new SerializationException(); } ComboBarIncAmp = new System.Collections.Generic.List<float>(__json0.Count); foreach(JSONNode __e0 in __json0.Children) { float __v0; { if(!__e0.IsNumber) { throw new SerializationException(); } __v0 = __e0; } ComboBarIncAmp.Add(__v0); } }
{ var __json0 = _json["ComboBarDecAmp"]; if(!__json0.IsArray) { throw new SerializationException(); } ComboBarDecAmp = new System.Collections.Generic.List<float>(__json0.Count); foreach(JSONNode __e0 in __json0.Children) { float __v0; { if(!__e0.IsNumber) { throw new SerializationException(); } __v0 = __e0; } ComboBarDecAmp.Add(__v0); } }
{ var __json0 = _json["BarShakeBounceRand"]; if(!__json0.IsArray) { throw new SerializationException(); } BarShakeBounceRand = new System.Collections.Generic.List<float>(__json0.Count); foreach(JSONNode __e0 in __json0.Children) { float __v0; { if(!__e0.IsNumber) { throw new SerializationException(); } __v0 = __e0; } BarShakeBounceRand.Add(__v0); } }
{ var __json0 = _json["BarShakeMinAmp"]; if(!__json0.IsArray) { throw new SerializationException(); } BarShakeMinAmp = new System.Collections.Generic.List<float>(__json0.Count); foreach(JSONNode __e0 in __json0.Children) { float __v0; { if(!__e0.IsNumber) { throw new SerializationException(); } __v0 = __e0; } BarShakeMinAmp.Add(__v0); } }
{ var __json0 = _json["BarShakeMaxAmp"]; if(!__json0.IsArray) { throw new SerializationException(); } BarShakeMaxAmp = new System.Collections.Generic.List<float>(__json0.Count); foreach(JSONNode __e0 in __json0.Children) { float __v0; { if(!__e0.IsNumber) { throw new SerializationException(); } __v0 = __e0; } BarShakeMaxAmp.Add(__v0); } }
json = _json;
PostInit();
}
public RodOperatingStats(System.Collections.Generic.List<float> MaxDrawingHP, System.Collections.Generic.List<float> MinDrawingHP, System.Collections.Generic.List<float> BarIncrease_Fast, System.Collections.Generic.List<float> BarDecrease_Fast, System.Collections.Generic.List<float> BarIncrease_Slow, System.Collections.Generic.List<float> BarDecrease_Slow, System.Collections.Generic.List<float> MinDamp_Hard, System.Collections.Generic.List<float> MaxDamp_Hard, System.Collections.Generic.List<float> MinDamp_Soft, System.Collections.Generic.List<float> MaxDamp_Soft, System.Collections.Generic.List<float> ComboInc, System.Collections.Generic.List<float> ComboZoneScale, System.Collections.Generic.List<float> AutoMaxcomboProb, System.Collections.Generic.List<float> ComboBarIncAmp, System.Collections.Generic.List<float> ComboBarDecAmp, System.Collections.Generic.List<float> BarShakeBounceRand, System.Collections.Generic.List<float> BarShakeMinAmp, System.Collections.Generic.List<float> BarShakeMaxAmp )
{
this.MaxDrawingHP = MaxDrawingHP;
this.MinDrawingHP = MinDrawingHP;
this.BarIncreaseFast = BarIncrease_Fast;
this.BarDecreaseFast = BarDecrease_Fast;
this.BarIncreaseSlow = BarIncrease_Slow;
this.BarDecreaseSlow = BarDecrease_Slow;
this.MinDampHard = MinDamp_Hard;
this.MaxDampHard = MaxDamp_Hard;
this.MinDampSoft = MinDamp_Soft;
this.MaxDampSoft = MaxDamp_Soft;
this.ComboInc = ComboInc;
this.ComboZoneScale = ComboZoneScale;
this.AutoMaxcomboProb = AutoMaxcomboProb;
this.ComboBarIncAmp = ComboBarIncAmp;
this.ComboBarDecAmp = ComboBarDecAmp;
this.BarShakeBounceRand = BarShakeBounceRand;
this.BarShakeMinAmp = BarShakeMinAmp;
this.BarShakeMaxAmp = BarShakeMaxAmp;
PostInit();
}
public static RodOperatingStats DeserializeRodOperatingStats(JSONNode _json)
{
return new RodOperatingStats(_json);
}
/// <summary>
/// 连击区时,每次鱼的掉血跳字
/// </summary>
public System.Collections.Generic.List<float> MaxDrawingHP { get; private set; }
/// <summary>
/// 进度条最左侧伤害系数
/// </summary>
public System.Collections.Generic.List<float> MinDrawingHP { get; private set; }
/// <summary>
/// 按下时,每秒前进的百分比
/// </summary>
public System.Collections.Generic.List<float> BarIncreaseFast { get; private set; }
/// <summary>
/// 松手时,每秒后退的百分比
/// </summary>
public System.Collections.Generic.List<float> BarDecreaseFast { get; private set; }
/// <summary>
/// 按下时,每秒前进的百分比
/// </summary>
public System.Collections.Generic.List<float> BarIncreaseSlow { get; private set; }
/// <summary>
/// 松手时,每秒后退的百分比
/// </summary>
public System.Collections.Generic.List<float> BarDecreaseSlow { get; private set; }
/// <summary>
/// 进度条最左时,进度条前进系数
/// </summary>
public System.Collections.Generic.List<float> MinDampHard { get; private set; }
/// <summary>
/// 进度条最右时,进度条前进系数
/// </summary>
public System.Collections.Generic.List<float> MaxDampHard { get; private set; }
/// <summary>
/// 进度条最左时,进度条前进系数
/// </summary>
public System.Collections.Generic.List<float> MinDampSoft { get; private set; }
/// <summary>
/// 进度条最右时,进度条前进系数
/// </summary>
public System.Collections.Generic.List<float> MaxDampSoft { get; private set; }
/// <summary>
/// 处于连击区时,每秒增加的百分比进度
/// </summary>
public System.Collections.Generic.List<float> ComboInc { get; private set; }
/// <summary>
/// 连击区大小占进度条百分比
/// </summary>
public System.Collections.Generic.List<float> ComboZoneScale { get; private set; }
/// <summary>
/// 自动钓鱼状态下在非全力收线模式下每间隔ComboTime时间判定一次固定加上这么多的进度满了之后自动释放全力收线
/// </summary>
public System.Collections.Generic.List<float> AutoMaxcomboProb { get; private set; }
/// <summary>
/// 连击状态下,进度条前进的额外参数
/// </summary>
public System.Collections.Generic.List<float> ComboBarIncAmp { get; private set; }
/// <summary>
/// 连击状态下,进度条后退的额外参数
/// </summary>
public System.Collections.Generic.List<float> ComboBarDecAmp { get; private set; }
/// <summary>
/// 颤抖反弹数值随机参数
/// </summary>
public System.Collections.Generic.List<float> BarShakeBounceRand { get; private set; }
/// <summary>
/// 颤抖动画最小值
/// </summary>
public System.Collections.Generic.List<float> BarShakeMinAmp { get; private set; }
/// <summary>
/// 颤抖动画最大值
/// </summary>
public System.Collections.Generic.List<float> BarShakeMaxAmp { get; private set; }
public const int __ID__ = -340148891;
public override int GetTypeId() => __ID__;
public void Resolve(Dictionary<string, object> _tables)
{
PostResolve();
}
public void TranslateText(System.Func<string, string, string> translator)
{
}
public override string ToString()
{
return "{ "
+ "MaxDrawingHP:" + Bright.Common.StringUtil.CollectionToString(MaxDrawingHP) + ","
+ "MinDrawingHP:" + Bright.Common.StringUtil.CollectionToString(MinDrawingHP) + ","
+ "BarIncreaseFast:" + Bright.Common.StringUtil.CollectionToString(BarIncreaseFast) + ","
+ "BarDecreaseFast:" + Bright.Common.StringUtil.CollectionToString(BarDecreaseFast) + ","
+ "BarIncreaseSlow:" + Bright.Common.StringUtil.CollectionToString(BarIncreaseSlow) + ","
+ "BarDecreaseSlow:" + Bright.Common.StringUtil.CollectionToString(BarDecreaseSlow) + ","
+ "MinDampHard:" + Bright.Common.StringUtil.CollectionToString(MinDampHard) + ","
+ "MaxDampHard:" + Bright.Common.StringUtil.CollectionToString(MaxDampHard) + ","
+ "MinDampSoft:" + Bright.Common.StringUtil.CollectionToString(MinDampSoft) + ","
+ "MaxDampSoft:" + Bright.Common.StringUtil.CollectionToString(MaxDampSoft) + ","
+ "ComboInc:" + Bright.Common.StringUtil.CollectionToString(ComboInc) + ","
+ "ComboZoneScale:" + Bright.Common.StringUtil.CollectionToString(ComboZoneScale) + ","
+ "AutoMaxcomboProb:" + Bright.Common.StringUtil.CollectionToString(AutoMaxcomboProb) + ","
+ "ComboBarIncAmp:" + Bright.Common.StringUtil.CollectionToString(ComboBarIncAmp) + ","
+ "ComboBarDecAmp:" + Bright.Common.StringUtil.CollectionToString(ComboBarDecAmp) + ","
+ "BarShakeBounceRand:" + Bright.Common.StringUtil.CollectionToString(BarShakeBounceRand) + ","
+ "BarShakeMinAmp:" + Bright.Common.StringUtil.CollectionToString(BarShakeMinAmp) + ","
+ "BarShakeMaxAmp:" + Bright.Common.StringUtil.CollectionToString(BarShakeMaxAmp) + ","
+ "}";
}
partial void PostInit();
partial void PostResolve();
}
}