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

122 lines
4.6 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
{
public sealed partial class FixedFishList : Bright.Config.BeanBase
{
public JSONNode json;
public FixedFishList(JSONNode _json)
{
{ if(!_json["ID"].IsNumber) { throw new SerializationException(); } ID = _json["ID"]; }
{ if(!_json["FishID"].IsNumber) { throw new SerializationException(); } FishID = _json["FishID"]; }
{ if(!_json["EatFishType"].IsNumber) { throw new SerializationException(); } EatFishType = _json["EatFishType"]; }
{ if(!_json["EatenFishID"].IsNumber) { throw new SerializationException(); } EatenFishID = _json["EatenFishID"]; }
{ if(!_json["UIEatHpPercent"].IsNumber) { throw new SerializationException(); } UIEatHpPercent = _json["UIEatHpPercent"]; }
{ if(!_json["RealFishID"].IsNumber) { throw new SerializationException(); } RealFishID = _json["RealFishID"]; }
{ if(!_json["IsEventtargetTrigger"].IsBoolean) { throw new SerializationException(); } IsEventtargetTrigger = _json["IsEventtargetTrigger"]; }
{ if(!_json["EventtargetTriggerParam"].IsNumber) { throw new SerializationException(); } EventtargetTriggerParam = _json["EventtargetTriggerParam"]; }
{ if(!_json["IfStaPowPopUp"].IsNumber) { throw new SerializationException(); } IfStaPowPopUp = _json["IfStaPowPopUp"]; }
json = _json;
PostInit();
}
public FixedFishList(int ID, int FishID, int EatFishType, int EatenFishID, float UIEatHpPercent, int RealFishID, bool IsEventtargetTrigger, int EventtargetTriggerParam, int IfStaPowPopUp )
{
this.ID = ID;
this.FishID = FishID;
this.EatFishType = EatFishType;
this.EatenFishID = EatenFishID;
this.UIEatHpPercent = UIEatHpPercent;
this.RealFishID = RealFishID;
this.IsEventtargetTrigger = IsEventtargetTrigger;
this.EventtargetTriggerParam = EventtargetTriggerParam;
this.IfStaPowPopUp = IfStaPowPopUp;
PostInit();
}
public static FixedFishList DeserializeFixedFishList(JSONNode _json)
{
return new FixedFishList(_json);
}
/// <summary>
/// 列表,循环
/// </summary>
public int ID { get; private set; }
/// <summary>
/// item表主键
/// </summary>
public int FishID { get; private set; }
/// <summary>
/// 0直接钓起<br/>1UI吃鱼<br/>2动画吃鱼
/// </summary>
public int EatFishType { get; private set; }
/// <summary>
/// item表主键
/// </summary>
public int EatenFishID { get; private set; }
/// <summary>
/// 从这个区间到0%之间随机出一个血量,血量低于这个数值就吃鱼
/// </summary>
public float UIEatHpPercent { get; private set; }
/// <summary>
/// 钓到的积分、重量会加给这个编号的鱼
/// </summary>
public int RealFishID { get; private set; }
/// <summary>
/// 0不触发<br/>1触发
/// </summary>
public bool IsEventtargetTrigger { get; private set; }
/// <summary>
/// 标鱼类、材质类:不填写,直接沿用鱼的编号<br/>信物类、特殊鱼类填写活动鱼的index
/// </summary>
public int EventtargetTriggerParam { get; private set; }
/// <summary>
/// guidancepopuppanel的Station_powerreel是否生效
/// </summary>
public int IfStaPowPopUp { get; private set; }
public const int __ID__ = 1521809034;
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 "{ "
+ "ID:" + ID + ","
+ "FishID:" + FishID + ","
+ "EatFishType:" + EatFishType + ","
+ "EatenFishID:" + EatenFishID + ","
+ "UIEatHpPercent:" + UIEatHpPercent + ","
+ "RealFishID:" + RealFishID + ","
+ "IsEventtargetTrigger:" + IsEventtargetTrigger + ","
+ "EventtargetTriggerParam:" + EventtargetTriggerParam + ","
+ "IfStaPowPopUp:" + IfStaPowPopUp + ","
+ "}";
}
partial void PostInit();
partial void PostResolve();
}
}