Files
Fishing2Server/Entity/Generate/ConfigTable/vector3.cs
2026-03-05 15:03:45 +08:00

54 lines
1.0 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 Newtonsoft.Json.Linq;
namespace cfg
{
public partial struct vector3
{
public vector3(JToken _buf)
{
JObject _obj = _buf as JObject;
X = (float)_obj.GetValue("x");
Y = (float)_obj.GetValue("y");
Z = (float)_obj.GetValue("z");
}
public static vector3 Deserializevector3(JToken _buf)
{
return new vector3(_buf);
}
public readonly float X;
public readonly float Y;
public readonly float Z;
public void ResolveRef(Tables tables)
{
}
public override string ToString()
{
return "{ "
+ "x:" + X + ","
+ "y:" + Y + ","
+ "z:" + Z + ","
+ "}";
}
}
}