// Code generated by the FlatBuffers compiler. DO NOT EDIT.

package order

import "strconv"

type CommandPayload byte

const (
	CommandPayloadNONE                      CommandPayload = 0
	CommandPayloadCommandRaceQuit           CommandPayload = 1
	CommandPayloadCommandRaceVote           CommandPayload = 2
	CommandPayloadCommandRaceRelation       CommandPayload = 3
	CommandPayloadCommandShipClassCreate    CommandPayload = 4
	CommandPayloadCommandShipClassMerge     CommandPayload = 5
	CommandPayloadCommandShipClassRemove    CommandPayload = 6
	CommandPayloadCommandShipGroupBreak     CommandPayload = 7
	CommandPayloadCommandShipGroupLoad      CommandPayload = 8
	CommandPayloadCommandShipGroupUnload    CommandPayload = 9
	CommandPayloadCommandShipGroupSend      CommandPayload = 10
	CommandPayloadCommandShipGroupUpgrade   CommandPayload = 11
	CommandPayloadCommandShipGroupMerge     CommandPayload = 12
	CommandPayloadCommandShipGroupDismantle CommandPayload = 13
	CommandPayloadCommandShipGroupTransfer  CommandPayload = 14
	CommandPayloadCommandShipGroupJoinFleet CommandPayload = 15
	CommandPayloadCommandFleetMerge         CommandPayload = 16
	CommandPayloadCommandFleetSend          CommandPayload = 17
	CommandPayloadCommandScienceCreate      CommandPayload = 18
	CommandPayloadCommandScienceRemove      CommandPayload = 19
	CommandPayloadCommandPlanetRename       CommandPayload = 20
	CommandPayloadCommandPlanetProduce      CommandPayload = 21
	CommandPayloadCommandPlanetRouteSet     CommandPayload = 22
	CommandPayloadCommandPlanetRouteRemove  CommandPayload = 23
)

var EnumNamesCommandPayload = map[CommandPayload]string{
	CommandPayloadNONE:                      "NONE",
	CommandPayloadCommandRaceQuit:           "CommandRaceQuit",
	CommandPayloadCommandRaceVote:           "CommandRaceVote",
	CommandPayloadCommandRaceRelation:       "CommandRaceRelation",
	CommandPayloadCommandShipClassCreate:    "CommandShipClassCreate",
	CommandPayloadCommandShipClassMerge:     "CommandShipClassMerge",
	CommandPayloadCommandShipClassRemove:    "CommandShipClassRemove",
	CommandPayloadCommandShipGroupBreak:     "CommandShipGroupBreak",
	CommandPayloadCommandShipGroupLoad:      "CommandShipGroupLoad",
	CommandPayloadCommandShipGroupUnload:    "CommandShipGroupUnload",
	CommandPayloadCommandShipGroupSend:      "CommandShipGroupSend",
	CommandPayloadCommandShipGroupUpgrade:   "CommandShipGroupUpgrade",
	CommandPayloadCommandShipGroupMerge:     "CommandShipGroupMerge",
	CommandPayloadCommandShipGroupDismantle: "CommandShipGroupDismantle",
	CommandPayloadCommandShipGroupTransfer:  "CommandShipGroupTransfer",
	CommandPayloadCommandShipGroupJoinFleet: "CommandShipGroupJoinFleet",
	CommandPayloadCommandFleetMerge:         "CommandFleetMerge",
	CommandPayloadCommandFleetSend:          "CommandFleetSend",
	CommandPayloadCommandScienceCreate:      "CommandScienceCreate",
	CommandPayloadCommandScienceRemove:      "CommandScienceRemove",
	CommandPayloadCommandPlanetRename:       "CommandPlanetRename",
	CommandPayloadCommandPlanetProduce:      "CommandPlanetProduce",
	CommandPayloadCommandPlanetRouteSet:     "CommandPlanetRouteSet",
	CommandPayloadCommandPlanetRouteRemove:  "CommandPlanetRouteRemove",
}

var EnumValuesCommandPayload = map[string]CommandPayload{
	"NONE":                      CommandPayloadNONE,
	"CommandRaceQuit":           CommandPayloadCommandRaceQuit,
	"CommandRaceVote":           CommandPayloadCommandRaceVote,
	"CommandRaceRelation":       CommandPayloadCommandRaceRelation,
	"CommandShipClassCreate":    CommandPayloadCommandShipClassCreate,
	"CommandShipClassMerge":     CommandPayloadCommandShipClassMerge,
	"CommandShipClassRemove":    CommandPayloadCommandShipClassRemove,
	"CommandShipGroupBreak":     CommandPayloadCommandShipGroupBreak,
	"CommandShipGroupLoad":      CommandPayloadCommandShipGroupLoad,
	"CommandShipGroupUnload":    CommandPayloadCommandShipGroupUnload,
	"CommandShipGroupSend":      CommandPayloadCommandShipGroupSend,
	"CommandShipGroupUpgrade":   CommandPayloadCommandShipGroupUpgrade,
	"CommandShipGroupMerge":     CommandPayloadCommandShipGroupMerge,
	"CommandShipGroupDismantle": CommandPayloadCommandShipGroupDismantle,
	"CommandShipGroupTransfer":  CommandPayloadCommandShipGroupTransfer,
	"CommandShipGroupJoinFleet": CommandPayloadCommandShipGroupJoinFleet,
	"CommandFleetMerge":         CommandPayloadCommandFleetMerge,
	"CommandFleetSend":          CommandPayloadCommandFleetSend,
	"CommandScienceCreate":      CommandPayloadCommandScienceCreate,
	"CommandScienceRemove":      CommandPayloadCommandScienceRemove,
	"CommandPlanetRename":       CommandPayloadCommandPlanetRename,
	"CommandPlanetProduce":      CommandPayloadCommandPlanetProduce,
	"CommandPlanetRouteSet":     CommandPayloadCommandPlanetRouteSet,
	"CommandPlanetRouteRemove":  CommandPayloadCommandPlanetRouteRemove,
}

func (v CommandPayload) String() string {
	if s, ok := EnumNamesCommandPayload[v]; ok {
		return s
	}
	return "CommandPayload(" + strconv.FormatInt(int64(v), 10) + ")"
}
