flatbuffers
This commit is contained in:
@@ -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) + ")"
|
||||
}
|
||||
Reference in New Issue
Block a user