//------------------------------------------------------------------------------ // // 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 vec4 { public vec4(float X, float Y, float Z, float W) { this.X = X; this.Y = Y; this.Z = Z; this.W = W; PostInit(); } public vec4(ByteBuf _buf) { X = _buf.ReadFloat(); Y = _buf.ReadFloat(); Z = _buf.ReadFloat(); W = _buf.ReadFloat(); // Localization Key Begin // Localization Key End PostInit(); } public static vec4 Deserializevec4(ByteBuf _buf) { return new vec4(_buf); } public float X { private set; get; } public float Y { private set; get; } public float Z { private set; get; } public float W { private set; get; } public void ResolveRef(TablesComponent tables) { PostResolveRef(); } public void TranslateText(System.Func translator) { } public override string ToString() { return "{ " + "x:" + X + "," + "y:" + Y + "," + "z:" + Z + "," + "w:" + W + "," + "}"; } partial void PostInit(); partial void PostResolveRef(); } }