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
+38
View File
@@ -0,0 +1,38 @@
// Code generated by the FlatBuffers compiler. DO NOT EDIT.
package order
import "strconv"
type Commands byte
const (
CommandsNONE Commands = 0
CommandsCommandRaceQuit Commands = 1
CommandsCommandRaceVote Commands = 2
CommandsCommandRaceRelation Commands = 3
CommandsCommandShipClassCreate Commands = 4
)
var EnumNamesCommands = map[Commands]string{
CommandsNONE: "NONE",
CommandsCommandRaceQuit: "CommandRaceQuit",
CommandsCommandRaceVote: "CommandRaceVote",
CommandsCommandRaceRelation: "CommandRaceRelation",
CommandsCommandShipClassCreate: "CommandShipClassCreate",
}
var EnumValuesCommands = map[string]Commands{
"NONE": CommandsNONE,
"CommandRaceQuit": CommandsCommandRaceQuit,
"CommandRaceVote": CommandsCommandRaceVote,
"CommandRaceRelation": CommandsCommandRaceRelation,
"CommandShipClassCreate": CommandsCommandShipClassCreate,
}
func (v Commands) String() string {
if s, ok := EnumNamesCommands[v]; ok {
return s
}
return "Commands(" + strconv.FormatInt(int64(v), 10) + ")"
}