Documentation ¶
Index ¶
- Constants
- Variables
- func CreateAbility(builder *flatbuffers.Builder, id uint32, distance uint32) flatbuffers.UOffsetT
- func CreateTest(builder *flatbuffers.Builder, a int16, b int8) flatbuffers.UOffsetT
- func CreateVec3(builder *flatbuffers.Builder, x float32, y float32, z float32, test1 float64, ...) flatbuffers.UOffsetT
- func MonsterAddColor(builder *flatbuffers.Builder, color int8)
- func MonsterAddEnemy(builder *flatbuffers.Builder, enemy flatbuffers.UOffsetT)
- func MonsterAddFlex(builder *flatbuffers.Builder, flex flatbuffers.UOffsetT)
- func MonsterAddHp(builder *flatbuffers.Builder, hp int16)
- func MonsterAddInventory(builder *flatbuffers.Builder, inventory flatbuffers.UOffsetT)
- func MonsterAddMana(builder *flatbuffers.Builder, mana int16)
- func MonsterAddName(builder *flatbuffers.Builder, name flatbuffers.UOffsetT)
- func MonsterAddParentNamespaceTest(builder *flatbuffers.Builder, parentNamespaceTest flatbuffers.UOffsetT)
- func MonsterAddPos(builder *flatbuffers.Builder, pos flatbuffers.UOffsetT)
- func MonsterAddTest(builder *flatbuffers.Builder, test flatbuffers.UOffsetT)
- func MonsterAddTest4(builder *flatbuffers.Builder, test4 flatbuffers.UOffsetT)
- func MonsterAddTest5(builder *flatbuffers.Builder, test5 flatbuffers.UOffsetT)
- func MonsterAddTestType(builder *flatbuffers.Builder, testType byte)
- func MonsterAddTestarrayofbools(builder *flatbuffers.Builder, testarrayofbools flatbuffers.UOffsetT)
- func MonsterAddTestarrayofsortedstruct(builder *flatbuffers.Builder, testarrayofsortedstruct flatbuffers.UOffsetT)
- func MonsterAddTestarrayofstring(builder *flatbuffers.Builder, testarrayofstring flatbuffers.UOffsetT)
- func MonsterAddTestarrayofstring2(builder *flatbuffers.Builder, testarrayofstring2 flatbuffers.UOffsetT)
- func MonsterAddTestarrayoftables(builder *flatbuffers.Builder, testarrayoftables flatbuffers.UOffsetT)
- func MonsterAddTestbool(builder *flatbuffers.Builder, testbool byte)
- func MonsterAddTestempty(builder *flatbuffers.Builder, testempty flatbuffers.UOffsetT)
- func MonsterAddTestf(builder *flatbuffers.Builder, testf float32)
- func MonsterAddTestf2(builder *flatbuffers.Builder, testf2 float32)
- func MonsterAddTestf3(builder *flatbuffers.Builder, testf3 float32)
- func MonsterAddTesthashs32Fnv1(builder *flatbuffers.Builder, testhashs32Fnv1 int32)
- func MonsterAddTesthashs32Fnv1a(builder *flatbuffers.Builder, testhashs32Fnv1a int32)
- func MonsterAddTesthashs64Fnv1(builder *flatbuffers.Builder, testhashs64Fnv1 int64)
- func MonsterAddTesthashs64Fnv1a(builder *flatbuffers.Builder, testhashs64Fnv1a int64)
- func MonsterAddTesthashu32Fnv1(builder *flatbuffers.Builder, testhashu32Fnv1 uint32)
- func MonsterAddTesthashu32Fnv1a(builder *flatbuffers.Builder, testhashu32Fnv1a uint32)
- func MonsterAddTesthashu64Fnv1(builder *flatbuffers.Builder, testhashu64Fnv1 uint64)
- func MonsterAddTesthashu64Fnv1a(builder *flatbuffers.Builder, testhashu64Fnv1a uint64)
- func MonsterAddTestnestedflatbuffer(builder *flatbuffers.Builder, testnestedflatbuffer flatbuffers.UOffsetT)
- func MonsterAddVectorOfDoubles(builder *flatbuffers.Builder, vectorOfDoubles flatbuffers.UOffsetT)
- func MonsterAddVectorOfLongs(builder *flatbuffers.Builder, vectorOfLongs flatbuffers.UOffsetT)
- func MonsterEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT
- func MonsterStart(builder *flatbuffers.Builder)
- func MonsterStartFlexVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
- func MonsterStartInventoryVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
- func MonsterStartTest4Vector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
- func MonsterStartTest5Vector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
- func MonsterStartTestarrayofboolsVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
- func MonsterStartTestarrayofsortedstructVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
- func MonsterStartTestarrayofstring2Vector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
- func MonsterStartTestarrayofstringVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
- func MonsterStartTestarrayoftablesVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
- func MonsterStartTestnestedflatbufferVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
- func MonsterStartVectorOfDoublesVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
- func MonsterStartVectorOfLongsVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
- func RegisterMonsterStorageServer(s *grpc.Server, srv MonsterStorageServer)
- func StatAddCount(builder *flatbuffers.Builder, count uint16)
- func StatAddId(builder *flatbuffers.Builder, id flatbuffers.UOffsetT)
- func StatAddVal(builder *flatbuffers.Builder, val int64)
- func StatEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT
- func StatStart(builder *flatbuffers.Builder)
- func TestSimpleTableWithEnumAddColor(builder *flatbuffers.Builder, color int8)
- func TestSimpleTableWithEnumEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT
- func TestSimpleTableWithEnumStart(builder *flatbuffers.Builder)
- func TypeAliasesAddF32(builder *flatbuffers.Builder, f32 float32)
- func TypeAliasesAddF64(builder *flatbuffers.Builder, f64 float64)
- func TypeAliasesAddI16(builder *flatbuffers.Builder, i16 int16)
- func TypeAliasesAddI32(builder *flatbuffers.Builder, i32 int32)
- func TypeAliasesAddI64(builder *flatbuffers.Builder, i64 int64)
- func TypeAliasesAddI8(builder *flatbuffers.Builder, i8 int8)
- func TypeAliasesAddU16(builder *flatbuffers.Builder, u16 uint16)
- func TypeAliasesAddU32(builder *flatbuffers.Builder, u32 uint32)
- func TypeAliasesAddU64(builder *flatbuffers.Builder, u64 uint64)
- func TypeAliasesAddU8(builder *flatbuffers.Builder, u8 byte)
- func TypeAliasesAddV8(builder *flatbuffers.Builder, v8 flatbuffers.UOffsetT)
- func TypeAliasesAddVf64(builder *flatbuffers.Builder, vf64 flatbuffers.UOffsetT)
- func TypeAliasesEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT
- func TypeAliasesStart(builder *flatbuffers.Builder)
- func TypeAliasesStartV8Vector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
- func TypeAliasesStartVf64Vector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
- type Ability
- type Monster
- func (rcv *Monster) Color() int8
- func (rcv *Monster) Enemy(obj *Monster) *Monster
- func (rcv *Monster) Flex(j int) byte
- func (rcv *Monster) FlexBytes() []byte
- func (rcv *Monster) FlexLength() int
- func (rcv *Monster) Hp() int16
- func (rcv *Monster) Init(buf []byte, i flatbuffers.UOffsetT)
- func (rcv *Monster) Inventory(j int) byte
- func (rcv *Monster) InventoryBytes() []byte
- func (rcv *Monster) InventoryLength() int
- func (rcv *Monster) Mana() int16
- func (rcv *Monster) MutateColor(n int8) bool
- func (rcv *Monster) MutateHp(n int16) bool
- func (rcv *Monster) MutateMana(n int16) bool
- func (rcv *Monster) MutateTestType(n byte) bool
- func (rcv *Monster) MutateTestbool(n byte) bool
- func (rcv *Monster) MutateTestf(n float32) bool
- func (rcv *Monster) MutateTestf2(n float32) bool
- func (rcv *Monster) MutateTestf3(n float32) bool
- func (rcv *Monster) MutateTesthashs32Fnv1(n int32) bool
- func (rcv *Monster) MutateTesthashs32Fnv1a(n int32) bool
- func (rcv *Monster) MutateTesthashs64Fnv1(n int64) bool
- func (rcv *Monster) MutateTesthashs64Fnv1a(n int64) bool
- func (rcv *Monster) MutateTesthashu32Fnv1(n uint32) bool
- func (rcv *Monster) MutateTesthashu32Fnv1a(n uint32) bool
- func (rcv *Monster) MutateTesthashu64Fnv1(n uint64) bool
- func (rcv *Monster) MutateTesthashu64Fnv1a(n uint64) bool
- func (rcv *Monster) Name() []byte
- func (rcv *Monster) ParentNamespaceTest(obj *InParentNamespace) *InParentNamespace
- func (rcv *Monster) Pos(obj *Vec3) *Vec3
- func (rcv *Monster) Table() flatbuffers.Table
- func (rcv *Monster) Test(obj *flatbuffers.Table) bool
- func (rcv *Monster) Test4(obj *Test, j int) bool
- func (rcv *Monster) Test4Length() int
- func (rcv *Monster) Test5(obj *Test, j int) bool
- func (rcv *Monster) Test5Length() int
- func (rcv *Monster) TestType() byte
- func (rcv *Monster) Testarrayofbools(j int) byte
- func (rcv *Monster) TestarrayofboolsLength() int
- func (rcv *Monster) Testarrayofsortedstruct(obj *Ability, j int) bool
- func (rcv *Monster) TestarrayofsortedstructLength() int
- func (rcv *Monster) Testarrayofstring(j int) []byte
- func (rcv *Monster) Testarrayofstring2(j int) []byte
- func (rcv *Monster) Testarrayofstring2Length() int
- func (rcv *Monster) TestarrayofstringLength() int
- func (rcv *Monster) Testarrayoftables(obj *Monster, j int) bool
- func (rcv *Monster) TestarrayoftablesLength() int
- func (rcv *Monster) Testbool() byte
- func (rcv *Monster) Testempty(obj *Stat) *Stat
- func (rcv *Monster) Testf() float32
- func (rcv *Monster) Testf2() float32
- func (rcv *Monster) Testf3() float32
- func (rcv *Monster) Testhashs32Fnv1() int32
- func (rcv *Monster) Testhashs32Fnv1a() int32
- func (rcv *Monster) Testhashs64Fnv1() int64
- func (rcv *Monster) Testhashs64Fnv1a() int64
- func (rcv *Monster) Testhashu32Fnv1() uint32
- func (rcv *Monster) Testhashu32Fnv1a() uint32
- func (rcv *Monster) Testhashu64Fnv1() uint64
- func (rcv *Monster) Testhashu64Fnv1a() uint64
- func (rcv *Monster) Testnestedflatbuffer(j int) byte
- func (rcv *Monster) TestnestedflatbufferBytes() []byte
- func (rcv *Monster) TestnestedflatbufferLength() int
- func (rcv *Monster) VectorOfDoubles(j int) float64
- func (rcv *Monster) VectorOfDoublesLength() int
- func (rcv *Monster) VectorOfLongs(j int) int64
- func (rcv *Monster) VectorOfLongsLength() int
- type MonsterStorageClient
- type MonsterStorageServer
- type MonsterStorage_RetrieveClient
- type MonsterStorage_RetrieveServer
- type Stat
- type Test
- type TestSimpleTableWithEnum
- type TypeAliases
- func (rcv *TypeAliases) F32() float32
- func (rcv *TypeAliases) F64() float64
- func (rcv *TypeAliases) I16() int16
- func (rcv *TypeAliases) I32() int32
- func (rcv *TypeAliases) I64() int64
- func (rcv *TypeAliases) I8() int8
- func (rcv *TypeAliases) Init(buf []byte, i flatbuffers.UOffsetT)
- func (rcv *TypeAliases) MutateF32(n float32) bool
- func (rcv *TypeAliases) MutateF64(n float64) bool
- func (rcv *TypeAliases) MutateI16(n int16) bool
- func (rcv *TypeAliases) MutateI32(n int32) bool
- func (rcv *TypeAliases) MutateI64(n int64) bool
- func (rcv *TypeAliases) MutateI8(n int8) bool
- func (rcv *TypeAliases) MutateU16(n uint16) bool
- func (rcv *TypeAliases) MutateU32(n uint32) bool
- func (rcv *TypeAliases) MutateU64(n uint64) bool
- func (rcv *TypeAliases) MutateU8(n byte) bool
- func (rcv *TypeAliases) Table() flatbuffers.Table
- func (rcv *TypeAliases) U16() uint16
- func (rcv *TypeAliases) U32() uint32
- func (rcv *TypeAliases) U64() uint64
- func (rcv *TypeAliases) U8() byte
- func (rcv *TypeAliases) V8(j int) int8
- func (rcv *TypeAliases) V8Length() int
- func (rcv *TypeAliases) Vf64(j int) float64
- func (rcv *TypeAliases) Vf64Length() int
- type Vec3
- func (rcv *Vec3) Init(buf []byte, i flatbuffers.UOffsetT)
- func (rcv *Vec3) MutateTest1(n float64) bool
- func (rcv *Vec3) MutateTest2(n int8) bool
- func (rcv *Vec3) MutateX(n float32) bool
- func (rcv *Vec3) MutateY(n float32) bool
- func (rcv *Vec3) MutateZ(n float32) bool
- func (rcv *Vec3) Table() flatbuffers.Table
- func (rcv *Vec3) Test1() float64
- func (rcv *Vec3) Test2() int8
- func (rcv *Vec3) Test3(obj *Test) *Test
- func (rcv *Vec3) X() float32
- func (rcv *Vec3) Y() float32
- func (rcv *Vec3) Z() float32
Constants ¶
View Source
const ( AnyNONE = 0 AnyMonster = 1 AnyTestSimpleTableWithEnum = 2 AnyMyGame_Example2_Monster = 3 )
View Source
const ( ColorRed = 1 ColorGreen = 2 ColorBlue = 8 )
Variables ¶
View Source
var EnumNamesAny = map[int]string{ AnyNONE: "NONE", AnyMonster: "Monster", AnyTestSimpleTableWithEnum: "TestSimpleTableWithEnum", AnyMyGame_Example2_Monster: "MyGame_Example2_Monster", }
View Source
var EnumNamesColor = map[int]string{ ColorRed: "Red", ColorGreen: "Green", ColorBlue: "Blue", }
Functions ¶
func CreateAbility ¶ added in v1.7.0
func CreateAbility(builder *flatbuffers.Builder, id uint32, distance uint32) flatbuffers.UOffsetT
func CreateTest ¶
func CreateTest(builder *flatbuffers.Builder, a int16, b int8) flatbuffers.UOffsetT
func CreateVec3 ¶
func MonsterAddColor ¶
func MonsterAddColor(builder *flatbuffers.Builder, color int8)
func MonsterAddEnemy ¶
func MonsterAddEnemy(builder *flatbuffers.Builder, enemy flatbuffers.UOffsetT)
func MonsterAddFlex ¶ added in v1.7.0
func MonsterAddFlex(builder *flatbuffers.Builder, flex flatbuffers.UOffsetT)
func MonsterAddHp ¶
func MonsterAddHp(builder *flatbuffers.Builder, hp int16)
func MonsterAddInventory ¶
func MonsterAddInventory(builder *flatbuffers.Builder, inventory flatbuffers.UOffsetT)
func MonsterAddMana ¶
func MonsterAddMana(builder *flatbuffers.Builder, mana int16)
func MonsterAddName ¶
func MonsterAddName(builder *flatbuffers.Builder, name flatbuffers.UOffsetT)
func MonsterAddParentNamespaceTest ¶ added in v1.8.0
func MonsterAddParentNamespaceTest(builder *flatbuffers.Builder, parentNamespaceTest flatbuffers.UOffsetT)
func MonsterAddPos ¶
func MonsterAddPos(builder *flatbuffers.Builder, pos flatbuffers.UOffsetT)
func MonsterAddTest ¶
func MonsterAddTest(builder *flatbuffers.Builder, test flatbuffers.UOffsetT)
func MonsterAddTest4 ¶
func MonsterAddTest4(builder *flatbuffers.Builder, test4 flatbuffers.UOffsetT)
func MonsterAddTest5 ¶ added in v1.8.0
func MonsterAddTest5(builder *flatbuffers.Builder, test5 flatbuffers.UOffsetT)
func MonsterAddTestType ¶
func MonsterAddTestType(builder *flatbuffers.Builder, testType byte)
func MonsterAddTestarrayofbools ¶ added in v1.2.0
func MonsterAddTestarrayofbools(builder *flatbuffers.Builder, testarrayofbools flatbuffers.UOffsetT)
func MonsterAddTestarrayofsortedstruct ¶ added in v1.7.0
func MonsterAddTestarrayofsortedstruct(builder *flatbuffers.Builder, testarrayofsortedstruct flatbuffers.UOffsetT)
func MonsterAddTestarrayofstring ¶
func MonsterAddTestarrayofstring(builder *flatbuffers.Builder, testarrayofstring flatbuffers.UOffsetT)
func MonsterAddTestarrayofstring2 ¶ added in v1.4.0
func MonsterAddTestarrayofstring2(builder *flatbuffers.Builder, testarrayofstring2 flatbuffers.UOffsetT)
func MonsterAddTestarrayoftables ¶
func MonsterAddTestarrayoftables(builder *flatbuffers.Builder, testarrayoftables flatbuffers.UOffsetT)
func MonsterAddTestbool ¶ added in v1.1.0
func MonsterAddTestbool(builder *flatbuffers.Builder, testbool byte)
func MonsterAddTestempty ¶ added in v1.0.3
func MonsterAddTestempty(builder *flatbuffers.Builder, testempty flatbuffers.UOffsetT)
func MonsterAddTestf ¶ added in v1.4.0
func MonsterAddTestf(builder *flatbuffers.Builder, testf float32)
func MonsterAddTestf2 ¶ added in v1.4.0
func MonsterAddTestf2(builder *flatbuffers.Builder, testf2 float32)
func MonsterAddTestf3 ¶ added in v1.4.0
func MonsterAddTestf3(builder *flatbuffers.Builder, testf3 float32)
func MonsterAddTesthashs32Fnv1 ¶ added in v1.1.0
func MonsterAddTesthashs32Fnv1(builder *flatbuffers.Builder, testhashs32Fnv1 int32)
func MonsterAddTesthashs32Fnv1a ¶ added in v1.1.0
func MonsterAddTesthashs32Fnv1a(builder *flatbuffers.Builder, testhashs32Fnv1a int32)
func MonsterAddTesthashs64Fnv1 ¶ added in v1.1.0
func MonsterAddTesthashs64Fnv1(builder *flatbuffers.Builder, testhashs64Fnv1 int64)
func MonsterAddTesthashs64Fnv1a ¶ added in v1.1.0
func MonsterAddTesthashs64Fnv1a(builder *flatbuffers.Builder, testhashs64Fnv1a int64)
func MonsterAddTesthashu32Fnv1 ¶ added in v1.1.0
func MonsterAddTesthashu32Fnv1(builder *flatbuffers.Builder, testhashu32Fnv1 uint32)
func MonsterAddTesthashu32Fnv1a ¶ added in v1.1.0
func MonsterAddTesthashu32Fnv1a(builder *flatbuffers.Builder, testhashu32Fnv1a uint32)
func MonsterAddTesthashu64Fnv1 ¶ added in v1.1.0
func MonsterAddTesthashu64Fnv1(builder *flatbuffers.Builder, testhashu64Fnv1 uint64)
func MonsterAddTesthashu64Fnv1a ¶ added in v1.1.0
func MonsterAddTesthashu64Fnv1a(builder *flatbuffers.Builder, testhashu64Fnv1a uint64)
func MonsterAddTestnestedflatbuffer ¶
func MonsterAddTestnestedflatbuffer(builder *flatbuffers.Builder, testnestedflatbuffer flatbuffers.UOffsetT)
func MonsterAddVectorOfDoubles ¶ added in v1.8.0
func MonsterAddVectorOfDoubles(builder *flatbuffers.Builder, vectorOfDoubles flatbuffers.UOffsetT)
func MonsterAddVectorOfLongs ¶ added in v1.8.0
func MonsterAddVectorOfLongs(builder *flatbuffers.Builder, vectorOfLongs flatbuffers.UOffsetT)
func MonsterEnd ¶
func MonsterEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT
func MonsterStart ¶
func MonsterStart(builder *flatbuffers.Builder)
func MonsterStartFlexVector ¶ added in v1.7.0
func MonsterStartFlexVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
func MonsterStartInventoryVector ¶
func MonsterStartInventoryVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
func MonsterStartTest4Vector ¶
func MonsterStartTest4Vector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
func MonsterStartTest5Vector ¶ added in v1.8.0
func MonsterStartTest5Vector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
func MonsterStartTestarrayofboolsVector ¶ added in v1.2.0
func MonsterStartTestarrayofboolsVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
func MonsterStartTestarrayofsortedstructVector ¶ added in v1.7.0
func MonsterStartTestarrayofsortedstructVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
func MonsterStartTestarrayofstring2Vector ¶ added in v1.4.0
func MonsterStartTestarrayofstring2Vector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
func MonsterStartTestarrayofstringVector ¶
func MonsterStartTestarrayofstringVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
func MonsterStartTestarrayoftablesVector ¶
func MonsterStartTestarrayoftablesVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
func MonsterStartTestnestedflatbufferVector ¶
func MonsterStartTestnestedflatbufferVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
func MonsterStartVectorOfDoublesVector ¶ added in v1.8.0
func MonsterStartVectorOfDoublesVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
func MonsterStartVectorOfLongsVector ¶ added in v1.8.0
func MonsterStartVectorOfLongsVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
func RegisterMonsterStorageServer ¶ added in v1.5.0
func RegisterMonsterStorageServer(s *grpc.Server, srv MonsterStorageServer)
func StatAddCount ¶ added in v1.1.0
func StatAddCount(builder *flatbuffers.Builder, count uint16)
func StatAddId ¶ added in v1.0.3
func StatAddId(builder *flatbuffers.Builder, id flatbuffers.UOffsetT)
func StatAddVal ¶ added in v1.0.3
func StatAddVal(builder *flatbuffers.Builder, val int64)
func StatEnd ¶ added in v1.0.3
func StatEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT
func StatStart ¶ added in v1.0.3
func StatStart(builder *flatbuffers.Builder)
func TestSimpleTableWithEnumAddColor ¶ added in v1.2.0
func TestSimpleTableWithEnumAddColor(builder *flatbuffers.Builder, color int8)
func TestSimpleTableWithEnumEnd ¶ added in v1.2.0
func TestSimpleTableWithEnumEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT
func TestSimpleTableWithEnumStart ¶ added in v1.2.0
func TestSimpleTableWithEnumStart(builder *flatbuffers.Builder)
func TypeAliasesAddF32 ¶ added in v1.8.0
func TypeAliasesAddF32(builder *flatbuffers.Builder, f32 float32)
func TypeAliasesAddF64 ¶ added in v1.8.0
func TypeAliasesAddF64(builder *flatbuffers.Builder, f64 float64)
func TypeAliasesAddI16 ¶ added in v1.8.0
func TypeAliasesAddI16(builder *flatbuffers.Builder, i16 int16)
func TypeAliasesAddI32 ¶ added in v1.8.0
func TypeAliasesAddI32(builder *flatbuffers.Builder, i32 int32)
func TypeAliasesAddI64 ¶ added in v1.8.0
func TypeAliasesAddI64(builder *flatbuffers.Builder, i64 int64)
func TypeAliasesAddI8 ¶ added in v1.8.0
func TypeAliasesAddI8(builder *flatbuffers.Builder, i8 int8)
func TypeAliasesAddU16 ¶ added in v1.8.0
func TypeAliasesAddU16(builder *flatbuffers.Builder, u16 uint16)
func TypeAliasesAddU32 ¶ added in v1.8.0
func TypeAliasesAddU32(builder *flatbuffers.Builder, u32 uint32)
func TypeAliasesAddU64 ¶ added in v1.8.0
func TypeAliasesAddU64(builder *flatbuffers.Builder, u64 uint64)
func TypeAliasesAddU8 ¶ added in v1.8.0
func TypeAliasesAddU8(builder *flatbuffers.Builder, u8 byte)
func TypeAliasesAddV8 ¶ added in v1.8.0
func TypeAliasesAddV8(builder *flatbuffers.Builder, v8 flatbuffers.UOffsetT)
func TypeAliasesAddVf64 ¶ added in v1.8.0
func TypeAliasesAddVf64(builder *flatbuffers.Builder, vf64 flatbuffers.UOffsetT)
func TypeAliasesEnd ¶ added in v1.8.0
func TypeAliasesEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT
func TypeAliasesStart ¶ added in v1.8.0
func TypeAliasesStart(builder *flatbuffers.Builder)
func TypeAliasesStartV8Vector ¶ added in v1.8.0
func TypeAliasesStartV8Vector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
func TypeAliasesStartVf64Vector ¶ added in v1.8.0
func TypeAliasesStartVf64Vector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
Types ¶
type Ability ¶ added in v1.7.0
type Ability struct {
// contains filtered or unexported fields
}
func (*Ability) MutateDistance ¶ added in v1.7.0
func (*Ability) Table ¶ added in v1.7.0
func (rcv *Ability) Table() flatbuffers.Table
type Monster ¶
type Monster struct {
// contains filtered or unexported fields
}
/ an example documentation comment: monster object
func GetRootAsMonster ¶
func GetRootAsMonster(buf []byte, offset flatbuffers.UOffsetT) *Monster
func (*Monster) Enemy ¶
/ an example documentation comment: this will end up in the generated code / multiline too
func (*Monster) FlexLength ¶ added in v1.7.0
func (*Monster) InventoryBytes ¶ added in v1.2.0
func (*Monster) InventoryLength ¶
func (*Monster) MutateColor ¶ added in v1.4.0
func (*Monster) MutateMana ¶ added in v1.4.0
func (*Monster) MutateTestType ¶ added in v1.4.0
func (*Monster) MutateTestbool ¶ added in v1.4.0
func (*Monster) MutateTestf ¶ added in v1.4.0
func (*Monster) MutateTestf2 ¶ added in v1.4.0
func (*Monster) MutateTestf3 ¶ added in v1.4.0
func (*Monster) MutateTesthashs32Fnv1 ¶ added in v1.4.0
func (*Monster) MutateTesthashs32Fnv1a ¶ added in v1.4.0
func (*Monster) MutateTesthashs64Fnv1 ¶ added in v1.4.0
func (*Monster) MutateTesthashs64Fnv1a ¶ added in v1.4.0
func (*Monster) MutateTesthashu32Fnv1 ¶ added in v1.4.0
func (*Monster) MutateTesthashu32Fnv1a ¶ added in v1.4.0
func (*Monster) MutateTesthashu64Fnv1 ¶ added in v1.4.0
func (*Monster) MutateTesthashu64Fnv1a ¶ added in v1.4.0
func (*Monster) ParentNamespaceTest ¶ added in v1.8.0
func (rcv *Monster) ParentNamespaceTest(obj *InParentNamespace) *InParentNamespace
func (*Monster) Table ¶ added in v1.5.0
func (rcv *Monster) Table() flatbuffers.Table
func (*Monster) Test4Length ¶
func (*Monster) Test5Length ¶ added in v1.8.0
func (*Monster) Testarrayofbools ¶ added in v1.2.0
func (*Monster) TestarrayofboolsLength ¶ added in v1.2.0
func (*Monster) Testarrayofsortedstruct ¶ added in v1.7.0
func (*Monster) TestarrayofsortedstructLength ¶ added in v1.7.0
func (*Monster) Testarrayofstring ¶
func (*Monster) Testarrayofstring2 ¶ added in v1.4.0
func (*Monster) Testarrayofstring2Length ¶ added in v1.4.0
func (*Monster) TestarrayofstringLength ¶
func (*Monster) Testarrayoftables ¶
/ an example documentation comment: this will end up in the generated code / multiline too
func (*Monster) TestarrayoftablesLength ¶
func (*Monster) Testhashs32Fnv1 ¶ added in v1.1.0
func (*Monster) Testhashs32Fnv1a ¶ added in v1.1.0
func (*Monster) Testhashs64Fnv1 ¶ added in v1.1.0
func (*Monster) Testhashs64Fnv1a ¶ added in v1.1.0
func (*Monster) Testhashu32Fnv1 ¶ added in v1.1.0
func (*Monster) Testhashu32Fnv1a ¶ added in v1.1.0
func (*Monster) Testhashu64Fnv1 ¶ added in v1.1.0
func (*Monster) Testhashu64Fnv1a ¶ added in v1.1.0
func (*Monster) Testnestedflatbuffer ¶
func (*Monster) TestnestedflatbufferBytes ¶ added in v1.2.0
func (*Monster) TestnestedflatbufferLength ¶
func (*Monster) VectorOfDoubles ¶ added in v1.8.0
func (*Monster) VectorOfDoublesLength ¶ added in v1.8.0
func (*Monster) VectorOfLongs ¶ added in v1.8.0
func (*Monster) VectorOfLongsLength ¶ added in v1.8.0
type MonsterStorageClient ¶ added in v1.5.0
type MonsterStorageClient interface { Store(ctx context.Context, in *flatbuffers.Builder, opts ...grpc.CallOption) (*Stat, error) Retrieve(ctx context.Context, in *flatbuffers.Builder, opts ...grpc.CallOption) (MonsterStorage_RetrieveClient, error) }
Client API for MonsterStorage service
func NewMonsterStorageClient ¶ added in v1.5.0
func NewMonsterStorageClient(cc *grpc.ClientConn) MonsterStorageClient
type MonsterStorageServer ¶ added in v1.5.0
type MonsterStorageServer interface { Store(context.Context, *Monster) (*flatbuffers.Builder, error) Retrieve(*Stat, MonsterStorage_RetrieveServer) error }
Server API for MonsterStorage service
type MonsterStorage_RetrieveClient ¶ added in v1.6.0
type MonsterStorage_RetrieveClient interface { Recv() (*Monster, error) grpc.ClientStream }
type MonsterStorage_RetrieveServer ¶ added in v1.6.0
type MonsterStorage_RetrieveServer interface { Send(*flatbuffers.Builder) error grpc.ServerStream }
type Stat ¶ added in v1.0.3
type Stat struct {
// contains filtered or unexported fields
}
func GetRootAsStat ¶ added in v1.4.0
func GetRootAsStat(buf []byte, offset flatbuffers.UOffsetT) *Stat
func (*Stat) MutateCount ¶ added in v1.4.0
func (*Stat) Table ¶ added in v1.5.0
func (rcv *Stat) Table() flatbuffers.Table
type Test ¶
type Test struct {
// contains filtered or unexported fields
}
func (*Test) Table ¶ added in v1.5.0
func (rcv *Test) Table() flatbuffers.Table
type TestSimpleTableWithEnum ¶ added in v1.2.0
type TestSimpleTableWithEnum struct {
// contains filtered or unexported fields
}
func GetRootAsTestSimpleTableWithEnum ¶ added in v1.4.0
func GetRootAsTestSimpleTableWithEnum(buf []byte, offset flatbuffers.UOffsetT) *TestSimpleTableWithEnum
func (*TestSimpleTableWithEnum) Color ¶ added in v1.2.0
func (rcv *TestSimpleTableWithEnum) Color() int8
func (*TestSimpleTableWithEnum) Init ¶ added in v1.2.0
func (rcv *TestSimpleTableWithEnum) Init(buf []byte, i flatbuffers.UOffsetT)
func (*TestSimpleTableWithEnum) MutateColor ¶ added in v1.4.0
func (rcv *TestSimpleTableWithEnum) MutateColor(n int8) bool
func (*TestSimpleTableWithEnum) Table ¶ added in v1.5.0
func (rcv *TestSimpleTableWithEnum) Table() flatbuffers.Table
type TypeAliases ¶ added in v1.8.0
type TypeAliases struct {
// contains filtered or unexported fields
}
func GetRootAsTypeAliases ¶ added in v1.8.0
func GetRootAsTypeAliases(buf []byte, offset flatbuffers.UOffsetT) *TypeAliases
func (*TypeAliases) F32 ¶ added in v1.8.0
func (rcv *TypeAliases) F32() float32
func (*TypeAliases) F64 ¶ added in v1.8.0
func (rcv *TypeAliases) F64() float64
func (*TypeAliases) I16 ¶ added in v1.8.0
func (rcv *TypeAliases) I16() int16
func (*TypeAliases) I32 ¶ added in v1.8.0
func (rcv *TypeAliases) I32() int32
func (*TypeAliases) I64 ¶ added in v1.8.0
func (rcv *TypeAliases) I64() int64
func (*TypeAliases) I8 ¶ added in v1.8.0
func (rcv *TypeAliases) I8() int8
func (*TypeAliases) Init ¶ added in v1.8.0
func (rcv *TypeAliases) Init(buf []byte, i flatbuffers.UOffsetT)
func (*TypeAliases) MutateF32 ¶ added in v1.8.0
func (rcv *TypeAliases) MutateF32(n float32) bool
func (*TypeAliases) MutateF64 ¶ added in v1.8.0
func (rcv *TypeAliases) MutateF64(n float64) bool
func (*TypeAliases) MutateI16 ¶ added in v1.8.0
func (rcv *TypeAliases) MutateI16(n int16) bool
func (*TypeAliases) MutateI32 ¶ added in v1.8.0
func (rcv *TypeAliases) MutateI32(n int32) bool
func (*TypeAliases) MutateI64 ¶ added in v1.8.0
func (rcv *TypeAliases) MutateI64(n int64) bool
func (*TypeAliases) MutateI8 ¶ added in v1.8.0
func (rcv *TypeAliases) MutateI8(n int8) bool
func (*TypeAliases) MutateU16 ¶ added in v1.8.0
func (rcv *TypeAliases) MutateU16(n uint16) bool
func (*TypeAliases) MutateU32 ¶ added in v1.8.0
func (rcv *TypeAliases) MutateU32(n uint32) bool
func (*TypeAliases) MutateU64 ¶ added in v1.8.0
func (rcv *TypeAliases) MutateU64(n uint64) bool
func (*TypeAliases) MutateU8 ¶ added in v1.8.0
func (rcv *TypeAliases) MutateU8(n byte) bool
func (*TypeAliases) Table ¶ added in v1.8.0
func (rcv *TypeAliases) Table() flatbuffers.Table
func (*TypeAliases) U16 ¶ added in v1.8.0
func (rcv *TypeAliases) U16() uint16
func (*TypeAliases) U32 ¶ added in v1.8.0
func (rcv *TypeAliases) U32() uint32
func (*TypeAliases) U64 ¶ added in v1.8.0
func (rcv *TypeAliases) U64() uint64
func (*TypeAliases) U8 ¶ added in v1.8.0
func (rcv *TypeAliases) U8() byte
func (*TypeAliases) V8 ¶ added in v1.8.0
func (rcv *TypeAliases) V8(j int) int8
func (*TypeAliases) V8Length ¶ added in v1.8.0
func (rcv *TypeAliases) V8Length() int
func (*TypeAliases) Vf64 ¶ added in v1.8.0
func (rcv *TypeAliases) Vf64(j int) float64
func (*TypeAliases) Vf64Length ¶ added in v1.8.0
func (rcv *TypeAliases) Vf64Length() int
type Vec3 ¶
type Vec3 struct {
// contains filtered or unexported fields
}
func (*Vec3) MutateTest1 ¶ added in v1.4.0
func (*Vec3) MutateTest2 ¶ added in v1.4.0
func (*Vec3) Table ¶ added in v1.5.0
func (rcv *Vec3) Table() flatbuffers.Table
Click to show internal directories.
Click to hide internal directories.