2024-12-04 17:26:27 +08:00

74 lines
2.1 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 Luban;
using SimpleJSON;
namespace cfg.BlacksmithData
{
public sealed partial class ShopBuyData : Luban.BeanBase
{
public ShopBuyData(JSONNode _buf)
{
{ if(!_buf["ID"].IsNumber) { throw new SerializationException(); } ID = _buf["ID"]; }
{ if(!_buf["Guest"].IsString) { throw new SerializationException(); } Guest = _buf["Guest"]; }
{ if(!_buf["Guesticon"].IsString) { throw new SerializationException(); } Guesticon = _buf["Guesticon"]; }
{ if(!_buf["Guestyes"].IsString) { throw new SerializationException(); } Guestyes = _buf["Guestyes"]; }
{ if(!_buf["Guestno"].IsString) { throw new SerializationException(); } Guestno = _buf["Guestno"]; }
}
public static ShopBuyData DeserializeShopBuyData(JSONNode _buf)
{
return new BlacksmithData.ShopBuyData(_buf);
}
/// <summary>
/// ID
/// </summary>
public readonly int ID;
/// <summary>
/// 客人名称
/// </summary>
public readonly string Guest;
/// <summary>
/// 客人立绘
/// </summary>
public readonly string Guesticon;
/// <summary>
/// 给与武器成功的文本
/// </summary>
public readonly string Guestyes;
/// <summary>
/// 给与武器失败的文本
/// </summary>
public readonly string Guestno;
public const int __ID__ = -476459334;
public override int GetTypeId() => __ID__;
public void ResolveRef(Tables tables)
{
}
public override string ToString()
{
return "{ "
+ "ID:" + ID + ","
+ "Guest:" + Guest + ","
+ "Guesticon:" + Guesticon + ","
+ "Guestyes:" + Guestyes + ","
+ "Guestno:" + Guestno + ","
+ "}";
}
}
}