// 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) + ")" }