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

73 lines
1.8 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 MMTRodPack : Bright.Config.BeanBase
{
public JSONNode json;
public MMTRodPack(JSONNode _json)
{
{ if(!_json["OldPackID"].IsNumber) { throw new SerializationException(); } OldPackID = _json["OldPackID"]; }
{ if(!_json["NewPackID"].IsNumber) { throw new SerializationException(); } NewPackID = _json["NewPackID"]; }
json = _json;
PostInit();
}
public MMTRodPack(int OldPackID, int NewPackID )
{
this.OldPackID = OldPackID;
this.NewPackID = NewPackID;
PostInit();
}
public static MMTRodPack DeserializeMMTRodPack(JSONNode _json)
{
return new MMTRodPack(_json);
}
/// <summary>
/// Pack表主键
/// </summary>
public int OldPackID { get; private set; }
/// <summary>
/// Pack表主键
/// </summary>
public int NewPackID { get; private set; }
public const int __ID__ = -580972756;
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 "{ "
+ "OldPackID:" + OldPackID + ","
+ "NewPackID:" + NewPackID + ","
+ "}";
}
partial void PostInit();
partial void PostResolve();
}
}