Files
ft/Client/Assets/Scripts/Tables/EventPartnerStatueSpinPoints.cs
2026-06-29 21:18:33 +08:00

78 lines
2.6 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 EventPartnerStatueSpinPoints : Bright.Config.BeanBase
{
public JSONNode json;
public EventPartnerStatueSpinPoints(JSONNode _json)
{
{ if(!_json["PointID"].IsNumber) { throw new SerializationException(); } PointID = _json["PointID"]; }
{ if(!_json["Point"].IsNumber) { throw new SerializationException(); } Point = _json["Point"]; }
{ if(!_json["Weight"].IsNumber) { throw new SerializationException(); } Weight = _json["Weight"]; }
{ var __json0 = _json["Display"]; if(!__json0.IsArray) { throw new SerializationException(); } Display = new System.Collections.Generic.List<int>(__json0.Count); foreach(JSONNode __e0 in __json0.Children) { int __v0; { if(!__e0.IsNumber) { throw new SerializationException(); } __v0 = __e0; } Display.Add(__v0); } }
json = _json;
PostInit();
}
public EventPartnerStatueSpinPoints(int PointID, int Point, int Weight, System.Collections.Generic.List<int> Display )
{
this.PointID = PointID;
this.Point = Point;
this.Weight = Weight;
this.Display = Display;
PostInit();
}
public static EventPartnerStatueSpinPoints DeserializeEventPartnerStatueSpinPoints(JSONNode _json)
{
return new EventPartnerStatueSpinPoints(_json);
}
public int PointID { get; private set; }
public int Point { get; private set; }
public int Weight { get; private set; }
/// <summary>
/// 前两行是free和more注意公式不同
/// </summary>
public System.Collections.Generic.List<int> Display { get; private set; }
public const int __ID__ = 1498702807;
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 "{ "
+ "PointID:" + PointID + ","
+ "Point:" + Point + ","
+ "Weight:" + Weight + ","
+ "Display:" + Bright.Common.StringUtil.CollectionToString(Display) + ","
+ "}";
}
partial void PostInit();
partial void PostResolve();
}
}