flatbuffers & transcoders

This commit is contained in:
Ilia Denisov
2026-03-31 19:16:34 +02:00
committed by GitHub
parent 6e01d73a5e
commit f616e3f5ca
75 changed files with 10540 additions and 0 deletions
+50
View File
@@ -0,0 +1,50 @@
// 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) + ")"
}