先修复一下,错误的场景 删除不必要的钓场资产 修复into场景 update:更新meta文件,修复报错 update:修复资源 修复第一章节建造 修复建造第三章 update:删除多余内容 update:更新README.md update:还原图标 update:更新README update:更新配置
83 lines
2.9 KiB
C#
83 lines
2.9 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 CollectionTargetWeight : FishBuffType
|
|
{
|
|
public CollectionTargetWeight(JSONNode _json) : base(_json)
|
|
{
|
|
{ var __json0 = _json["NewWeightList"]; if(!__json0.IsArray) { throw new SerializationException(); } NewWeightList = new System.Collections.Generic.List<float>(__json0.Count); foreach(JSONNode __e0 in __json0.Children) { float __v0; { if(!__e0.IsNumber) { throw new SerializationException(); } __v0 = __e0; } NewWeightList.Add(__v0); } }
|
|
{ if(!_json["TargetFishIndex"].IsNumber) { throw new SerializationException(); } TargetFishIndex = _json["TargetFishIndex"]; }
|
|
{ if(!_json["NewTargetFishProb"].IsNumber) { throw new SerializationException(); } NewTargetFishProb = _json["NewTargetFishProb"]; }
|
|
PostInit();
|
|
}
|
|
|
|
public CollectionTargetWeight(System.Collections.Generic.List<float> NewWeightList, int TargetFishIndex, float NewTargetFishProb ) : base()
|
|
{
|
|
this.NewWeightList = NewWeightList;
|
|
this.TargetFishIndex = TargetFishIndex;
|
|
this.NewTargetFishProb = NewTargetFishProb;
|
|
PostInit();
|
|
}
|
|
|
|
public static CollectionTargetWeight DeserializeCollectionTargetWeight(JSONNode _json)
|
|
{
|
|
return new CollectionTargetWeight(_json);
|
|
}
|
|
|
|
/// <summary>
|
|
/// 目标奖励活动新的所有鱼的权重
|
|
/// </summary>
|
|
public System.Collections.Generic.List<float> NewWeightList { get; private set; }
|
|
/// <summary>
|
|
/// 钓到第几条鱼则buff消失
|
|
/// </summary>
|
|
public int TargetFishIndex { get; private set; }
|
|
/// <summary>
|
|
/// 修改目标奖励活动鱼的权重
|
|
/// </summary>
|
|
public float NewTargetFishProb { get; private set; }
|
|
|
|
public const int __ID__ = 1389764935;
|
|
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 "{ "
|
|
+ "NewWeightList:" + Bright.Common.StringUtil.CollectionToString(NewWeightList) + ","
|
|
+ "TargetFishIndex:" + TargetFishIndex + ","
|
|
+ "NewTargetFishProb:" + NewTargetFishProb + ","
|
|
+ "}";
|
|
}
|
|
|
|
partial void PostInit();
|
|
partial void PostResolve();
|
|
}
|
|
}
|