DESKTOP-5RP3AKU\Jisol 0014eff5e0 update
2023-11-05 03:26:09 +08:00

61 lines
1.3 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 System.Text.Json;
namespace cfg.test2
{
/// <summary>
/// 矩形
/// </summary>
public sealed partial class Rectangle : test.Shape
{
public Rectangle(JsonElement _buf) : base(_buf)
{
Width = _buf.GetProperty("width").GetSingle();
Height = _buf.GetProperty("height").GetSingle();
}
public static Rectangle DeserializeRectangle(JsonElement _buf)
{
return new test2.Rectangle(_buf);
}
/// <summary>
/// 宽度
/// </summary>
public readonly float Width;
/// <summary>
/// 高度
/// </summary>
public readonly float Height;
public const int __ID__ = 694982337;
public override int GetTypeId() => __ID__;
public override void ResolveRef(Tables tables)
{
base.ResolveRef(tables);
}
public override string ToString()
{
return "{ "
+ "width:" + Width + ","
+ "height:" + Height + ","
+ "}";
}
}
}