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

95 lines
3.0 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
{
public sealed partial class EventJigsawPuzzleReward : Bright.Config.BeanBase
{
public JSONNode json;
public EventJigsawPuzzleReward(JSONNode _json)
{
{ if(!_json["Index"].IsNumber) { throw new SerializationException(); } Index = _json["Index"]; }
{ if(!_json["Weight"].IsNumber) { throw new SerializationException(); } Weight = _json["Weight"]; }
{ if(!_json["LeftWeight"].IsNumber) { throw new SerializationException(); } LeftWeight = _json["LeftWeight"]; }
{ if(!_json["RightWeight"].IsNumber) { throw new SerializationException(); } RightWeight = _json["RightWeight"]; }
{ if(!_json["Quality"].IsNumber) { throw new SerializationException(); } Quality = _json["Quality"]; }
{ if(!_json["ItemDropID"].IsNumber) { throw new SerializationException(); } ItemDropID = _json["ItemDropID"]; }
json = _json;
PostInit();
}
public EventJigsawPuzzleReward(int Index, int Weight, int LeftWeight, int RightWeight, int Quality, int ItemDropID )
{
this.Index = Index;
this.Weight = Weight;
this.LeftWeight = LeftWeight;
this.RightWeight = RightWeight;
this.Quality = Quality;
this.ItemDropID = ItemDropID;
PostInit();
}
public static EventJigsawPuzzleReward DeserializeEventJigsawPuzzleReward(JSONNode _json)
{
return new EventJigsawPuzzleReward(_json);
}
public int Index { get; private set; }
public int Weight { get; private set; }
/// <summary>
/// 最后停留在左边
/// </summary>
public int LeftWeight { get; private set; }
/// <summary>
/// 最后停留在右边
/// </summary>
public int RightWeight { get; private set; }
/// <summary>
/// 对应的图片编号<br/>如果是道具则为-1
/// </summary>
public int Quality { get; private set; }
/// <summary>
/// 获得道具时的Drop编号
/// </summary>
public int ItemDropID { get; private set; }
public const int __ID__ = -128833624;
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 "{ "
+ "Index:" + Index + ","
+ "Weight:" + Weight + ","
+ "LeftWeight:" + LeftWeight + ","
+ "RightWeight:" + RightWeight + ","
+ "Quality:" + Quality + ","
+ "ItemDropID:" + ItemDropID + ","
+ "}";
}
partial void PostInit();
partial void PostResolve();
}
}