//------------------------------------------------------------------------------
//
// 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 MMTStringData : Bright.Config.BeanBase
{
public JSONNode json;
public MMTStringData(JSONNode _json)
{
{ if(!_json["OldString"].IsString) { throw new SerializationException(); } OldString = _json["OldString"]; }
{ if(!_json["NewString"].IsString) { throw new SerializationException(); } NewString = _json["NewString"]; }
json = _json;
PostInit();
}
public MMTStringData(string OldString, string NewString )
{
this.OldString = OldString;
this.NewString = NewString;
PostInit();
}
public static MMTStringData DeserializeMMTStringData(JSONNode _json)
{
return new MMTStringData(_json);
}
///
/// 旧名称
///
public string OldString { get; private set; }
///
/// 新名称
///
public string NewString { get; private set; }
public const int __ID__ = 32082223;
public override int GetTypeId() => __ID__;
public void Resolve(Dictionary _tables)
{
PostResolve();
}
public void TranslateText(System.Func translator)
{
}
public override string ToString()
{
return "{ "
+ "OldString:" + OldString + ","
+ "NewString:" + NewString + ","
+ "}";
}
partial void PostInit();
partial void PostResolve();
}
}