Lines Matching full:flatbuffers

1 // Code generated by the FlatBuffers compiler. DO NOT EDIT.
6 flatbuffers "github.com/google/flatbuffers/go" packageName
60 func (t *MonsterT) Pack(builder *flatbuffers.Builder) flatbuffers.UOffsetT {
63 inventoryOffset := flatbuffers.UOffsetT(0)
69 test4Offset := flatbuffers.UOffsetT(0)
78 testarrayofstringOffset := flatbuffers.UOffsetT(0)
81 testarrayofstringOffsets := make([]flatbuffers.UOffsetT, testarrayofstringLength)
91 testarrayoftablesOffset := flatbuffers.UOffsetT(0)
94 testarrayoftablesOffsets := make([]flatbuffers.UOffsetT, testarrayoftablesLength)
105 testnestedflatbufferOffset := flatbuffers.UOffsetT(0)
110 testarrayofboolsOffset := flatbuffers.UOffsetT(0)
119 testarrayofstring2Offset := flatbuffers.UOffsetT(0)
122 testarrayofstring2Offsets := make([]flatbuffers.UOffsetT, testarrayofstring2Length)
132 testarrayofsortedstructOffset := flatbuffers.UOffsetT(0)
141 flexOffset := flatbuffers.UOffsetT(0)
145 test5Offset := flatbuffers.UOffsetT(0)
154 vectorOfLongsOffset := flatbuffers.UOffsetT(0)
163 vectorOfDoublesOffset := flatbuffers.UOffsetT(0)
173 vectorOfReferrablesOffset := flatbuffers.UOffsetT(0)
176 vectorOfReferrablesOffsets := make([]flatbuffers.UOffsetT, vectorOfReferrablesLength)
186 vectorOfWeakReferencesOffset := flatbuffers.UOffsetT(0)
195 vectorOfStrongReferrablesOffset := flatbuffers.UOffsetT(0)
198 vectorOfStrongReferrablesOffsets := make([]flatbuffers.UOffsetT, vectorOfStrongReferrablesLength)
208 vectorOfCoOwningReferencesOffset := flatbuffers.UOffsetT(0)
217 vectorOfNonOwningReferencesOffset := flatbuffers.UOffsetT(0)
230 vectorOfEnumsOffset := flatbuffers.UOffsetT(0)
305 testTable := flatbuffers.Table{}
411 anyUniqueTable := flatbuffers.Table{}
415 anyAmbiguousTable := flatbuffers.Table{}
435 _tab flatbuffers.Table
438 func GetRootAsMonster(buf []byte, offset flatbuffers.UOffsetT) *Monster {
439 n := flatbuffers.GetUOffsetT(buf[offset:])
445 func (rcv *Monster) Init(buf []byte, i flatbuffers.UOffsetT) {
450 func (rcv *Monster) Table() flatbuffers.Table {
455 o := flatbuffers.UOffsetT(rcv._tab.Offset(4))
468 o := flatbuffers.UOffsetT(rcv._tab.Offset(6))
480 o := flatbuffers.UOffsetT(rcv._tab.Offset(8))
492 o := flatbuffers.UOffsetT(rcv._tab.Offset(10))
500 o := flatbuffers.UOffsetT(rcv._tab.Offset(14))
503 return rcv._tab.GetByte(a + flatbuffers.UOffsetT(j*1))
509 o := flatbuffers.UOffsetT(rcv._tab.Offset(14))
517 o := flatbuffers.UOffsetT(rcv._tab.Offset(14))
525 o := flatbuffers.UOffsetT(rcv._tab.Offset(14))
528 return rcv._tab.MutateByte(a+flatbuffers.UOffsetT(j*1), n)
534 o := flatbuffers.UOffsetT(rcv._tab.Offset(16))
546 o := flatbuffers.UOffsetT(rcv._tab.Offset(18))
557 func (rcv *Monster) Test(obj *flatbuffers.Table) bool {
558 o := flatbuffers.UOffsetT(rcv._tab.Offset(20))
567 o := flatbuffers.UOffsetT(rcv._tab.Offset(22))
570 x += flatbuffers.UOffsetT(j) * 4
578 o := flatbuffers.UOffsetT(rcv._tab.Offset(22))
586 o := flatbuffers.UOffsetT(rcv._tab.Offset(24))
589 return rcv._tab.ByteVector(a + flatbuffers.UOffsetT(j*4))
595 o := flatbuffers.UOffsetT(rcv._tab.Offset(24))
605 o := flatbuffers.UOffsetT(rcv._tab.Offset(26))
608 x += flatbuffers.UOffsetT(j) * 4
617 o := flatbuffers.UOffsetT(rcv._tab.Offset(26))
627 o := flatbuffers.UOffsetT(rcv._tab.Offset(28))
640 o := flatbuffers.UOffsetT(rcv._tab.Offset(30))
643 return rcv._tab.GetByte(a + flatbuffers.UOffsetT(j*1))
649 o := flatbuffers.UOffsetT(rcv._tab.Offset(30))
657 o := flatbuffers.UOffsetT(rcv._tab.Offset(30))
665 o := flatbuffers.UOffsetT(rcv._tab.Offset(30))
668 return rcv._tab.MutateByte(a+flatbuffers.UOffsetT(j*1), n)
674 o := flatbuffers.UOffsetT(rcv._tab.Offset(32))
687 o := flatbuffers.UOffsetT(rcv._tab.Offset(34))
699 o := flatbuffers.UOffsetT(rcv._tab.Offset(36))
711 o := flatbuffers.UOffsetT(rcv._tab.Offset(38))
723 o := flatbuffers.UOffsetT(rcv._tab.Offset(40))
735 o := flatbuffers.UOffsetT(rcv._tab.Offset(42))
747 o := flatbuffers.UOffsetT(rcv._tab.Offset(44))
759 o := flatbuffers.UOffsetT(rcv._tab.Offset(46))
771 o := flatbuffers.UOffsetT(rcv._tab.Offset(48))
783 o := flatbuffers.UOffsetT(rcv._tab.Offset(50))
795 o := flatbuffers.UOffsetT(rcv._tab.Offset(52))
798 return rcv._tab.GetBool(a + flatbuffers.UOffsetT(j*1))
804 o := flatbuffers.UOffsetT(rcv._tab.Offset(52))
812 o := flatbuffers.UOffsetT(rcv._tab.Offset(52))
815 return rcv._tab.MutateBool(a+flatbuffers.UOffsetT(j*1), n)
821 o := flatbuffers.UOffsetT(rcv._tab.Offset(54))
833 o := flatbuffers.UOffsetT(rcv._tab.Offset(56))
845 o := flatbuffers.UOffsetT(rcv._tab.Offset(58))
857 o := flatbuffers.UOffsetT(rcv._tab.Offset(60))
860 return rcv._tab.ByteVector(a + flatbuffers.UOffsetT(j*4))
866 o := flatbuffers.UOffsetT(rcv._tab.Offset(60))
874 o := flatbuffers.UOffsetT(rcv._tab.Offset(62))
877 x += flatbuffers.UOffsetT(j) * 8
885 o := flatbuffers.UOffsetT(rcv._tab.Offset(62))
893 o := flatbuffers.UOffsetT(rcv._tab.Offset(64))
896 return rcv._tab.GetByte(a + flatbuffers.UOffsetT(j*1))
902 o := flatbuffers.UOffsetT(rcv._tab.Offset(64))
910 o := flatbuffers.UOffsetT(rcv._tab.Offset(64))
918 o := flatbuffers.UOffsetT(rcv._tab.Offset(64))
921 return rcv._tab.MutateByte(a+flatbuffers.UOffsetT(j*1), n)
927 o := flatbuffers.UOffsetT(rcv._tab.Offset(66))
930 x += flatbuffers.UOffsetT(j) * 4
938 o := flatbuffers.UOffsetT(rcv._tab.Offset(66))
946 o := flatbuffers.UOffsetT(rcv._tab.Offset(68))
949 return rcv._tab.GetInt64(a + flatbuffers.UOffsetT(j*8))
955 o := flatbuffers.UOffsetT(rcv._tab.Offset(68))
963 o := flatbuffers.UOffsetT(rcv._tab.Offset(68))
966 return rcv._tab.MutateInt64(a+flatbuffers.UOffsetT(j*8), n)
972 o := flatbuffers.UOffsetT(rcv._tab.Offset(70))
975 return rcv._tab.GetFloat64(a + flatbuffers.UOffsetT(j*8))
981 o := flatbuffers.UOffsetT(rcv._tab.Offset(70))
989 o := flatbuffers.UOffsetT(rcv._tab.Offset(70))
992 return rcv._tab.MutateFloat64(a+flatbuffers.UOffsetT(j*8), n)
998 o := flatbuffers.UOffsetT(rcv._tab.Offset(72))
1011 o := flatbuffers.UOffsetT(rcv._tab.Offset(74))
1014 x += flatbuffers.UOffsetT(j) * 4
1023 o := flatbuffers.UOffsetT(rcv._tab.Offset(74))
1031 o := flatbuffers.UOffsetT(rcv._tab.Offset(76))
1043 o := flatbuffers.UOffsetT(rcv._tab.Offset(78))
1046 return rcv._tab.GetUint64(a + flatbuffers.UOffsetT(j*8))
1052 o := flatbuffers.UOffsetT(rcv._tab.Offset(78))
1060 o := flatbuffers.UOffsetT(rcv._tab.Offset(78))
1063 return rcv._tab.MutateUint64(a+flatbuffers.UOffsetT(j*8), n)
1069 o := flatbuffers.UOffsetT(rcv._tab.Offset(80))
1072 x += flatbuffers.UOffsetT(j) * 4
1081 o := flatbuffers.UOffsetT(rcv._tab.Offset(80))
1089 o := flatbuffers.UOffsetT(rcv._tab.Offset(82))
1101 o := flatbuffers.UOffsetT(rcv._tab.Offset(84))
1104 return rcv._tab.GetUint64(a + flatbuffers.UOffsetT(j*8))
1110 o := flatbuffers.UOffsetT(rcv._tab.Offset(84))
1118 o := flatbuffers.UOffsetT(rcv._tab.Offset(84))
1121 return rcv._tab.MutateUint64(a+flatbuffers.UOffsetT(j*8), n)
1127 o := flatbuffers.UOffsetT(rcv._tab.Offset(86))
1139 o := flatbuffers.UOffsetT(rcv._tab.Offset(88))
1142 return rcv._tab.GetUint64(a + flatbuffers.UOffsetT(j*8))
1148 o := flatbuffers.UOffsetT(rcv._tab.Offset(88))
1156 o := flatbuffers.UOffsetT(rcv._tab.Offset(88))
1159 return rcv._tab.MutateUint64(a+flatbuffers.UOffsetT(j*8), n)
1165 o := flatbuffers.UOffsetT(rcv._tab.Offset(90))
1176 func (rcv *Monster) AnyUnique(obj *flatbuffers.Table) bool {
1177 o := flatbuffers.UOffsetT(rcv._tab.Offset(92))
1186 o := flatbuffers.UOffsetT(rcv._tab.Offset(94))
1197 func (rcv *Monster) AnyAmbiguous(obj *flatbuffers.Table) bool {
1198 o := flatbuffers.UOffsetT(rcv._tab.Offset(96))
1207 o := flatbuffers.UOffsetT(rcv._tab.Offset(98))
1210 return Color(rcv._tab.GetByte(a + flatbuffers.UOffsetT(j*1)))
1216 o := flatbuffers.UOffsetT(rcv._tab.Offset(98))
1224 o := flatbuffers.UOffsetT(rcv._tab.Offset(98))
1232 o := flatbuffers.UOffsetT(rcv._tab.Offset(98))
1235 return rcv._tab.MutateByte(a+flatbuffers.UOffsetT(j*1), byte(n))
1241 o := flatbuffers.UOffsetT(rcv._tab.Offset(100))
1252 func MonsterStart(builder *flatbuffers.Builder) {
1255 func MonsterAddPos(builder *flatbuffers.Builder, pos flatbuffers.UOffsetT) {
1256 builder.PrependStructSlot(0, flatbuffers.UOffsetT(pos), 0)
1258 func MonsterAddMana(builder *flatbuffers.Builder, mana int16) {
1261 func MonsterAddHp(builder *flatbuffers.Builder, hp int16) {
1264 func MonsterAddName(builder *flatbuffers.Builder, name flatbuffers.UOffsetT) {
1265 builder.PrependUOffsetTSlot(3, flatbuffers.UOffsetT(name), 0)
1267 func MonsterAddInventory(builder *flatbuffers.Builder, inventory flatbuffers.UOffsetT) {
1268 builder.PrependUOffsetTSlot(5, flatbuffers.UOffsetT(inventory), 0)
1270 func MonsterStartInventoryVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT {
1273 func MonsterAddColor(builder *flatbuffers.Builder, color Color) {
1276 func MonsterAddTestType(builder *flatbuffers.Builder, testType Any) {
1279 func MonsterAddTest(builder *flatbuffers.Builder, test flatbuffers.UOffsetT) {
1280 builder.PrependUOffsetTSlot(8, flatbuffers.UOffsetT(test), 0)
1282 func MonsterAddTest4(builder *flatbuffers.Builder, test4 flatbuffers.UOffsetT) {
1283 builder.PrependUOffsetTSlot(9, flatbuffers.UOffsetT(test4), 0)
1285 func MonsterStartTest4Vector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT {
1288 func MonsterAddTestarrayofstring(builder *flatbuffers.Builder, testarrayofstring flatbuffers.UOffse…
1289 builder.PrependUOffsetTSlot(10, flatbuffers.UOffsetT(testarrayofstring), 0)
1291 func MonsterStartTestarrayofstringVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UO…
1294 func MonsterAddTestarrayoftables(builder *flatbuffers.Builder, testarrayoftables flatbuffers.UOffse…
1295 builder.PrependUOffsetTSlot(11, flatbuffers.UOffsetT(testarrayoftables), 0)
1297 func MonsterStartTestarrayoftablesVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UO…
1300 func MonsterAddEnemy(builder *flatbuffers.Builder, enemy flatbuffers.UOffsetT) {
1301 builder.PrependUOffsetTSlot(12, flatbuffers.UOffsetT(enemy), 0)
1303 func MonsterAddTestnestedflatbuffer(builder *flatbuffers.Builder, testnestedflatbuffer flatbuffers.…
1304 builder.PrependUOffsetTSlot(13, flatbuffers.UOffsetT(testnestedflatbuffer), 0)
1306 func MonsterStartTestnestedflatbufferVector(builder *flatbuffers.Builder, numElems int) flatbuffers
1309 func MonsterAddTestempty(builder *flatbuffers.Builder, testempty flatbuffers.UOffsetT) {
1310 builder.PrependUOffsetTSlot(14, flatbuffers.UOffsetT(testempty), 0)
1312 func MonsterAddTestbool(builder *flatbuffers.Builder, testbool bool) {
1315 func MonsterAddTesthashs32Fnv1(builder *flatbuffers.Builder, testhashs32Fnv1 int32) {
1318 func MonsterAddTesthashu32Fnv1(builder *flatbuffers.Builder, testhashu32Fnv1 uint32) {
1321 func MonsterAddTesthashs64Fnv1(builder *flatbuffers.Builder, testhashs64Fnv1 int64) {
1324 func MonsterAddTesthashu64Fnv1(builder *flatbuffers.Builder, testhashu64Fnv1 uint64) {
1327 func MonsterAddTesthashs32Fnv1a(builder *flatbuffers.Builder, testhashs32Fnv1a int32) {
1330 func MonsterAddTesthashu32Fnv1a(builder *flatbuffers.Builder, testhashu32Fnv1a uint32) {
1333 func MonsterAddTesthashs64Fnv1a(builder *flatbuffers.Builder, testhashs64Fnv1a int64) {
1336 func MonsterAddTesthashu64Fnv1a(builder *flatbuffers.Builder, testhashu64Fnv1a uint64) {
1339 func MonsterAddTestarrayofbools(builder *flatbuffers.Builder, testarrayofbools flatbuffers.UOffsetT…
1340 builder.PrependUOffsetTSlot(24, flatbuffers.UOffsetT(testarrayofbools), 0)
1342 func MonsterStartTestarrayofboolsVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOf…
1345 func MonsterAddTestf(builder *flatbuffers.Builder, testf float32) {
1348 func MonsterAddTestf2(builder *flatbuffers.Builder, testf2 float32) {
1351 func MonsterAddTestf3(builder *flatbuffers.Builder, testf3 float32) {
1354 func MonsterAddTestarrayofstring2(builder *flatbuffers.Builder, testarrayofstring2 flatbuffers.UOff…
1355 builder.PrependUOffsetTSlot(28, flatbuffers.UOffsetT(testarrayofstring2), 0)
1357 func MonsterStartTestarrayofstring2Vector(builder *flatbuffers.Builder, numElems int) flatbuffers.U…
1360 func MonsterAddTestarrayofsortedstruct(builder *flatbuffers.Builder, testarrayofsortedstruct flatbu…
1361 builder.PrependUOffsetTSlot(29, flatbuffers.UOffsetT(testarrayofsortedstruct), 0)
1363 …c MonsterStartTestarrayofsortedstructVector(builder *flatbuffers.Builder, numElems int) flatbuffer…
1366 func MonsterAddFlex(builder *flatbuffers.Builder, flex flatbuffers.UOffsetT) {
1367 builder.PrependUOffsetTSlot(30, flatbuffers.UOffsetT(flex), 0)
1369 func MonsterStartFlexVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT {
1372 func MonsterAddTest5(builder *flatbuffers.Builder, test5 flatbuffers.UOffsetT) {
1373 builder.PrependUOffsetTSlot(31, flatbuffers.UOffsetT(test5), 0)
1375 func MonsterStartTest5Vector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT {
1378 func MonsterAddVectorOfLongs(builder *flatbuffers.Builder, vectorOfLongs flatbuffers.UOffsetT) {
1379 builder.PrependUOffsetTSlot(32, flatbuffers.UOffsetT(vectorOfLongs), 0)
1381 func MonsterStartVectorOfLongsVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffse…
1384 func MonsterAddVectorOfDoubles(builder *flatbuffers.Builder, vectorOfDoubles flatbuffers.UOffsetT) {
1385 builder.PrependUOffsetTSlot(33, flatbuffers.UOffsetT(vectorOfDoubles), 0)
1387 func MonsterStartVectorOfDoublesVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOff…
1390 func MonsterAddParentNamespaceTest(builder *flatbuffers.Builder, parentNamespaceTest flatbuffers.UO…
1391 builder.PrependUOffsetTSlot(34, flatbuffers.UOffsetT(parentNamespaceTest), 0)
1393 func MonsterAddVectorOfReferrables(builder *flatbuffers.Builder, vectorOfReferrables flatbuffers.UO…
1394 builder.PrependUOffsetTSlot(35, flatbuffers.UOffsetT(vectorOfReferrables), 0)
1396 func MonsterStartVectorOfReferrablesVector(builder *flatbuffers.Builder, numElems int) flatbuffers.…
1399 func MonsterAddSingleWeakReference(builder *flatbuffers.Builder, singleWeakReference uint64) {
1402 func MonsterAddVectorOfWeakReferences(builder *flatbuffers.Builder, vectorOfWeakReferences flatbuff…
1403 builder.PrependUOffsetTSlot(37, flatbuffers.UOffsetT(vectorOfWeakReferences), 0)
1405 …nc MonsterStartVectorOfWeakReferencesVector(builder *flatbuffers.Builder, numElems int) flatbuffer…
1408 …c MonsterAddVectorOfStrongReferrables(builder *flatbuffers.Builder, vectorOfStrongReferrables flat…
1409 builder.PrependUOffsetTSlot(38, flatbuffers.UOffsetT(vectorOfStrongReferrables), 0)
1411 …MonsterStartVectorOfStrongReferrablesVector(builder *flatbuffers.Builder, numElems int) flatbuffer…
1414 func MonsterAddCoOwningReference(builder *flatbuffers.Builder, coOwningReference uint64) {
1417 … MonsterAddVectorOfCoOwningReferences(builder *flatbuffers.Builder, vectorOfCoOwningReferences fla…
1418 builder.PrependUOffsetTSlot(40, flatbuffers.UOffsetT(vectorOfCoOwningReferences), 0)
1420 …onsterStartVectorOfCoOwningReferencesVector(builder *flatbuffers.Builder, numElems int) flatbuffer…
1423 func MonsterAddNonOwningReference(builder *flatbuffers.Builder, nonOwningReference uint64) {
1426 …onsterAddVectorOfNonOwningReferences(builder *flatbuffers.Builder, vectorOfNonOwningReferences fla…
1427 builder.PrependUOffsetTSlot(42, flatbuffers.UOffsetT(vectorOfNonOwningReferences), 0)
1429 …nsterStartVectorOfNonOwningReferencesVector(builder *flatbuffers.Builder, numElems int) flatbuffer…
1432 func MonsterAddAnyUniqueType(builder *flatbuffers.Builder, anyUniqueType AnyUniqueAliases) {
1435 func MonsterAddAnyUnique(builder *flatbuffers.Builder, anyUnique flatbuffers.UOffsetT) {
1436 builder.PrependUOffsetTSlot(44, flatbuffers.UOffsetT(anyUnique), 0)
1438 func MonsterAddAnyAmbiguousType(builder *flatbuffers.Builder, anyAmbiguousType AnyAmbiguousAliases)…
1441 func MonsterAddAnyAmbiguous(builder *flatbuffers.Builder, anyAmbiguous flatbuffers.UOffsetT) {
1442 builder.PrependUOffsetTSlot(46, flatbuffers.UOffsetT(anyAmbiguous), 0)
1444 func MonsterAddVectorOfEnums(builder *flatbuffers.Builder, vectorOfEnums flatbuffers.UOffsetT) {
1445 builder.PrependUOffsetTSlot(47, flatbuffers.UOffsetT(vectorOfEnums), 0)
1447 func MonsterStartVectorOfEnumsVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffse…
1450 func MonsterAddSignedEnum(builder *flatbuffers.Builder, signedEnum Race) {
1453 func MonsterEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT {