Files
galaxy-game/pkg/schema/fbs/order/Relation.go
T
Ilia Denisov d6a707d60e flatbuffers
2026-03-22 19:43:45 +02:00

30 lines
526 B
Go

// Code generated by the FlatBuffers compiler. DO NOT EDIT.
package order
import "strconv"
type Relation int8
const (
RelationWar Relation = 0
RelationPeace Relation = 1
)
var EnumNamesRelation = map[Relation]string{
RelationWar: "War",
RelationPeace: "Peace",
}
var EnumValuesRelation = map[string]Relation{
"War": RelationWar,
"Peace": RelationPeace,
}
func (v Relation) String() string {
if s, ok := EnumNamesRelation[v]; ok {
return s
}
return "Relation(" + strconv.FormatInt(int64(v), 10) + ")"
}