flatbuffers

This commit is contained in:
Ilia Denisov
2026-03-22 19:43:45 +02:00
committed by GitHub
parent 73a4b0d3ec
commit d6a707d60e
13 changed files with 665 additions and 0 deletions
+49
View File
@@ -0,0 +1,49 @@
// Code generated by the FlatBuffers compiler. DO NOT EDIT.
package order
import (
flatbuffers "github.com/google/flatbuffers/go"
)
type CommandRaceQuit struct {
_tab flatbuffers.Table
}
func GetRootAsCommandRaceQuit(buf []byte, offset flatbuffers.UOffsetT) *CommandRaceQuit {
n := flatbuffers.GetUOffsetT(buf[offset:])
x := &CommandRaceQuit{}
x.Init(buf, n+offset)
return x
}
func FinishCommandRaceQuitBuffer(builder *flatbuffers.Builder, offset flatbuffers.UOffsetT) {
builder.Finish(offset)
}
func GetSizePrefixedRootAsCommandRaceQuit(buf []byte, offset flatbuffers.UOffsetT) *CommandRaceQuit {
n := flatbuffers.GetUOffsetT(buf[offset+flatbuffers.SizeUint32:])
x := &CommandRaceQuit{}
x.Init(buf, n+offset+flatbuffers.SizeUint32)
return x
}
func FinishSizePrefixedCommandRaceQuitBuffer(builder *flatbuffers.Builder, offset flatbuffers.UOffsetT) {
builder.FinishSizePrefixed(offset)
}
func (rcv *CommandRaceQuit) Init(buf []byte, i flatbuffers.UOffsetT) {
rcv._tab.Bytes = buf
rcv._tab.Pos = i
}
func (rcv *CommandRaceQuit) Table() flatbuffers.Table {
return rcv._tab
}
func CommandRaceQuitStart(builder *flatbuffers.Builder) {
builder.StartObject(0)
}
func CommandRaceQuitEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT {
return builder.EndObject()
}