Files
MinFt/Client/Assets/Scripts/Tables/ETKeepsake.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

97 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 ETKeepsake : EventTargetExtraDrop
{
public ETKeepsake(JSONNode _json) : base(_json)
{
{ if(!_json["FishbuffID"].IsNumber) { throw new SerializationException(); } FishbuffID = _json["FishbuffID"]; }
{ var __json0 = _json["FishIDList"]; if(!__json0.IsArray) { throw new SerializationException(); } FishIDList = new System.Collections.Generic.List<int>(__json0.Count); foreach(JSONNode __e0 in __json0.Children) { int __v0; { if(!__e0.IsNumber) { throw new SerializationException(); } __v0 = __e0; } FishIDList.Add(__v0); } }
{ var __json0 = _json["FishWeightList"]; if(!__json0.IsArray) { throw new SerializationException(); } FishWeightList = new System.Collections.Generic.List<float>(__json0.Count); foreach(JSONNode __e0 in __json0.Children) { float __v0; { if(!__e0.IsNumber) { throw new SerializationException(); } __v0 = __e0; } FishWeightList.Add(__v0); } }
{ var __json0 = _json["FishExtraDropList"]; if(!__json0.IsArray) { throw new SerializationException(); } FishExtraDropList = new System.Collections.Generic.List<int>(__json0.Count); foreach(JSONNode __e0 in __json0.Children) { int __v0; { if(!__e0.IsNumber) { throw new SerializationException(); } __v0 = __e0; } FishExtraDropList.Add(__v0); } }
{ var __json0 = _json["KeepsakeWeight"]; if(!__json0.IsArray) { throw new SerializationException(); } KeepsakeWeight = new System.Collections.Generic.List<float>(__json0.Count); foreach(JSONNode __e0 in __json0.Children) { float __v0; { if(!__e0.IsNumber) { throw new SerializationException(); } __v0 = __e0; } KeepsakeWeight.Add(__v0); } }
PostInit();
}
public ETKeepsake(int FishbuffID, System.Collections.Generic.List<int> FishIDList, System.Collections.Generic.List<float> FishWeightList, System.Collections.Generic.List<int> FishExtraDropList, System.Collections.Generic.List<float> KeepsakeWeight ) : base()
{
this.FishbuffID = FishbuffID;
this.FishIDList = FishIDList;
this.FishWeightList = FishWeightList;
this.FishExtraDropList = FishExtraDropList;
this.KeepsakeWeight = KeepsakeWeight;
PostInit();
}
public static ETKeepsake DeserializeETKeepsake(JSONNode _json)
{
return new ETKeepsake(_json);
}
/// <summary>
/// 钓鱼buff编号
/// </summary>
public int FishbuffID { get; private set; }
/// <summary>
/// 信物+特殊鱼编号
/// </summary>
public System.Collections.Generic.List<int> FishIDList { get; private set; }
/// <summary>
/// 信物+特殊鱼权重
/// </summary>
public System.Collections.Generic.List<float> FishWeightList { get; private set; }
/// <summary>
/// 信物+特殊鱼额外掉落
/// </summary>
public System.Collections.Generic.List<int> FishExtraDropList { get; private set; }
/// <summary>
/// 每日信物权重
/// </summary>
public System.Collections.Generic.List<float> KeepsakeWeight { get; private set; }
public const int __ID__ = 2126966524;
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 "{ "
+ "FishbuffID:" + FishbuffID + ","
+ "FishIDList:" + Bright.Common.StringUtil.CollectionToString(FishIDList) + ","
+ "FishWeightList:" + Bright.Common.StringUtil.CollectionToString(FishWeightList) + ","
+ "FishExtraDropList:" + Bright.Common.StringUtil.CollectionToString(FishExtraDropList) + ","
+ "KeepsakeWeight:" + Bright.Common.StringUtil.CollectionToString(KeepsakeWeight) + ","
+ "}";
}
partial void PostInit();
partial void PostResolve();
}
}