Documentation ¶
Index ¶
- Constants
- Variables
- func CreateAbility(builder *flatbuffers.Builder, id uint32, distance uint32) flatbuffers.UOffsetT
- func CreateStructOfStructs(builder *flatbuffers.Builder, a_id uint32, a_distance uint32, b_a int16, ...) flatbuffers.UOffsetT
- func CreateStructOfStructsOfStructs(builder *flatbuffers.Builder, a_a_id uint32, a_a_distance uint32, a_b_a int16, ...) 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 FinishMonsterBuffer(builder *flatbuffers.Builder, offset flatbuffers.UOffsetT)
- func FinishReferrableBuffer(builder *flatbuffers.Builder, offset flatbuffers.UOffsetT)
- func FinishSizePrefixedMonsterBuffer(builder *flatbuffers.Builder, offset flatbuffers.UOffsetT)
- func FinishSizePrefixedReferrableBuffer(builder *flatbuffers.Builder, offset flatbuffers.UOffsetT)
- func FinishSizePrefixedStatBuffer(builder *flatbuffers.Builder, offset flatbuffers.UOffsetT)
- func FinishSizePrefixedTestSimpleTableWithEnumBuffer(builder *flatbuffers.Builder, offset flatbuffers.UOffsetT)
- func FinishSizePrefixedTypeAliasesBuffer(builder *flatbuffers.Builder, offset flatbuffers.UOffsetT)
- func FinishStatBuffer(builder *flatbuffers.Builder, offset flatbuffers.UOffsetT)
- func FinishTestSimpleTableWithEnumBuffer(builder *flatbuffers.Builder, offset flatbuffers.UOffsetT)
- func FinishTypeAliasesBuffer(builder *flatbuffers.Builder, offset flatbuffers.UOffsetT)
- func MonsterAddAnyAmbiguous(builder *flatbuffers.Builder, anyAmbiguous flatbuffers.UOffsetT)
- func MonsterAddAnyAmbiguousType(builder *flatbuffers.Builder, anyAmbiguousType AnyAmbiguousAliases)
- func MonsterAddAnyUnique(builder *flatbuffers.Builder, anyUnique flatbuffers.UOffsetT)
- func MonsterAddAnyUniqueType(builder *flatbuffers.Builder, anyUniqueType AnyUniqueAliases)
- func MonsterAddCoOwningReference(builder *flatbuffers.Builder, coOwningReference uint64)
- func MonsterAddColor(builder *flatbuffers.Builder, color Color)
- func MonsterAddDoubleInfDefault(builder *flatbuffers.Builder, doubleInfDefault float64)
- func MonsterAddEnemy(builder *flatbuffers.Builder, enemy flatbuffers.UOffsetT)
- func MonsterAddFlex(builder *flatbuffers.Builder, flex flatbuffers.UOffsetT)
- func MonsterAddHp(builder *flatbuffers.Builder, hp int16)
- func MonsterAddInfDefault(builder *flatbuffers.Builder, infDefault float32)
- func MonsterAddInfinityDefault(builder *flatbuffers.Builder, infinityDefault float32)
- func MonsterAddInventory(builder *flatbuffers.Builder, inventory flatbuffers.UOffsetT)
- func MonsterAddLongEnumNonEnumDefault(builder *flatbuffers.Builder, longEnumNonEnumDefault LongEnum)
- func MonsterAddLongEnumNormalDefault(builder *flatbuffers.Builder, longEnumNormalDefault LongEnum)
- func MonsterAddMana(builder *flatbuffers.Builder, mana int16)
- func MonsterAddName(builder *flatbuffers.Builder, name flatbuffers.UOffsetT)
- func MonsterAddNanDefault(builder *flatbuffers.Builder, nanDefault float32)
- func MonsterAddNativeInline(builder *flatbuffers.Builder, nativeInline flatbuffers.UOffsetT)
- func MonsterAddNegativeInfDefault(builder *flatbuffers.Builder, negativeInfDefault float32)
- func MonsterAddNegativeInfinityDefault(builder *flatbuffers.Builder, negativeInfinityDefault float32)
- func MonsterAddNonOwningReference(builder *flatbuffers.Builder, nonOwningReference uint64)
- func MonsterAddParentNamespaceTest(builder *flatbuffers.Builder, parentNamespaceTest flatbuffers.UOffsetT)
- func MonsterAddPos(builder *flatbuffers.Builder, pos flatbuffers.UOffsetT)
- func MonsterAddPositiveInfDefault(builder *flatbuffers.Builder, positiveInfDefault float32)
- func MonsterAddPositiveInfinityDefault(builder *flatbuffers.Builder, positiveInfinityDefault float32)
- func MonsterAddScalarKeySortedTables(builder *flatbuffers.Builder, scalarKeySortedTables flatbuffers.UOffsetT)
- func MonsterAddSignedEnum(builder *flatbuffers.Builder, signedEnum Race)
- func MonsterAddSingleWeakReference(builder *flatbuffers.Builder, singleWeakReference uint64)
- 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 Any)
- 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 bool)
- 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 MonsterAddTestrequirednestedflatbuffer(builder *flatbuffers.Builder, ...)
- func MonsterAddVectorOfCoOwningReferences(builder *flatbuffers.Builder, vectorOfCoOwningReferences flatbuffers.UOffsetT)
- func MonsterAddVectorOfDoubles(builder *flatbuffers.Builder, vectorOfDoubles flatbuffers.UOffsetT)
- func MonsterAddVectorOfEnums(builder *flatbuffers.Builder, vectorOfEnums flatbuffers.UOffsetT)
- func MonsterAddVectorOfLongs(builder *flatbuffers.Builder, vectorOfLongs flatbuffers.UOffsetT)
- func MonsterAddVectorOfNonOwningReferences(builder *flatbuffers.Builder, vectorOfNonOwningReferences flatbuffers.UOffsetT)
- func MonsterAddVectorOfReferrables(builder *flatbuffers.Builder, vectorOfReferrables flatbuffers.UOffsetT)
- func MonsterAddVectorOfStrongReferrables(builder *flatbuffers.Builder, vectorOfStrongReferrables flatbuffers.UOffsetT)
- func MonsterAddVectorOfWeakReferences(builder *flatbuffers.Builder, vectorOfWeakReferences flatbuffers.UOffsetT)
- func MonsterBufferHasIdentifier(buf []byte) bool
- func MonsterEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT
- func MonsterKeyCompare(o1, o2 flatbuffers.UOffsetT, buf []byte) bool
- func MonsterStart(builder *flatbuffers.Builder)
- func MonsterStartFlexVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
- func MonsterStartInventoryVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
- func MonsterStartScalarKeySortedTablesVector(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 MonsterStartTestrequirednestedflatbufferVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
- func MonsterStartVectorOfCoOwningReferencesVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
- func MonsterStartVectorOfDoublesVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
- func MonsterStartVectorOfEnumsVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
- func MonsterStartVectorOfLongsVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
- func MonsterStartVectorOfNonOwningReferencesVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
- func MonsterStartVectorOfReferrablesVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
- func MonsterStartVectorOfStrongReferrablesVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
- func MonsterStartVectorOfWeakReferencesVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
- func ReferrableAddId(builder *flatbuffers.Builder, id uint64)
- func ReferrableEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT
- func ReferrableKeyCompare(o1, o2 flatbuffers.UOffsetT, buf []byte) bool
- func ReferrableStart(builder *flatbuffers.Builder)
- func RegisterMonsterStorageServer(s grpc.ServiceRegistrar, srv MonsterStorageServer)
- func SizePrefixedMonsterBufferHasIdentifier(buf []byte) bool
- 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 StatKeyCompare(o1, o2 flatbuffers.UOffsetT, buf []byte) bool
- func StatStart(builder *flatbuffers.Builder)
- func TestSimpleTableWithEnumAddColor(builder *flatbuffers.Builder, color Color)
- 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
- func (rcv *Ability) Distance() uint32
- func (rcv *Ability) Id() uint32
- func (rcv *Ability) Init(buf []byte, i flatbuffers.UOffsetT)
- func (rcv *Ability) MutateDistance(n uint32) bool
- func (rcv *Ability) MutateId(n uint32) bool
- func (rcv *Ability) Table() flatbuffers.Table
- func (rcv *Ability) UnPack() *AbilityT
- func (rcv *Ability) UnPackTo(t *AbilityT)
- type AbilityT
- type Any
- type AnyAmbiguousAliases
- type AnyAmbiguousAliasesT
- type AnyT
- type AnyUniqueAliases
- type AnyUniqueAliasesT
- type Color
- type LongEnum
- type Monster
- func (rcv *Monster) AnyAmbiguous(obj *flatbuffers.Table) bool
- func (rcv *Monster) AnyAmbiguousType() AnyAmbiguousAliases
- func (rcv *Monster) AnyUnique(obj *flatbuffers.Table) bool
- func (rcv *Monster) AnyUniqueType() AnyUniqueAliases
- func (rcv *Monster) CoOwningReference() uint64
- func (rcv *Monster) Color() Color
- func (rcv *Monster) DoubleInfDefault() float64
- 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) InfDefault() float32
- func (rcv *Monster) InfinityDefault() float32
- 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) LongEnumNonEnumDefault() LongEnum
- func (rcv *Monster) LongEnumNormalDefault() LongEnum
- func (rcv *Monster) LookupByKey(key string, vectorLocation flatbuffers.UOffsetT, buf []byte) bool
- func (rcv *Monster) Mana() int16
- func (rcv *Monster) MutateAnyAmbiguousType(n AnyAmbiguousAliases) bool
- func (rcv *Monster) MutateAnyUniqueType(n AnyUniqueAliases) bool
- func (rcv *Monster) MutateCoOwningReference(n uint64) bool
- func (rcv *Monster) MutateColor(n Color) bool
- func (rcv *Monster) MutateDoubleInfDefault(n float64) bool
- func (rcv *Monster) MutateFlex(j int, n byte) bool
- func (rcv *Monster) MutateHp(n int16) bool
- func (rcv *Monster) MutateInfDefault(n float32) bool
- func (rcv *Monster) MutateInfinityDefault(n float32) bool
- func (rcv *Monster) MutateInventory(j int, n byte) bool
- func (rcv *Monster) MutateLongEnumNonEnumDefault(n LongEnum) bool
- func (rcv *Monster) MutateLongEnumNormalDefault(n LongEnum) bool
- func (rcv *Monster) MutateMana(n int16) bool
- func (rcv *Monster) MutateNanDefault(n float32) bool
- func (rcv *Monster) MutateNegativeInfDefault(n float32) bool
- func (rcv *Monster) MutateNegativeInfinityDefault(n float32) bool
- func (rcv *Monster) MutateNonOwningReference(n uint64) bool
- func (rcv *Monster) MutatePositiveInfDefault(n float32) bool
- func (rcv *Monster) MutatePositiveInfinityDefault(n float32) bool
- func (rcv *Monster) MutateSignedEnum(n Race) bool
- func (rcv *Monster) MutateSingleWeakReference(n uint64) bool
- func (rcv *Monster) MutateTestType(n Any) bool
- func (rcv *Monster) MutateTestarrayofbools(j int, n bool) bool
- func (rcv *Monster) MutateTestbool(n bool) 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) MutateTestnestedflatbuffer(j int, n byte) bool
- func (rcv *Monster) MutateTestrequirednestedflatbuffer(j int, n byte) bool
- func (rcv *Monster) MutateVectorOfCoOwningReferences(j int, n uint64) bool
- func (rcv *Monster) MutateVectorOfDoubles(j int, n float64) bool
- func (rcv *Monster) MutateVectorOfEnums(j int, n Color) bool
- func (rcv *Monster) MutateVectorOfLongs(j int, n int64) bool
- func (rcv *Monster) MutateVectorOfNonOwningReferences(j int, n uint64) bool
- func (rcv *Monster) MutateVectorOfWeakReferences(j int, n uint64) bool
- func (rcv *Monster) Name() []byte
- func (rcv *Monster) NanDefault() float32
- func (rcv *Monster) NativeInline(obj *Test) *Test
- func (rcv *Monster) NegativeInfDefault() float32
- func (rcv *Monster) NegativeInfinityDefault() float32
- func (rcv *Monster) NonOwningReference() uint64
- func (rcv *Monster) ParentNamespaceTest(obj *MyGame.InParentNamespace) *MyGame.InParentNamespace
- func (rcv *Monster) Pos(obj *Vec3) *Vec3
- func (rcv *Monster) PositiveInfDefault() float32
- func (rcv *Monster) PositiveInfinityDefault() float32
- func (rcv *Monster) ScalarKeySortedTables(obj *Stat, j int) bool
- func (rcv *Monster) ScalarKeySortedTablesByKey(obj *Stat, key uint16) bool
- func (rcv *Monster) ScalarKeySortedTablesLength() int
- func (rcv *Monster) SignedEnum() Race
- func (rcv *Monster) SingleWeakReference() uint64
- 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() Any
- func (rcv *Monster) Testarrayofbools(j int) bool
- 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) TestarrayoftablesByKey(obj *Monster, key string) bool
- func (rcv *Monster) TestarrayoftablesLength() int
- func (rcv *Monster) Testbool() bool
- 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) Testrequirednestedflatbuffer(j int) byte
- func (rcv *Monster) TestrequirednestedflatbufferBytes() []byte
- func (rcv *Monster) TestrequirednestedflatbufferLength() int
- func (rcv *Monster) UnPack() *MonsterT
- func (rcv *Monster) UnPackTo(t *MonsterT)
- func (rcv *Monster) VectorOfCoOwningReferences(j int) uint64
- func (rcv *Monster) VectorOfCoOwningReferencesLength() int
- func (rcv *Monster) VectorOfDoubles(j int) float64
- func (rcv *Monster) VectorOfDoublesLength() int
- func (rcv *Monster) VectorOfEnums(j int) Color
- func (rcv *Monster) VectorOfEnumsBytes() []byte
- func (rcv *Monster) VectorOfEnumsLength() int
- func (rcv *Monster) VectorOfLongs(j int) int64
- func (rcv *Monster) VectorOfLongsLength() int
- func (rcv *Monster) VectorOfNonOwningReferences(j int) uint64
- func (rcv *Monster) VectorOfNonOwningReferencesLength() int
- func (rcv *Monster) VectorOfReferrables(obj *Referrable, j int) bool
- func (rcv *Monster) VectorOfReferrablesByKey(obj *Referrable, key uint64) bool
- func (rcv *Monster) VectorOfReferrablesLength() int
- func (rcv *Monster) VectorOfStrongReferrables(obj *Referrable, j int) bool
- func (rcv *Monster) VectorOfStrongReferrablesByKey(obj *Referrable, key uint64) bool
- func (rcv *Monster) VectorOfStrongReferrablesLength() int
- func (rcv *Monster) VectorOfWeakReferences(j int) uint64
- func (rcv *Monster) VectorOfWeakReferencesLength() int
- type MonsterStorageClient
- type MonsterStorageServer
- type MonsterStorage_GetMaxHitPointClient
- type MonsterStorage_GetMaxHitPointServer
- type MonsterStorage_GetMinMaxHitPointsClient
- type MonsterStorage_GetMinMaxHitPointsServer
- type MonsterStorage_RetrieveClient
- type MonsterStorage_RetrieveServer
- type MonsterT
- type Race
- type Referrable
- func (rcv *Referrable) Id() uint64
- func (rcv *Referrable) Init(buf []byte, i flatbuffers.UOffsetT)
- func (rcv *Referrable) LookupByKey(key uint64, vectorLocation flatbuffers.UOffsetT, buf []byte) bool
- func (rcv *Referrable) MutateId(n uint64) bool
- func (rcv *Referrable) Table() flatbuffers.Table
- func (rcv *Referrable) UnPack() *ReferrableT
- func (rcv *Referrable) UnPackTo(t *ReferrableT)
- type ReferrableT
- type Stat
- func (rcv *Stat) Count() uint16
- func (rcv *Stat) Id() []byte
- func (rcv *Stat) Init(buf []byte, i flatbuffers.UOffsetT)
- func (rcv *Stat) LookupByKey(key uint16, vectorLocation flatbuffers.UOffsetT, buf []byte) bool
- func (rcv *Stat) MutateCount(n uint16) bool
- func (rcv *Stat) MutateVal(n int64) bool
- func (rcv *Stat) Table() flatbuffers.Table
- func (rcv *Stat) UnPack() *StatT
- func (rcv *Stat) UnPackTo(t *StatT)
- func (rcv *Stat) Val() int64
- type StatT
- type StructOfStructs
- func (rcv *StructOfStructs) A(obj *Ability) *Ability
- func (rcv *StructOfStructs) B(obj *Test) *Test
- func (rcv *StructOfStructs) C(obj *Ability) *Ability
- func (rcv *StructOfStructs) Init(buf []byte, i flatbuffers.UOffsetT)
- func (rcv *StructOfStructs) Table() flatbuffers.Table
- func (rcv *StructOfStructs) UnPack() *StructOfStructsT
- func (rcv *StructOfStructs) UnPackTo(t *StructOfStructsT)
- type StructOfStructsOfStructs
- func (rcv *StructOfStructsOfStructs) A(obj *StructOfStructs) *StructOfStructs
- func (rcv *StructOfStructsOfStructs) Init(buf []byte, i flatbuffers.UOffsetT)
- func (rcv *StructOfStructsOfStructs) Table() flatbuffers.Table
- func (rcv *StructOfStructsOfStructs) UnPack() *StructOfStructsOfStructsT
- func (rcv *StructOfStructsOfStructs) UnPackTo(t *StructOfStructsOfStructsT)
- type StructOfStructsOfStructsT
- type StructOfStructsT
- type Test
- type TestSimpleTableWithEnum
- func (rcv *TestSimpleTableWithEnum) Color() Color
- func (rcv *TestSimpleTableWithEnum) Init(buf []byte, i flatbuffers.UOffsetT)
- func (rcv *TestSimpleTableWithEnum) MutateColor(n Color) bool
- func (rcv *TestSimpleTableWithEnum) Table() flatbuffers.Table
- func (rcv *TestSimpleTableWithEnum) UnPack() *TestSimpleTableWithEnumT
- func (rcv *TestSimpleTableWithEnum) UnPackTo(t *TestSimpleTableWithEnumT)
- type TestSimpleTableWithEnumT
- type TestT
- 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) MutateV8(j int, n int8) bool
- func (rcv *TypeAliases) MutateVf64(j int, n float64) 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) UnPack() *TypeAliasesT
- func (rcv *TypeAliases) UnPackTo(t *TypeAliasesT)
- 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 TypeAliasesT
- type UnimplementedMonsterStorageServer
- func (UnimplementedMonsterStorageServer) GetMaxHitPoint(MonsterStorage_GetMaxHitPointServer) error
- func (UnimplementedMonsterStorageServer) GetMinMaxHitPoints(MonsterStorage_GetMinMaxHitPointsServer) error
- func (UnimplementedMonsterStorageServer) Retrieve(*Stat, MonsterStorage_RetrieveServer) error
- func (UnimplementedMonsterStorageServer) Store(context.Context, *Monster) (*flatbuffers.Builder, error)
- type UnsafeMonsterStorageServer
- type Vec3
- func (rcv *Vec3) Init(buf []byte, i flatbuffers.UOffsetT)
- func (rcv *Vec3) MutateTest1(n float64) bool
- func (rcv *Vec3) MutateTest2(n Color) 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() Color
- func (rcv *Vec3) Test3(obj *Test) *Test
- func (rcv *Vec3) UnPack() *Vec3T
- func (rcv *Vec3) UnPackTo(t *Vec3T)
- func (rcv *Vec3) X() float32
- func (rcv *Vec3) Y() float32
- func (rcv *Vec3) Z() float32
- type Vec3T
Constants ¶
View Source
const MonsterIdentifier = "MONS"
Variables ¶
View Source
var EnumNamesAny = map[Any]string{ AnyNONE: "NONE", AnyMonster: "Monster", AnyTestSimpleTableWithEnum: "TestSimpleTableWithEnum", AnyMyGame_Example2_Monster: "MyGame_Example2_Monster", }
View Source
var EnumNamesAnyAmbiguousAliases = map[AnyAmbiguousAliases]string{ AnyAmbiguousAliasesNONE: "NONE", AnyAmbiguousAliasesM1: "M1", AnyAmbiguousAliasesM2: "M2", AnyAmbiguousAliasesM3: "M3", }
View Source
var EnumNamesAnyUniqueAliases = map[AnyUniqueAliases]string{ AnyUniqueAliasesNONE: "NONE", AnyUniqueAliasesM: "M", AnyUniqueAliasesTS: "TS", AnyUniqueAliasesM2: "M2", }
View Source
var EnumNamesColor = map[Color]string{ ColorRed: "Red", ColorGreen: "Green", ColorBlue: "Blue", }
View Source
var EnumNamesLongEnum = map[LongEnum]string{ LongEnumLongOne: "LongOne", LongEnumLongTwo: "LongTwo", LongEnumLongBig: "LongBig", }
View Source
var EnumNamesRace = map[Race]string{ RaceNone: "None", RaceHuman: "Human", RaceDwarf: "Dwarf", RaceElf: "Elf", }
View Source
var EnumValuesAny = map[string]Any{ "NONE": AnyNONE, "Monster": AnyMonster, "TestSimpleTableWithEnum": AnyTestSimpleTableWithEnum, "MyGame_Example2_Monster": AnyMyGame_Example2_Monster, }
View Source
var EnumValuesAnyAmbiguousAliases = map[string]AnyAmbiguousAliases{ "NONE": AnyAmbiguousAliasesNONE, "M1": AnyAmbiguousAliasesM1, "M2": AnyAmbiguousAliasesM2, "M3": AnyAmbiguousAliasesM3, }
View Source
var EnumValuesAnyUniqueAliases = map[string]AnyUniqueAliases{ "NONE": AnyUniqueAliasesNONE, "M": AnyUniqueAliasesM, "TS": AnyUniqueAliasesTS, "M2": AnyUniqueAliasesM2, }
View Source
var EnumValuesColor = map[string]Color{ "Red": ColorRed, "Green": ColorGreen, "Blue": ColorBlue, }
View Source
var EnumValuesLongEnum = map[string]LongEnum{ "LongOne": LongEnumLongOne, "LongTwo": LongEnumLongTwo, "LongBig": LongEnumLongBig, }
Functions ¶
func CreateAbility ¶ added in v1.7.0
func CreateAbility(builder *flatbuffers.Builder, id uint32, distance uint32) flatbuffers.UOffsetT
func CreateStructOfStructs ¶
func CreateStructOfStructs(builder *flatbuffers.Builder, a_id uint32, a_distance uint32, b_a int16, b_b int8, c_id uint32, c_distance uint32) flatbuffers.UOffsetT
func CreateStructOfStructsOfStructs ¶
func CreateStructOfStructsOfStructs(builder *flatbuffers.Builder, a_a_id uint32, a_a_distance uint32, a_b_a int16, a_b_b int8, a_c_id uint32, a_c_distance uint32) flatbuffers.UOffsetT
func CreateTest ¶
func CreateTest(builder *flatbuffers.Builder, a int16, b int8) flatbuffers.UOffsetT
func CreateVec3 ¶
func FinishMonsterBuffer ¶
func FinishMonsterBuffer(builder *flatbuffers.Builder, offset flatbuffers.UOffsetT)
func FinishReferrableBuffer ¶
func FinishReferrableBuffer(builder *flatbuffers.Builder, offset flatbuffers.UOffsetT)
func FinishSizePrefixedMonsterBuffer ¶
func FinishSizePrefixedMonsterBuffer(builder *flatbuffers.Builder, offset flatbuffers.UOffsetT)
func FinishSizePrefixedReferrableBuffer ¶
func FinishSizePrefixedReferrableBuffer(builder *flatbuffers.Builder, offset flatbuffers.UOffsetT)
func FinishSizePrefixedStatBuffer ¶
func FinishSizePrefixedStatBuffer(builder *flatbuffers.Builder, offset flatbuffers.UOffsetT)
func FinishSizePrefixedTestSimpleTableWithEnumBuffer ¶
func FinishSizePrefixedTestSimpleTableWithEnumBuffer(builder *flatbuffers.Builder, offset flatbuffers.UOffsetT)
func FinishSizePrefixedTypeAliasesBuffer ¶
func FinishSizePrefixedTypeAliasesBuffer(builder *flatbuffers.Builder, offset flatbuffers.UOffsetT)
func FinishStatBuffer ¶
func FinishStatBuffer(builder *flatbuffers.Builder, offset flatbuffers.UOffsetT)
func FinishTestSimpleTableWithEnumBuffer ¶
func FinishTestSimpleTableWithEnumBuffer(builder *flatbuffers.Builder, offset flatbuffers.UOffsetT)
func FinishTypeAliasesBuffer ¶
func FinishTypeAliasesBuffer(builder *flatbuffers.Builder, offset flatbuffers.UOffsetT)
func MonsterAddAnyAmbiguous ¶ added in v1.11.0
func MonsterAddAnyAmbiguous(builder *flatbuffers.Builder, anyAmbiguous flatbuffers.UOffsetT)
func MonsterAddAnyAmbiguousType ¶ added in v1.11.0
func MonsterAddAnyAmbiguousType(builder *flatbuffers.Builder, anyAmbiguousType AnyAmbiguousAliases)
func MonsterAddAnyUnique ¶ added in v1.11.0
func MonsterAddAnyUnique(builder *flatbuffers.Builder, anyUnique flatbuffers.UOffsetT)
func MonsterAddAnyUniqueType ¶ added in v1.11.0
func MonsterAddAnyUniqueType(builder *flatbuffers.Builder, anyUniqueType AnyUniqueAliases)
func MonsterAddCoOwningReference ¶ added in v1.9.0
func MonsterAddCoOwningReference(builder *flatbuffers.Builder, coOwningReference uint64)
func MonsterAddColor ¶
func MonsterAddColor(builder *flatbuffers.Builder, color Color)
func MonsterAddDoubleInfDefault ¶
func MonsterAddDoubleInfDefault(builder *flatbuffers.Builder, doubleInfDefault float64)
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 MonsterAddInfDefault ¶
func MonsterAddInfDefault(builder *flatbuffers.Builder, infDefault float32)
func MonsterAddInfinityDefault ¶
func MonsterAddInfinityDefault(builder *flatbuffers.Builder, infinityDefault float32)
func MonsterAddInventory ¶
func MonsterAddInventory(builder *flatbuffers.Builder, inventory flatbuffers.UOffsetT)
func MonsterAddLongEnumNonEnumDefault ¶
func MonsterAddLongEnumNonEnumDefault(builder *flatbuffers.Builder, longEnumNonEnumDefault LongEnum)
func MonsterAddLongEnumNormalDefault ¶
func MonsterAddLongEnumNormalDefault(builder *flatbuffers.Builder, longEnumNormalDefault LongEnum)
func MonsterAddMana ¶
func MonsterAddMana(builder *flatbuffers.Builder, mana int16)
func MonsterAddName ¶
func MonsterAddName(builder *flatbuffers.Builder, name flatbuffers.UOffsetT)
func MonsterAddNanDefault ¶
func MonsterAddNanDefault(builder *flatbuffers.Builder, nanDefault float32)
func MonsterAddNativeInline ¶
func MonsterAddNativeInline(builder *flatbuffers.Builder, nativeInline flatbuffers.UOffsetT)
func MonsterAddNegativeInfDefault ¶
func MonsterAddNegativeInfDefault(builder *flatbuffers.Builder, negativeInfDefault float32)
func MonsterAddNegativeInfinityDefault ¶
func MonsterAddNegativeInfinityDefault(builder *flatbuffers.Builder, negativeInfinityDefault float32)
func MonsterAddNonOwningReference ¶ added in v1.9.0
func MonsterAddNonOwningReference(builder *flatbuffers.Builder, nonOwningReference uint64)
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 MonsterAddPositiveInfDefault ¶
func MonsterAddPositiveInfDefault(builder *flatbuffers.Builder, positiveInfDefault float32)
func MonsterAddPositiveInfinityDefault ¶
func MonsterAddPositiveInfinityDefault(builder *flatbuffers.Builder, positiveInfinityDefault float32)
func MonsterAddScalarKeySortedTables ¶
func MonsterAddScalarKeySortedTables(builder *flatbuffers.Builder, scalarKeySortedTables flatbuffers.UOffsetT)
func MonsterAddSignedEnum ¶ added in v1.12.0
func MonsterAddSignedEnum(builder *flatbuffers.Builder, signedEnum Race)
func MonsterAddSingleWeakReference ¶ added in v1.9.0
func MonsterAddSingleWeakReference(builder *flatbuffers.Builder, singleWeakReference uint64)
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 Any)
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 bool)
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 MonsterAddTestrequirednestedflatbuffer ¶
func MonsterAddTestrequirednestedflatbuffer(builder *flatbuffers.Builder, testrequirednestedflatbuffer flatbuffers.UOffsetT)
func MonsterAddVectorOfCoOwningReferences ¶ added in v1.9.0
func MonsterAddVectorOfCoOwningReferences(builder *flatbuffers.Builder, vectorOfCoOwningReferences flatbuffers.UOffsetT)
func MonsterAddVectorOfDoubles ¶ added in v1.8.0
func MonsterAddVectorOfDoubles(builder *flatbuffers.Builder, vectorOfDoubles flatbuffers.UOffsetT)
func MonsterAddVectorOfEnums ¶ added in v1.11.0
func MonsterAddVectorOfEnums(builder *flatbuffers.Builder, vectorOfEnums flatbuffers.UOffsetT)
func MonsterAddVectorOfLongs ¶ added in v1.8.0
func MonsterAddVectorOfLongs(builder *flatbuffers.Builder, vectorOfLongs flatbuffers.UOffsetT)
func MonsterAddVectorOfNonOwningReferences ¶ added in v1.9.0
func MonsterAddVectorOfNonOwningReferences(builder *flatbuffers.Builder, vectorOfNonOwningReferences flatbuffers.UOffsetT)
func MonsterAddVectorOfReferrables ¶ added in v1.9.0
func MonsterAddVectorOfReferrables(builder *flatbuffers.Builder, vectorOfReferrables flatbuffers.UOffsetT)
func MonsterAddVectorOfStrongReferrables ¶ added in v1.9.0
func MonsterAddVectorOfStrongReferrables(builder *flatbuffers.Builder, vectorOfStrongReferrables flatbuffers.UOffsetT)
func MonsterAddVectorOfWeakReferences ¶ added in v1.9.0
func MonsterAddVectorOfWeakReferences(builder *flatbuffers.Builder, vectorOfWeakReferences flatbuffers.UOffsetT)
func MonsterEnd ¶
func MonsterEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT
func MonsterKeyCompare ¶
func MonsterKeyCompare(o1, o2 flatbuffers.UOffsetT, buf []byte) bool
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 MonsterStartScalarKeySortedTablesVector ¶
func MonsterStartScalarKeySortedTablesVector(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 MonsterStartTestrequirednestedflatbufferVector ¶
func MonsterStartTestrequirednestedflatbufferVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
func MonsterStartVectorOfCoOwningReferencesVector ¶ added in v1.9.0
func MonsterStartVectorOfCoOwningReferencesVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
func MonsterStartVectorOfDoublesVector ¶ added in v1.8.0
func MonsterStartVectorOfDoublesVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
func MonsterStartVectorOfEnumsVector ¶ added in v1.11.0
func MonsterStartVectorOfEnumsVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
func MonsterStartVectorOfLongsVector ¶ added in v1.8.0
func MonsterStartVectorOfLongsVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
func MonsterStartVectorOfNonOwningReferencesVector ¶ added in v1.9.0
func MonsterStartVectorOfNonOwningReferencesVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
func MonsterStartVectorOfReferrablesVector ¶ added in v1.9.0
func MonsterStartVectorOfReferrablesVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
func MonsterStartVectorOfStrongReferrablesVector ¶ added in v1.9.0
func MonsterStartVectorOfStrongReferrablesVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
func MonsterStartVectorOfWeakReferencesVector ¶ added in v1.9.0
func MonsterStartVectorOfWeakReferencesVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
func ReferrableAddId ¶ added in v1.9.0
func ReferrableAddId(builder *flatbuffers.Builder, id uint64)
func ReferrableEnd ¶ added in v1.9.0
func ReferrableEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT
func ReferrableKeyCompare ¶
func ReferrableKeyCompare(o1, o2 flatbuffers.UOffsetT, buf []byte) bool
func ReferrableStart ¶ added in v1.9.0
func ReferrableStart(builder *flatbuffers.Builder)
func RegisterMonsterStorageServer ¶ added in v1.5.0
func RegisterMonsterStorageServer(s grpc.ServiceRegistrar, 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 StatKeyCompare ¶
func StatKeyCompare(o1, o2 flatbuffers.UOffsetT, buf []byte) bool
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 Color)
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 AbilityT ¶ added in v1.12.0
func (*AbilityT) Pack ¶ added in v1.12.0
func (t *AbilityT) Pack(builder *flatbuffers.Builder) flatbuffers.UOffsetT
type AnyAmbiguousAliases ¶ added in v1.11.0
type AnyAmbiguousAliases byte
const ( AnyAmbiguousAliasesNONE AnyAmbiguousAliases = 0 AnyAmbiguousAliasesM1 AnyAmbiguousAliases = 1 AnyAmbiguousAliasesM2 AnyAmbiguousAliases = 2 AnyAmbiguousAliasesM3 AnyAmbiguousAliases = 3 )
func (AnyAmbiguousAliases) String ¶ added in v1.12.0
func (v AnyAmbiguousAliases) String() string
func (AnyAmbiguousAliases) UnPack ¶ added in v1.12.0
func (rcv AnyAmbiguousAliases) UnPack(table flatbuffers.Table) *AnyAmbiguousAliasesT
type AnyAmbiguousAliasesT ¶ added in v1.12.0
type AnyAmbiguousAliasesT struct { Type AnyAmbiguousAliases Value interface{} }
func (*AnyAmbiguousAliasesT) Pack ¶ added in v1.12.0
func (t *AnyAmbiguousAliasesT) Pack(builder *flatbuffers.Builder) flatbuffers.UOffsetT
type AnyT ¶ added in v1.12.0
type AnyT struct { Type Any Value interface{} }
func (*AnyT) Pack ¶ added in v1.12.0
func (t *AnyT) Pack(builder *flatbuffers.Builder) flatbuffers.UOffsetT
type AnyUniqueAliases ¶ added in v1.11.0
type AnyUniqueAliases byte
const ( AnyUniqueAliasesNONE AnyUniqueAliases = 0 AnyUniqueAliasesM AnyUniqueAliases = 1 AnyUniqueAliasesTS AnyUniqueAliases = 2 AnyUniqueAliasesM2 AnyUniqueAliases = 3 )
func (AnyUniqueAliases) String ¶ added in v1.12.0
func (v AnyUniqueAliases) String() string
func (AnyUniqueAliases) UnPack ¶ added in v1.12.0
func (rcv AnyUniqueAliases) UnPack(table flatbuffers.Table) *AnyUniqueAliasesT
type AnyUniqueAliasesT ¶ added in v1.11.0
type AnyUniqueAliasesT struct { Type AnyUniqueAliases Value interface{} }
func (*AnyUniqueAliasesT) Pack ¶ added in v1.12.0
func (t *AnyUniqueAliasesT) Pack(builder *flatbuffers.Builder) flatbuffers.UOffsetT
type Monster ¶
type Monster struct {
// contains filtered or unexported fields
}
func GetRootAsMonster ¶
func GetRootAsMonster(buf []byte, offset flatbuffers.UOffsetT) *Monster
func GetSizePrefixedRootAsMonster ¶
func GetSizePrefixedRootAsMonster(buf []byte, offset flatbuffers.UOffsetT) *Monster
func (*Monster) AnyAmbiguous ¶ added in v1.11.0
func (rcv *Monster) AnyAmbiguous(obj *flatbuffers.Table) bool
func (*Monster) AnyAmbiguousType ¶ added in v1.11.0
func (rcv *Monster) AnyAmbiguousType() AnyAmbiguousAliases
func (*Monster) AnyUnique ¶ added in v1.11.0
func (rcv *Monster) AnyUnique(obj *flatbuffers.Table) bool
func (*Monster) AnyUniqueType ¶ added in v1.11.0
func (rcv *Monster) AnyUniqueType() AnyUniqueAliases
func (*Monster) CoOwningReference ¶ added in v1.9.0
func (*Monster) DoubleInfDefault ¶
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) InfDefault ¶
func (*Monster) InfinityDefault ¶
func (*Monster) InventoryBytes ¶ added in v1.2.0
func (*Monster) InventoryLength ¶
func (*Monster) LongEnumNonEnumDefault ¶
func (*Monster) LongEnumNormalDefault ¶
func (*Monster) LookupByKey ¶
func (*Monster) MutateAnyAmbiguousType ¶ added in v1.11.0
func (rcv *Monster) MutateAnyAmbiguousType(n AnyAmbiguousAliases) bool
func (*Monster) MutateAnyUniqueType ¶ added in v1.11.0
func (rcv *Monster) MutateAnyUniqueType(n AnyUniqueAliases) bool
func (*Monster) MutateCoOwningReference ¶ added in v1.9.0
func (*Monster) MutateColor ¶ added in v1.4.0
func (*Monster) MutateDoubleInfDefault ¶
func (*Monster) MutateInfDefault ¶
func (*Monster) MutateInfinityDefault ¶
func (*Monster) MutateInventory ¶ added in v1.11.0
func (*Monster) MutateLongEnumNonEnumDefault ¶
func (*Monster) MutateLongEnumNormalDefault ¶
func (*Monster) MutateMana ¶ added in v1.4.0
func (*Monster) MutateNanDefault ¶
func (*Monster) MutateNegativeInfDefault ¶
func (*Monster) MutateNegativeInfinityDefault ¶
func (*Monster) MutateNonOwningReference ¶ added in v1.9.0
func (*Monster) MutatePositiveInfDefault ¶
func (*Monster) MutatePositiveInfinityDefault ¶
func (*Monster) MutateSignedEnum ¶ added in v1.12.0
func (*Monster) MutateSingleWeakReference ¶ added in v1.9.0
func (*Monster) MutateTestType ¶ added in v1.4.0
func (*Monster) MutateTestarrayofbools ¶ added in v1.11.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) MutateTestnestedflatbuffer ¶ added in v1.11.0
func (*Monster) MutateTestrequirednestedflatbuffer ¶
func (*Monster) MutateVectorOfCoOwningReferences ¶ added in v1.11.0
func (*Monster) MutateVectorOfDoubles ¶ added in v1.11.0
func (*Monster) MutateVectorOfEnums ¶ added in v1.11.0
func (*Monster) MutateVectorOfLongs ¶ added in v1.11.0
func (*Monster) MutateVectorOfNonOwningReferences ¶ added in v1.11.0
func (*Monster) MutateVectorOfWeakReferences ¶ added in v1.11.0
func (*Monster) NanDefault ¶
func (*Monster) NativeInline ¶
func (*Monster) NegativeInfDefault ¶
func (*Monster) NegativeInfinityDefault ¶
func (*Monster) NonOwningReference ¶ added in v1.9.0
func (*Monster) ParentNamespaceTest ¶ added in v1.8.0
func (rcv *Monster) ParentNamespaceTest(obj *MyGame.InParentNamespace) *MyGame.InParentNamespace
func (*Monster) PositiveInfDefault ¶
func (*Monster) PositiveInfinityDefault ¶
func (*Monster) ScalarKeySortedTables ¶
func (*Monster) ScalarKeySortedTablesByKey ¶
func (*Monster) ScalarKeySortedTablesLength ¶
func (*Monster) SignedEnum ¶ added in v1.12.0
func (*Monster) SingleWeakReference ¶ added in v1.9.0
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) TestarrayoftablesByKey ¶
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) Testrequirednestedflatbuffer ¶
func (*Monster) TestrequirednestedflatbufferBytes ¶
func (*Monster) TestrequirednestedflatbufferLength ¶
func (*Monster) VectorOfCoOwningReferences ¶ added in v1.9.0
func (*Monster) VectorOfCoOwningReferencesLength ¶ added in v1.9.0
func (*Monster) VectorOfDoubles ¶ added in v1.8.0
func (*Monster) VectorOfDoublesLength ¶ added in v1.8.0
func (*Monster) VectorOfEnums ¶ added in v1.11.0
func (*Monster) VectorOfEnumsBytes ¶ added in v1.12.0
func (*Monster) VectorOfEnumsLength ¶ added in v1.11.0
func (*Monster) VectorOfLongs ¶ added in v1.8.0
func (*Monster) VectorOfLongsLength ¶ added in v1.8.0
func (*Monster) VectorOfNonOwningReferences ¶ added in v1.9.0
func (*Monster) VectorOfNonOwningReferencesLength ¶ added in v1.9.0
func (*Monster) VectorOfReferrables ¶ added in v1.9.0
func (rcv *Monster) VectorOfReferrables(obj *Referrable, j int) bool
func (*Monster) VectorOfReferrablesByKey ¶
func (rcv *Monster) VectorOfReferrablesByKey(obj *Referrable, key uint64) bool
func (*Monster) VectorOfReferrablesLength ¶ added in v1.9.0
func (*Monster) VectorOfStrongReferrables ¶ added in v1.9.0
func (rcv *Monster) VectorOfStrongReferrables(obj *Referrable, j int) bool
func (*Monster) VectorOfStrongReferrablesByKey ¶
func (rcv *Monster) VectorOfStrongReferrablesByKey(obj *Referrable, key uint64) bool
func (*Monster) VectorOfStrongReferrablesLength ¶ added in v1.9.0
func (*Monster) VectorOfWeakReferences ¶ added in v1.9.0
func (*Monster) VectorOfWeakReferencesLength ¶ added in v1.9.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) GetMaxHitPoint(ctx context.Context, opts ...grpc.CallOption) (MonsterStorage_GetMaxHitPointClient, error) GetMinMaxHitPoints(ctx context.Context, opts ...grpc.CallOption) (MonsterStorage_GetMinMaxHitPointsClient, error) }
Client API for MonsterStorage service
func NewMonsterStorageClient ¶ added in v1.5.0
func NewMonsterStorageClient(cc grpc.ClientConnInterface) MonsterStorageClient
type MonsterStorageServer ¶ added in v1.5.0
type MonsterStorageServer interface { Store(context.Context, *Monster) (*flatbuffers.Builder, error) Retrieve(*Stat, MonsterStorage_RetrieveServer) error GetMaxHitPoint(MonsterStorage_GetMaxHitPointServer) error GetMinMaxHitPoints(MonsterStorage_GetMinMaxHitPointsServer) error // contains filtered or unexported methods }
Server API for MonsterStorage service
type MonsterStorage_GetMaxHitPointClient ¶ added in v1.11.0
type MonsterStorage_GetMaxHitPointClient interface { Send(*flatbuffers.Builder) error CloseAndRecv() (*Stat, error) grpc.ClientStream }
type MonsterStorage_GetMaxHitPointServer ¶ added in v1.11.0
type MonsterStorage_GetMaxHitPointServer interface { Recv() (*Monster, error) SendAndClose(*flatbuffers.Builder) error grpc.ServerStream }
type MonsterStorage_GetMinMaxHitPointsClient ¶ added in v1.11.0
type MonsterStorage_GetMinMaxHitPointsClient interface { Send(*flatbuffers.Builder) error Recv() (*Stat, error) grpc.ClientStream }
type MonsterStorage_GetMinMaxHitPointsServer ¶ added in v1.11.0
type MonsterStorage_GetMinMaxHitPointsServer interface { Send(*flatbuffers.Builder) error Recv() (*Monster, error) grpc.ServerStream }
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 MonsterT ¶ added in v1.12.0
type MonsterT struct { Pos *Vec3T `json:"pos"` Mana int16 `json:"mana"` Hp int16 `json:"hp"` Name string `json:"name"` Inventory []byte `json:"inventory"` Color Color `json:"color"` Test *AnyT `json:"test"` Test4 []*TestT `json:"test4"` Testarrayofstring []string `json:"testarrayofstring"` Testarrayoftables []*MonsterT `json:"testarrayoftables"` Enemy *MonsterT `json:"enemy"` Testnestedflatbuffer []byte `json:"testnestedflatbuffer"` Testempty *StatT `json:"testempty"` Testbool bool `json:"testbool"` Testhashs32Fnv1 int32 `json:"testhashs32_fnv1"` Testhashu32Fnv1 uint32 `json:"testhashu32_fnv1"` Testhashs64Fnv1 int64 `json:"testhashs64_fnv1"` Testhashu64Fnv1 uint64 `json:"testhashu64_fnv1"` Testhashs32Fnv1a int32 `json:"testhashs32_fnv1a"` Testhashu32Fnv1a uint32 `json:"testhashu32_fnv1a"` Testhashs64Fnv1a int64 `json:"testhashs64_fnv1a"` Testhashu64Fnv1a uint64 `json:"testhashu64_fnv1a"` Testarrayofbools []bool `json:"testarrayofbools"` Testf float32 `json:"testf"` Testf2 float32 `json:"testf2"` Testf3 float32 `json:"testf3"` Testarrayofstring2 []string `json:"testarrayofstring2"` Testarrayofsortedstruct []*AbilityT `json:"testarrayofsortedstruct"` Flex []byte `json:"flex"` Test5 []*TestT `json:"test5"` VectorOfLongs []int64 `json:"vector_of_longs"` VectorOfDoubles []float64 `json:"vector_of_doubles"` ParentNamespaceTest *MyGame.InParentNamespaceT `json:"parent_namespace_test"` VectorOfReferrables []*ReferrableT `json:"vector_of_referrables"` SingleWeakReference uint64 `json:"single_weak_reference"` VectorOfWeakReferences []uint64 `json:"vector_of_weak_references"` VectorOfStrongReferrables []*ReferrableT `json:"vector_of_strong_referrables"` CoOwningReference uint64 `json:"co_owning_reference"` VectorOfCoOwningReferences []uint64 `json:"vector_of_co_owning_references"` NonOwningReference uint64 `json:"non_owning_reference"` VectorOfNonOwningReferences []uint64 `json:"vector_of_non_owning_references"` AnyUnique *AnyUniqueAliasesT `json:"any_unique"` AnyAmbiguous *AnyAmbiguousAliasesT `json:"any_ambiguous"` VectorOfEnums []Color `json:"vector_of_enums"` SignedEnum Race `json:"signed_enum"` Testrequirednestedflatbuffer []byte `json:"testrequirednestedflatbuffer"` ScalarKeySortedTables []*StatT `json:"scalar_key_sorted_tables"` NativeInline *TestT `json:"native_inline"` LongEnumNonEnumDefault LongEnum `json:"long_enum_non_enum_default"` LongEnumNormalDefault LongEnum `json:"long_enum_normal_default"` NanDefault float32 `json:"nan_default"` InfDefault float32 `json:"inf_default"` PositiveInfDefault float32 `json:"positive_inf_default"` InfinityDefault float32 `json:"infinity_default"` PositiveInfinityDefault float32 `json:"positive_infinity_default"` NegativeInfDefault float32 `json:"negative_inf_default"` NegativeInfinityDefault float32 `json:"negative_infinity_default"` DoubleInfDefault float64 `json:"double_inf_default"` }
/ an example documentation comment: "monster object"
func (*MonsterT) Pack ¶ added in v1.12.0
func (t *MonsterT) Pack(builder *flatbuffers.Builder) flatbuffers.UOffsetT
type Referrable ¶ added in v1.9.0
type Referrable struct {
// contains filtered or unexported fields
}
func GetRootAsReferrable ¶ added in v1.9.0
func GetRootAsReferrable(buf []byte, offset flatbuffers.UOffsetT) *Referrable
func GetSizePrefixedRootAsReferrable ¶
func GetSizePrefixedRootAsReferrable(buf []byte, offset flatbuffers.UOffsetT) *Referrable
func (*Referrable) Id ¶ added in v1.9.0
func (rcv *Referrable) Id() uint64
func (*Referrable) Init ¶ added in v1.9.0
func (rcv *Referrable) Init(buf []byte, i flatbuffers.UOffsetT)
func (*Referrable) LookupByKey ¶
func (rcv *Referrable) LookupByKey(key uint64, vectorLocation flatbuffers.UOffsetT, buf []byte) bool
func (*Referrable) MutateId ¶ added in v1.9.0
func (rcv *Referrable) MutateId(n uint64) bool
func (*Referrable) Table ¶ added in v1.9.0
func (rcv *Referrable) Table() flatbuffers.Table
func (*Referrable) UnPack ¶ added in v1.12.0
func (rcv *Referrable) UnPack() *ReferrableT
func (*Referrable) UnPackTo ¶ added in v1.12.0
func (rcv *Referrable) UnPackTo(t *ReferrableT)
type ReferrableT ¶ added in v1.12.0
type ReferrableT struct {
Id uint64 `json:"id"`
}
func (*ReferrableT) Pack ¶ added in v1.12.0
func (t *ReferrableT) Pack(builder *flatbuffers.Builder) flatbuffers.UOffsetT
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 GetSizePrefixedRootAsStat ¶
func GetSizePrefixedRootAsStat(buf []byte, offset flatbuffers.UOffsetT) *Stat
func (*Stat) LookupByKey ¶
func (*Stat) MutateCount ¶ added in v1.4.0
func (*Stat) Table ¶ added in v1.5.0
func (rcv *Stat) Table() flatbuffers.Table
type StatT ¶ added in v1.12.0
func (*StatT) Pack ¶ added in v1.12.0
func (t *StatT) Pack(builder *flatbuffers.Builder) flatbuffers.UOffsetT
type StructOfStructs ¶
type StructOfStructs struct {
// contains filtered or unexported fields
}
func (*StructOfStructs) A ¶
func (rcv *StructOfStructs) A(obj *Ability) *Ability
func (*StructOfStructs) B ¶
func (rcv *StructOfStructs) B(obj *Test) *Test
func (*StructOfStructs) C ¶
func (rcv *StructOfStructs) C(obj *Ability) *Ability
func (*StructOfStructs) Init ¶
func (rcv *StructOfStructs) Init(buf []byte, i flatbuffers.UOffsetT)
func (*StructOfStructs) Table ¶
func (rcv *StructOfStructs) Table() flatbuffers.Table
func (*StructOfStructs) UnPack ¶
func (rcv *StructOfStructs) UnPack() *StructOfStructsT
func (*StructOfStructs) UnPackTo ¶
func (rcv *StructOfStructs) UnPackTo(t *StructOfStructsT)
type StructOfStructsOfStructs ¶
type StructOfStructsOfStructs struct {
// contains filtered or unexported fields
}
func (*StructOfStructsOfStructs) A ¶
func (rcv *StructOfStructsOfStructs) A(obj *StructOfStructs) *StructOfStructs
func (*StructOfStructsOfStructs) Init ¶
func (rcv *StructOfStructsOfStructs) Init(buf []byte, i flatbuffers.UOffsetT)
func (*StructOfStructsOfStructs) Table ¶
func (rcv *StructOfStructsOfStructs) Table() flatbuffers.Table
func (*StructOfStructsOfStructs) UnPack ¶
func (rcv *StructOfStructsOfStructs) UnPack() *StructOfStructsOfStructsT
func (*StructOfStructsOfStructs) UnPackTo ¶
func (rcv *StructOfStructsOfStructs) UnPackTo(t *StructOfStructsOfStructsT)
type StructOfStructsOfStructsT ¶
type StructOfStructsOfStructsT struct {
A *StructOfStructsT `json:"a"`
}
func (*StructOfStructsOfStructsT) Pack ¶
func (t *StructOfStructsOfStructsT) Pack(builder *flatbuffers.Builder) flatbuffers.UOffsetT
type StructOfStructsT ¶
func (*StructOfStructsT) Pack ¶
func (t *StructOfStructsT) Pack(builder *flatbuffers.Builder) flatbuffers.UOffsetT
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 GetSizePrefixedRootAsTestSimpleTableWithEnum ¶
func GetSizePrefixedRootAsTestSimpleTableWithEnum(buf []byte, offset flatbuffers.UOffsetT) *TestSimpleTableWithEnum
func (*TestSimpleTableWithEnum) Color ¶ added in v1.2.0
func (rcv *TestSimpleTableWithEnum) Color() Color
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 Color) bool
func (*TestSimpleTableWithEnum) Table ¶ added in v1.5.0
func (rcv *TestSimpleTableWithEnum) Table() flatbuffers.Table
func (*TestSimpleTableWithEnum) UnPack ¶ added in v1.12.0
func (rcv *TestSimpleTableWithEnum) UnPack() *TestSimpleTableWithEnumT
func (*TestSimpleTableWithEnum) UnPackTo ¶ added in v1.12.0
func (rcv *TestSimpleTableWithEnum) UnPackTo(t *TestSimpleTableWithEnumT)
type TestSimpleTableWithEnumT ¶ added in v1.12.0
type TestSimpleTableWithEnumT struct {
Color Color `json:"color"`
}
func (*TestSimpleTableWithEnumT) Pack ¶ added in v1.12.0
func (t *TestSimpleTableWithEnumT) Pack(builder *flatbuffers.Builder) flatbuffers.UOffsetT
type TestT ¶ added in v1.12.0
func (*TestT) Pack ¶ added in v1.12.0
func (t *TestT) Pack(builder *flatbuffers.Builder) flatbuffers.UOffsetT
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 GetSizePrefixedRootAsTypeAliases ¶
func GetSizePrefixedRootAsTypeAliases(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) MutateV8 ¶ added in v1.11.0
func (rcv *TypeAliases) MutateV8(j int, n int8) bool
func (*TypeAliases) MutateVf64 ¶ added in v1.11.0
func (rcv *TypeAliases) MutateVf64(j int, n float64) 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) UnPack ¶ added in v1.12.0
func (rcv *TypeAliases) UnPack() *TypeAliasesT
func (*TypeAliases) UnPackTo ¶ added in v1.12.0
func (rcv *TypeAliases) UnPackTo(t *TypeAliasesT)
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 TypeAliasesT ¶ added in v1.12.0
type TypeAliasesT struct { I8 int8 `json:"i8"` U8 byte `json:"u8"` I16 int16 `json:"i16"` U16 uint16 `json:"u16"` I32 int32 `json:"i32"` U32 uint32 `json:"u32"` I64 int64 `json:"i64"` U64 uint64 `json:"u64"` F32 float32 `json:"f32"` F64 float64 `json:"f64"` V8 []int8 `json:"v8"` Vf64 []float64 `json:"vf64"` }
func (*TypeAliasesT) Pack ¶ added in v1.12.0
func (t *TypeAliasesT) Pack(builder *flatbuffers.Builder) flatbuffers.UOffsetT
type UnimplementedMonsterStorageServer ¶
type UnimplementedMonsterStorageServer struct { }
func (UnimplementedMonsterStorageServer) GetMaxHitPoint ¶
func (UnimplementedMonsterStorageServer) GetMaxHitPoint(MonsterStorage_GetMaxHitPointServer) error
func (UnimplementedMonsterStorageServer) GetMinMaxHitPoints ¶
func (UnimplementedMonsterStorageServer) GetMinMaxHitPoints(MonsterStorage_GetMinMaxHitPointsServer) error
func (UnimplementedMonsterStorageServer) Retrieve ¶
func (UnimplementedMonsterStorageServer) Retrieve(*Stat, MonsterStorage_RetrieveServer) error
func (UnimplementedMonsterStorageServer) Store ¶
func (UnimplementedMonsterStorageServer) Store(context.Context, *Monster) (*flatbuffers.Builder, error)
type UnsafeMonsterStorageServer ¶
type UnsafeMonsterStorageServer interface {
// contains filtered or unexported methods
}
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
type Vec3T ¶ added in v1.12.0
type Vec3T struct { X float32 `json:"x"` Y float32 `json:"y"` Z float32 `json:"z"` Test1 float64 `json:"test1"` Test2 Color `json:"test2"` Test3 *TestT `json:"test3"` }
func (*Vec3T) Pack ¶ added in v1.12.0
func (t *Vec3T) Pack(builder *flatbuffers.Builder) flatbuffers.UOffsetT
Click to show internal directories.
Click to hide internal directories.