39 lines
1.1 KiB
Go
39 lines
1.1 KiB
Go
// 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) + ")"
|
|
}
|