Files
MinFt/Client/Assets/Scripts/Tables/ConstructionInfiniteReward.cs
2026-04-27 12:07:32 +08:00

77 lines
2.1 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 ConstructionInfiniteReward : Bright.Config.BeanBase
{
public JSONNode json;
public ConstructionInfiniteReward(JSONNode _json)
{
{ if(!_json["ID"].IsNumber) { throw new SerializationException(); } ID = _json["ID"]; }
{ if(!_json["Step"].IsNumber) { throw new SerializationException(); } Step = _json["Step"]; }
{ if(!_json["DropID"].IsNumber) { throw new SerializationException(); } DropID = _json["DropID"]; }
json = _json;
PostInit();
}
public ConstructionInfiniteReward(int ID, int Step, int DropID )
{
this.ID = ID;
this.Step = Step;
this.DropID = DropID;
PostInit();
}
public static ConstructionInfiniteReward DeserializeConstructionInfiniteReward(JSONNode _json)
{
return new ConstructionInfiniteReward(_json);
}
/// <summary>
/// 在这些步数内循环
/// </summary>
public int ID { get; private set; }
/// <summary>
/// 距离下一个奖励的步长
/// </summary>
public int Step { get; private set; }
public int DropID { get; private set; }
public const int __ID__ = 1140194740;
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 + ","
+ "Step:" + Step + ","
+ "DropID:" + DropID + ","
+ "}";
}
partial void PostInit();
partial void PostResolve();
}
}