Files
CreatGame/Config/MiniTemplate/output/Gen/vector2.cs
2025-07-15 15:33:35 +08:00

46 lines
891 B
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;
namespace cfg
{
public partial struct vector2
{
public vector2(ByteBuf _buf)
{
X = _buf.ReadFloat();
Y = _buf.ReadFloat();
}
public static vector2 Deserializevector2(ByteBuf _buf)
{
return new vector2(_buf);
}
public readonly float X;
public readonly float Y;
public void ResolveRef(Tables tables)
{
}
public override string ToString()
{
return "{ "
+ "x:" + X + ","
+ "y:" + Y + ","
+ "}";
}
}
}