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

package order

import "strconv"

type PlanetProduction int8

const (
	PlanetProductionUNKNOWN PlanetProduction = 0
	PlanetProductionMAT     PlanetProduction = 1
	PlanetProductionCAP     PlanetProduction = 2
	PlanetProductionDRIVE   PlanetProduction = 3
	PlanetProductionWEAPONS PlanetProduction = 4
	PlanetProductionSHIELDS PlanetProduction = 5
	PlanetProductionCARGO   PlanetProduction = 6
	PlanetProductionSCIENCE PlanetProduction = 7
	PlanetProductionSHIP    PlanetProduction = 8
)

var EnumNamesPlanetProduction = map[PlanetProduction]string{
	PlanetProductionUNKNOWN: "UNKNOWN",
	PlanetProductionMAT:     "MAT",
	PlanetProductionCAP:     "CAP",
	PlanetProductionDRIVE:   "DRIVE",
	PlanetProductionWEAPONS: "WEAPONS",
	PlanetProductionSHIELDS: "SHIELDS",
	PlanetProductionCARGO:   "CARGO",
	PlanetProductionSCIENCE: "SCIENCE",
	PlanetProductionSHIP:    "SHIP",
}

var EnumValuesPlanetProduction = map[string]PlanetProduction{
	"UNKNOWN": PlanetProductionUNKNOWN,
	"MAT":     PlanetProductionMAT,
	"CAP":     PlanetProductionCAP,
	"DRIVE":   PlanetProductionDRIVE,
	"WEAPONS": PlanetProductionWEAPONS,
	"SHIELDS": PlanetProductionSHIELDS,
	"CARGO":   PlanetProductionCARGO,
	"SCIENCE": PlanetProductionSCIENCE,
	"SHIP":    PlanetProductionSHIP,
}

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