//------------------------------------------------------------------------------ // // This code was generated by a tool. // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // //------------------------------------------------------------------------------ using Luban; using AlicizaX.Config; namespace Game.Config { public partial struct vec2 { public vec2(float X, float Y) { this.X = X; this.Y = Y; PostInit(); } public vec2(ByteBuf _buf) { X = _buf.ReadFloat(); Y = _buf.ReadFloat(); // Localization Key Begin // Localization Key End PostInit(); } public static vec2 Deserializevec2(ByteBuf _buf) { return new vec2(_buf); } public float X { private set; get; } public float Y { private set; get; } public void ResolveRef(TablesComponent tables) { PostResolveRef(); } public void TranslateText(System.Func translator) { } public override string ToString() { return "{ " + "x:" + X + "," + "y:" + Y + "," + "}"; } partial void PostInit(); partial void PostResolveRef(); } }