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

80 lines
2.3 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 CountryPoints : Bright.Config.BeanBase
{
public JSONNode json;
public CountryPoints(JSONNode _json)
{
{ if(!_json["Country"].IsString) { throw new SerializationException(); } Country = _json["Country"]; }
{ if(!_json["IosInitPoints"].IsNumber) { throw new SerializationException(); } IosInitPoints = _json["IosInitPoints"]; }
{ if(!_json["AndroidInitPoints"].IsNumber) { throw new SerializationException(); } AndroidInitPoints = _json["AndroidInitPoints"]; }
json = _json;
PostInit();
}
public CountryPoints(string Country, int IosInitPoints, int AndroidInitPoints )
{
this.Country = Country;
this.IosInitPoints = IosInitPoints;
this.AndroidInitPoints = AndroidInitPoints;
PostInit();
}
public static CountryPoints DeserializeCountryPoints(JSONNode _json)
{
return new CountryPoints(_json);
}
/// <summary>
/// 国家地区
/// </summary>
public string Country { get; private set; }
/// <summary>
/// ios初始vip积分
/// </summary>
public int IosInitPoints { get; private set; }
/// <summary>
/// android初始vip积分
/// </summary>
public int AndroidInitPoints { get; private set; }
public const int __ID__ = -950974471;
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 "{ "
+ "Country:" + Country + ","
+ "IosInitPoints:" + IosInitPoints + ","
+ "AndroidInitPoints:" + AndroidInitPoints + ","
+ "}";
}
partial void PostInit();
partial void PostResolve();
}
}