JisolGame/luban_examples/Projects/CfgValidator/Gen/test.CompositeJsonTable1.cs

51 lines
1.1 KiB
C#
Raw Permalink Normal View History

2023-11-05 03:26:09 +08:00
//------------------------------------------------------------------------------
// <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 System.Text.Json;
namespace cfg.test
{
public sealed partial class CompositeJsonTable1 : Luban.BeanBase
{
public CompositeJsonTable1(JsonElement _buf)
{
Id = _buf.GetProperty("id").GetInt32();
X = _buf.GetProperty("x").GetString();
}
public static CompositeJsonTable1 DeserializeCompositeJsonTable1(JsonElement _buf)
{
return new test.CompositeJsonTable1(_buf);
}
public readonly int Id;
public readonly string X;
public const int __ID__ = 1566207894;
public override int GetTypeId() => __ID__;
public void ResolveRef(Tables tables)
{
}
public override string ToString()
{
return "{ "
+ "id:" + Id + ","
+ "x:" + X + ","
+ "}";
}
}
}