2018-10-03 18:19:40 +00:00
|
|
|
// Code generated by the FlatBuffers compiler. DO NOT EDIT.
|
2014-07-11 23:12:35 +00:00
|
|
|
|
|
|
|
package Example
|
|
|
|
|
2019-05-17 19:41:39 +00:00
|
|
|
import "strconv"
|
|
|
|
|
|
|
|
type Any byte
|
|
|
|
|
2014-07-11 23:12:35 +00:00
|
|
|
const (
|
2019-05-17 19:41:39 +00:00
|
|
|
AnyNONE Any = 0
|
|
|
|
AnyMonster Any = 1
|
2018-07-26 23:40:56 +00:00
|
|
|
AnyTestSimpleTableWithEnum Any = 2
|
|
|
|
AnyMyGame_Example2_Monster Any = 3
|
2014-07-11 23:12:35 +00:00
|
|
|
)
|
2016-07-26 02:37:16 +00:00
|
|
|
|
2018-07-26 23:40:56 +00:00
|
|
|
var EnumNamesAny = map[Any]string{
|
2019-05-17 19:41:39 +00:00
|
|
|
AnyNONE: "NONE",
|
|
|
|
AnyMonster: "Monster",
|
|
|
|
AnyTestSimpleTableWithEnum: "TestSimpleTableWithEnum",
|
|
|
|
AnyMyGame_Example2_Monster: "MyGame_Example2_Monster",
|
2016-07-26 02:37:16 +00:00
|
|
|
}
|
|
|
|
|
2019-05-17 19:41:39 +00:00
|
|
|
var EnumValuesAny = map[string]Any{
|
|
|
|
"NONE": AnyNONE,
|
|
|
|
"Monster": AnyMonster,
|
|
|
|
"TestSimpleTableWithEnum": AnyTestSimpleTableWithEnum,
|
|
|
|
"MyGame_Example2_Monster": AnyMyGame_Example2_Monster,
|
|
|
|
}
|
|
|
|
|
|
|
|
func (v Any) String() string {
|
|
|
|
if s, ok := EnumNamesAny[v]; ok {
|
|
|
|
return s
|
|
|
|
}
|
|
|
|
return "Any(" + strconv.FormatInt(int64(v), 10) + ")"
|
|
|
|
}
|