//------------------------------------------------------------------------------
//
// This code was generated by a tool.
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
//
//------------------------------------------------------------------------------
using Bright.Serialization;
using System.Collections.Generic;
using SimpleJSON;
namespace cfg
{
public sealed partial class EventPinballCountlessExit : Bright.Config.BeanBase
{
public JSONNode json;
public EventPinballCountlessExit(JSONNode _json)
{
{ if(!_json["ExitIndex"].IsNumber) { throw new SerializationException(); } ExitIndex = _json["ExitIndex"]; }
{ if(!_json["PointMag"].IsNumber) { throw new SerializationException(); } PointMag = _json["PointMag"]; }
{ if(!_json["FxIndex"].IsNumber) { throw new SerializationException(); } FxIndex = _json["FxIndex"]; }
json = _json;
PostInit();
}
public EventPinballCountlessExit(int ExitIndex, int PointMag, int FxIndex )
{
this.ExitIndex = ExitIndex;
this.PointMag = PointMag;
this.FxIndex = FxIndex;
PostInit();
}
public static EventPinballCountlessExit DeserializeEventPinballCountlessExit(JSONNode _json)
{
return new EventPinballCountlessExit(_json);
}
public int ExitIndex { get; private set; }
public int PointMag { get; private set; }
public int FxIndex { get; private set; }
public const int __ID__ = -1013641908;
public override int GetTypeId() => __ID__;
public void Resolve(Dictionary _tables)
{
PostResolve();
}
public void TranslateText(System.Func translator)
{
}
public override string ToString()
{
return "{ "
+ "ExitIndex:" + ExitIndex + ","
+ "PointMag:" + PointMag + ","
+ "FxIndex:" + FxIndex + ","
+ "}";
}
partial void PostInit();
partial void PostResolve();
}
}