先修复一下,错误的场景 删除不必要的钓场资产 修复into场景 update:更新meta文件,修复报错 update:修复资源 修复第一章节建造 修复建造第三章 update:删除多余内容 update:更新README.md update:还原图标 update:更新README update:更新配置
132 lines
6.5 KiB
C#
132 lines
6.5 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>
|
||
/// 电击,只支持Jump,跳起状态生效
|
||
/// </summary>
|
||
public sealed partial class ElectricShock : FishSpSkillLabel
|
||
{
|
||
public ElectricShock(JSONNode _json) : base(_json)
|
||
{
|
||
{ var __json0 = _json["ShockPeriod"]; if(!__json0.IsArray) { throw new SerializationException(); } ShockPeriod = new System.Collections.Generic.List<float>(__json0.Count); foreach(JSONNode __e0 in __json0.Children) { float __v0; { if(!__e0.IsNumber) { throw new SerializationException(); } __v0 = __e0; } ShockPeriod.Add(__v0); } }
|
||
{ var __json0 = _json["BarRandBigParam"]; if(!__json0.IsArray) { throw new SerializationException(); } BarRandBigParam = new System.Collections.Generic.List<float>(__json0.Count); foreach(JSONNode __e0 in __json0.Children) { float __v0; { if(!__e0.IsNumber) { throw new SerializationException(); } __v0 = __e0; } BarRandBigParam.Add(__v0); } }
|
||
{ var __json0 = _json["BarRandNormalParam"]; if(!__json0.IsArray) { throw new SerializationException(); } BarRandNormalParam = new System.Collections.Generic.List<float>(__json0.Count); foreach(JSONNode __e0 in __json0.Children) { float __v0; { if(!__e0.IsNumber) { throw new SerializationException(); } __v0 = __e0; } BarRandNormalParam.Add(__v0); } }
|
||
{ var __json0 = _json["DecayTime"]; if(!__json0.IsArray) { throw new SerializationException(); } DecayTime = new System.Collections.Generic.List<float>(__json0.Count); foreach(JSONNode __e0 in __json0.Children) { float __v0; { if(!__e0.IsNumber) { throw new SerializationException(); } __v0 = __e0; } DecayTime.Add(__v0); } }
|
||
{ if(!_json["FxFish"].IsString) { throw new SerializationException(); } FxFish = _json["FxFish"]; }
|
||
{ if(!_json["FxScreen"].IsString) { throw new SerializationException(); } FxScreen = _json["FxScreen"]; }
|
||
{ if(!_json["FxBar"].IsString) { throw new SerializationException(); } FxBar = _json["FxBar"]; }
|
||
{ if(!_json["FxFishIcon"].IsString) { throw new SerializationException(); } FxFishIcon = _json["FxFishIcon"]; }
|
||
{ if(!_json["AudioScreen"].IsString) { throw new SerializationException(); } AudioScreen = _json["AudioScreen"]; }
|
||
{ if(!_json["AudioRewardFish"].IsString) { throw new SerializationException(); } AudioRewardFish = _json["AudioRewardFish"]; }
|
||
PostInit();
|
||
}
|
||
|
||
public ElectricShock(System.Collections.Generic.List<float> ShockPeriod, System.Collections.Generic.List<float> BarRandBigParam, System.Collections.Generic.List<float> BarRandNormalParam, System.Collections.Generic.List<float> DecayTime, string FxFish, string FxScreen, string FxBar, string FxFishIcon, string AudioScreen, string AudioRewardFish ) : base()
|
||
{
|
||
this.ShockPeriod = ShockPeriod;
|
||
this.BarRandBigParam = BarRandBigParam;
|
||
this.BarRandNormalParam = BarRandNormalParam;
|
||
this.DecayTime = DecayTime;
|
||
this.FxFish = FxFish;
|
||
this.FxScreen = FxScreen;
|
||
this.FxBar = FxBar;
|
||
this.FxFishIcon = FxFishIcon;
|
||
this.AudioScreen = AudioScreen;
|
||
this.AudioRewardFish = AudioRewardFish;
|
||
PostInit();
|
||
}
|
||
|
||
public static ElectricShock DeserializeElectricShock(JSONNode _json)
|
||
{
|
||
return new ElectricShock(_json);
|
||
}
|
||
|
||
/// <summary>
|
||
/// 间隔周期,在两个数之间随机,一个周期分为Big部分和Normal部分。会保证最小时间大于衰减时间
|
||
/// </summary>
|
||
public System.Collections.Generic.List<float> ShockPeriod { get; private set; }
|
||
/// <summary>
|
||
/// 刚进入电击的时候,进度条随机的额外参数,分别是最小值和最大值,在两个数之间随机
|
||
/// </summary>
|
||
public System.Collections.Generic.List<float> BarRandBigParam { get; private set; }
|
||
/// <summary>
|
||
/// 稳定的时候,进度条随机的额外参数,分别是最小值和最大值,在两个数之间随机
|
||
/// </summary>
|
||
public System.Collections.Generic.List<float> BarRandNormalParam { get; private set; }
|
||
/// <summary>
|
||
/// 衰减时间,在两个数之间随机,在这段时间内,从Big衰减到Normal
|
||
/// </summary>
|
||
public System.Collections.Generic.List<float> DecayTime { get; private set; }
|
||
/// <summary>
|
||
/// 鱼起跳的时候,立刻在Root处挂上一个特效
|
||
/// </summary>
|
||
public string FxFish { get; private set; }
|
||
/// <summary>
|
||
/// 鱼起跳的时候,触发的全屏特效
|
||
/// </summary>
|
||
public string FxScreen { get; private set; }
|
||
/// <summary>
|
||
/// 鱼起跳的时候,进度条处特效
|
||
/// </summary>
|
||
public string FxBar { get; private set; }
|
||
/// <summary>
|
||
/// 鱼起跳的时候,头像处特效
|
||
/// </summary>
|
||
public string FxFishIcon { get; private set; }
|
||
/// <summary>
|
||
/// 鱼起跳的时候,播放全屏音效
|
||
/// </summary>
|
||
public string AudioScreen { get; private set; }
|
||
/// <summary>
|
||
/// 结算界面出现时,鱼循环播放的声音
|
||
/// </summary>
|
||
public string AudioRewardFish { get; private set; }
|
||
|
||
public const int __ID__ = -1874020507;
|
||
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 "{ "
|
||
+ "ShockPeriod:" + Bright.Common.StringUtil.CollectionToString(ShockPeriod) + ","
|
||
+ "BarRandBigParam:" + Bright.Common.StringUtil.CollectionToString(BarRandBigParam) + ","
|
||
+ "BarRandNormalParam:" + Bright.Common.StringUtil.CollectionToString(BarRandNormalParam) + ","
|
||
+ "DecayTime:" + Bright.Common.StringUtil.CollectionToString(DecayTime) + ","
|
||
+ "FxFish:" + FxFish + ","
|
||
+ "FxScreen:" + FxScreen + ","
|
||
+ "FxBar:" + FxBar + ","
|
||
+ "FxFishIcon:" + FxFishIcon + ","
|
||
+ "AudioScreen:" + AudioScreen + ","
|
||
+ "AudioRewardFish:" + AudioRewardFish + ","
|
||
+ "}";
|
||
}
|
||
|
||
partial void PostInit();
|
||
partial void PostResolve();
|
||
}
|
||
}
|