69 lines
1.7 KiB
C#
69 lines
1.7 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
|
|
{
|
|
|
|
/// <summary>
|
|
/// 免费效果参数
|
|
/// </summary>
|
|
public sealed partial class FreeSpinPoint : EventPartnerSpinType
|
|
{
|
|
public FreeSpinPoint(JSONNode _json) : base(_json)
|
|
{
|
|
{ if(!_json["SpinPoints"].IsNumber) { throw new SerializationException(); } SpinPoints = _json["SpinPoints"]; }
|
|
PostInit();
|
|
}
|
|
|
|
public FreeSpinPoint(int SpinPoints ) : base()
|
|
{
|
|
this.SpinPoints = SpinPoints;
|
|
PostInit();
|
|
}
|
|
|
|
public static FreeSpinPoint DeserializeFreeSpinPoint(JSONNode _json)
|
|
{
|
|
return new FreeSpinPoint(_json);
|
|
}
|
|
|
|
/// <summary>
|
|
/// 转到免费时此次获得的积分
|
|
/// </summary>
|
|
public int SpinPoints { get; private set; }
|
|
|
|
public const int __ID__ = -1147799230;
|
|
public override int GetTypeId() => __ID__;
|
|
|
|
public override void Resolve(Dictionary<string, object> _tables)
|
|
{
|
|
base.Resolve(_tables);
|
|
PostResolve();
|
|
}
|
|
|
|
public override void TranslateText(System.Func<string, string, string> translator)
|
|
{
|
|
base.TranslateText(translator);
|
|
}
|
|
|
|
public override string ToString()
|
|
{
|
|
return "{ "
|
|
+ "SpinPoints:" + SpinPoints + ","
|
|
+ "}";
|
|
}
|
|
|
|
partial void PostInit();
|
|
partial void PostResolve();
|
|
}
|
|
}
|