//------------------------------------------------------------------------------
//
// 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 EventMatchShelf : Bright.Config.BeanBase
{
public JSONNode json;
public EventMatchShelf(JSONNode _json)
{
{ if(!_json["ItemCount"].IsNumber) { throw new SerializationException(); } ItemCount = _json["ItemCount"]; }
{ if(!_json["Level"].IsNumber) { throw new SerializationException(); } Level = _json["Level"]; }
json = _json;
PostInit();
}
public EventMatchShelf(int ItemCount, int Level )
{
this.ItemCount = ItemCount;
this.Level = Level;
PostInit();
}
public static EventMatchShelf DeserializeEventMatchShelf(JSONNode _json)
{
return new EventMatchShelf(_json);
}
public int ItemCount { get; private set; }
public int Level { get; private set; }
public const int __ID__ = 425129343;
public override int GetTypeId() => __ID__;
public void Resolve(Dictionary _tables)
{
PostResolve();
}
public void TranslateText(System.Func translator)
{
}
public override string ToString()
{
return "{ "
+ "ItemCount:" + ItemCount + ","
+ "Level:" + Level + ","
+ "}";
}
partial void PostInit();
partial void PostResolve();
}
}