Files
back_cantanBuilding/Assets/Scripts/Tables/RodEarnPoints.cs
2026-05-26 16:15:54 +08:00

73 lines
1.8 KiB
C#
Raw 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 RodEarnPoints : Bright.Config.BeanBase
{
public JSONNode json;
public RodEarnPoints(JSONNode _json)
{
{ if(!_json["Type"].IsNumber) { throw new SerializationException(); } Type = _json["Type"]; }
{ if(!_json["Points"].IsNumber) { throw new SerializationException(); } Points = _json["Points"]; }
json = _json;
PostInit();
}
public RodEarnPoints(int Type, int Points )
{
this.Type = Type;
this.Points = Points;
PostInit();
}
public static RodEarnPoints DeserializeRodEarnPoints(JSONNode _json)
{
return new RodEarnPoints(_json);
}
/// <summary>
/// 1升级<br/>2升星
/// </summary>
public int Type { get; private set; }
/// <summary>
/// 提升的分数
/// </summary>
public int Points { get; private set; }
public const int __ID__ = 1997726690;
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 "{ "
+ "Type:" + Type + ","
+ "Points:" + Points + ","
+ "}";
}
partial void PostInit();
partial void PostResolve();
}
}