flatbuffers

This commit is contained in:
Ilia Denisov
2026-03-22 19:43:45 +02:00
committed by GitHub
parent 73a4b0d3ec
commit d6a707d60e
13 changed files with 665 additions and 0 deletions
+29
View File
@@ -0,0 +1,29 @@
// 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) + ")"
}