Lines Matching full:builder
875 def MonsterStart(builder): argument
876 builder.StartObject(62)
878 def Start(builder): argument
879 MonsterStart(builder)
881 def MonsterAddPos(builder, pos): argument
882 builder.PrependStructSlot(0, flatbuffers.number_types.UOffsetTFlags.py_type(pos), 0)
884 def AddPos(builder, pos): argument
885 MonsterAddPos(builder, pos)
887 def MonsterAddMana(builder, mana): argument
888 builder.PrependInt16Slot(1, mana, 150)
890 def AddMana(builder, mana): argument
891 MonsterAddMana(builder, mana)
893 def MonsterAddHp(builder, hp): argument
894 builder.PrependInt16Slot(2, hp, 100)
896 def AddHp(builder, hp): argument
897 MonsterAddHp(builder, hp)
899 def MonsterAddName(builder, name): argument
900 builder.PrependUOffsetTRelativeSlot(3, flatbuffers.number_types.UOffsetTFlags.py_type(name), 0)
902 def AddName(builder, name): argument
903 MonsterAddName(builder, name)
905 def MonsterAddInventory(builder, inventory): argument
906 …builder.PrependUOffsetTRelativeSlot(5, flatbuffers.number_types.UOffsetTFlags.py_type(inventory), …
908 def AddInventory(builder, inventory): argument
909 MonsterAddInventory(builder, inventory)
911 def MonsterStartInventoryVector(builder, numElems): argument
912 return builder.StartVector(1, numElems, 1)
914 def StartInventoryVector(builder, numElems): argument
915 return MonsterStartInventoryVector(builder, numElems)
917 def MonsterAddColor(builder, color): argument
918 builder.PrependUint8Slot(6, color, 8)
920 def AddColor(builder, color): argument
921 MonsterAddColor(builder, color)
923 def MonsterAddTestType(builder, testType): argument
924 builder.PrependUint8Slot(7, testType, 0)
926 def AddTestType(builder, testType): argument
927 MonsterAddTestType(builder, testType)
929 def MonsterAddTest(builder, test): argument
930 builder.PrependUOffsetTRelativeSlot(8, flatbuffers.number_types.UOffsetTFlags.py_type(test), 0)
932 def AddTest(builder, test): argument
933 MonsterAddTest(builder, test)
935 def MonsterAddTest4(builder, test4): argument
936 builder.PrependUOffsetTRelativeSlot(9, flatbuffers.number_types.UOffsetTFlags.py_type(test4), 0)
938 def AddTest4(builder, test4): argument
939 MonsterAddTest4(builder, test4)
941 def MonsterStartTest4Vector(builder, numElems): argument
942 return builder.StartVector(4, numElems, 2)
944 def StartTest4Vector(builder, numElems): argument
945 return MonsterStartTest4Vector(builder, numElems)
947 def MonsterAddTestarrayofstring(builder, testarrayofstring): argument
948 …builder.PrependUOffsetTRelativeSlot(10, flatbuffers.number_types.UOffsetTFlags.py_type(testarrayof…
950 def AddTestarrayofstring(builder, testarrayofstring): argument
951 MonsterAddTestarrayofstring(builder, testarrayofstring)
953 def MonsterStartTestarrayofstringVector(builder, numElems): argument
954 return builder.StartVector(4, numElems, 4)
956 def StartTestarrayofstringVector(builder, numElems): argument
957 return MonsterStartTestarrayofstringVector(builder, numElems)
959 def MonsterAddTestarrayoftables(builder, testarrayoftables): argument
960 …builder.PrependUOffsetTRelativeSlot(11, flatbuffers.number_types.UOffsetTFlags.py_type(testarrayof…
962 def AddTestarrayoftables(builder, testarrayoftables): argument
963 MonsterAddTestarrayoftables(builder, testarrayoftables)
965 def MonsterStartTestarrayoftablesVector(builder, numElems): argument
966 return builder.StartVector(4, numElems, 4)
968 def StartTestarrayoftablesVector(builder, numElems): argument
969 return MonsterStartTestarrayoftablesVector(builder, numElems)
971 def MonsterAddEnemy(builder, enemy): argument
972 … builder.PrependUOffsetTRelativeSlot(12, flatbuffers.number_types.UOffsetTFlags.py_type(enemy), 0)
974 def AddEnemy(builder, enemy): argument
975 MonsterAddEnemy(builder, enemy)
977 def MonsterAddTestnestedflatbuffer(builder, testnestedflatbuffer): argument
978 …builder.PrependUOffsetTRelativeSlot(13, flatbuffers.number_types.UOffsetTFlags.py_type(testnestedf…
980 def AddTestnestedflatbuffer(builder, testnestedflatbuffer): argument
981 MonsterAddTestnestedflatbuffer(builder, testnestedflatbuffer)
983 def MonsterStartTestnestedflatbufferVector(builder, numElems): argument
984 return builder.StartVector(1, numElems, 1)
986 def StartTestnestedflatbufferVector(builder, numElems): argument
987 return MonsterStartTestnestedflatbufferVector(builder, numElems)
989 def MonsterMakeTestnestedflatbufferVectorFromBytes(builder, bytes): argument
990 builder.StartVector(1, len(bytes), 1)
991 builder.head = builder.head - len(bytes)
992 builder.Bytes[builder.head : builder.head + len(bytes)] = bytes
993 return builder.EndVector()
994 def MakeTestnestedflatbufferVectorFromBytes(builder, bytes): argument
995 return MonsterMakeTestnestedflatbufferVectorFromBytes(builder, bytes)
996 def MonsterAddTestempty(builder, testempty): argument
997 …builder.PrependUOffsetTRelativeSlot(14, flatbuffers.number_types.UOffsetTFlags.py_type(testempty),…
999 def AddTestempty(builder, testempty): argument
1000 MonsterAddTestempty(builder, testempty)
1002 def MonsterAddTestbool(builder, testbool): argument
1003 builder.PrependBoolSlot(15, testbool, 0)
1005 def AddTestbool(builder, testbool): argument
1006 MonsterAddTestbool(builder, testbool)
1008 def MonsterAddTesthashs32Fnv1(builder, testhashs32Fnv1): argument
1009 builder.PrependInt32Slot(16, testhashs32Fnv1, 0)
1011 def AddTesthashs32Fnv1(builder, testhashs32Fnv1): argument
1012 MonsterAddTesthashs32Fnv1(builder, testhashs32Fnv1)
1014 def MonsterAddTesthashu32Fnv1(builder, testhashu32Fnv1): argument
1015 builder.PrependUint32Slot(17, testhashu32Fnv1, 0)
1017 def AddTesthashu32Fnv1(builder, testhashu32Fnv1): argument
1018 MonsterAddTesthashu32Fnv1(builder, testhashu32Fnv1)
1020 def MonsterAddTesthashs64Fnv1(builder, testhashs64Fnv1): argument
1021 builder.PrependInt64Slot(18, testhashs64Fnv1, 0)
1023 def AddTesthashs64Fnv1(builder, testhashs64Fnv1): argument
1024 MonsterAddTesthashs64Fnv1(builder, testhashs64Fnv1)
1026 def MonsterAddTesthashu64Fnv1(builder, testhashu64Fnv1): argument
1027 builder.PrependUint64Slot(19, testhashu64Fnv1, 0)
1029 def AddTesthashu64Fnv1(builder, testhashu64Fnv1): argument
1030 MonsterAddTesthashu64Fnv1(builder, testhashu64Fnv1)
1032 def MonsterAddTesthashs32Fnv1a(builder, testhashs32Fnv1a): argument
1033 builder.PrependInt32Slot(20, testhashs32Fnv1a, 0)
1035 def AddTesthashs32Fnv1a(builder, testhashs32Fnv1a): argument
1036 MonsterAddTesthashs32Fnv1a(builder, testhashs32Fnv1a)
1038 def MonsterAddTesthashu32Fnv1a(builder, testhashu32Fnv1a): argument
1039 builder.PrependUint32Slot(21, testhashu32Fnv1a, 0)
1041 def AddTesthashu32Fnv1a(builder, testhashu32Fnv1a): argument
1042 MonsterAddTesthashu32Fnv1a(builder, testhashu32Fnv1a)
1044 def MonsterAddTesthashs64Fnv1a(builder, testhashs64Fnv1a): argument
1045 builder.PrependInt64Slot(22, testhashs64Fnv1a, 0)
1047 def AddTesthashs64Fnv1a(builder, testhashs64Fnv1a): argument
1048 MonsterAddTesthashs64Fnv1a(builder, testhashs64Fnv1a)
1050 def MonsterAddTesthashu64Fnv1a(builder, testhashu64Fnv1a): argument
1051 builder.PrependUint64Slot(23, testhashu64Fnv1a, 0)
1053 def AddTesthashu64Fnv1a(builder, testhashu64Fnv1a): argument
1054 MonsterAddTesthashu64Fnv1a(builder, testhashu64Fnv1a)
1056 def MonsterAddTestarrayofbools(builder, testarrayofbools): argument
1057 …builder.PrependUOffsetTRelativeSlot(24, flatbuffers.number_types.UOffsetTFlags.py_type(testarrayof…
1059 def AddTestarrayofbools(builder, testarrayofbools): argument
1060 MonsterAddTestarrayofbools(builder, testarrayofbools)
1062 def MonsterStartTestarrayofboolsVector(builder, numElems): argument
1063 return builder.StartVector(1, numElems, 1)
1065 def StartTestarrayofboolsVector(builder, numElems): argument
1066 return MonsterStartTestarrayofboolsVector(builder, numElems)
1068 def MonsterAddTestf(builder, testf): argument
1069 builder.PrependFloat32Slot(25, testf, 3.14159)
1071 def AddTestf(builder, testf): argument
1072 MonsterAddTestf(builder, testf)
1074 def MonsterAddTestf2(builder, testf2): argument
1075 builder.PrependFloat32Slot(26, testf2, 3.0)
1077 def AddTestf2(builder, testf2): argument
1078 MonsterAddTestf2(builder, testf2)
1080 def MonsterAddTestf3(builder, testf3): argument
1081 builder.PrependFloat32Slot(27, testf3, 0.0)
1083 def AddTestf3(builder, testf3): argument
1084 MonsterAddTestf3(builder, testf3)
1086 def MonsterAddTestarrayofstring2(builder, testarrayofstring2): argument
1087 …builder.PrependUOffsetTRelativeSlot(28, flatbuffers.number_types.UOffsetTFlags.py_type(testarrayof…
1089 def AddTestarrayofstring2(builder, testarrayofstring2): argument
1090 MonsterAddTestarrayofstring2(builder, testarrayofstring2)
1092 def MonsterStartTestarrayofstring2Vector(builder, numElems): argument
1093 return builder.StartVector(4, numElems, 4)
1095 def StartTestarrayofstring2Vector(builder, numElems): argument
1096 return MonsterStartTestarrayofstring2Vector(builder, numElems)
1098 def MonsterAddTestarrayofsortedstruct(builder, testarrayofsortedstruct): argument
1099 …builder.PrependUOffsetTRelativeSlot(29, flatbuffers.number_types.UOffsetTFlags.py_type(testarrayof…
1101 def AddTestarrayofsortedstruct(builder, testarrayofsortedstruct): argument
1102 MonsterAddTestarrayofsortedstruct(builder, testarrayofsortedstruct)
1104 def MonsterStartTestarrayofsortedstructVector(builder, numElems): argument
1105 return builder.StartVector(8, numElems, 4)
1107 def StartTestarrayofsortedstructVector(builder, numElems): argument
1108 return MonsterStartTestarrayofsortedstructVector(builder, numElems)
1110 def MonsterAddFlex(builder, flex): argument
1111 builder.PrependUOffsetTRelativeSlot(30, flatbuffers.number_types.UOffsetTFlags.py_type(flex), 0)
1113 def AddFlex(builder, flex): argument
1114 MonsterAddFlex(builder, flex)
1116 def MonsterStartFlexVector(builder, numElems): argument
1117 return builder.StartVector(1, numElems, 1)
1119 def StartFlexVector(builder, numElems): argument
1120 return MonsterStartFlexVector(builder, numElems)
1122 def MonsterAddTest5(builder, test5): argument
1123 … builder.PrependUOffsetTRelativeSlot(31, flatbuffers.number_types.UOffsetTFlags.py_type(test5), 0)
1125 def AddTest5(builder, test5): argument
1126 MonsterAddTest5(builder, test5)
1128 def MonsterStartTest5Vector(builder, numElems): argument
1129 return builder.StartVector(4, numElems, 2)
1131 def StartTest5Vector(builder, numElems): argument
1132 return MonsterStartTest5Vector(builder, numElems)
1134 def MonsterAddVectorOfLongs(builder, vectorOfLongs): argument
1135 …builder.PrependUOffsetTRelativeSlot(32, flatbuffers.number_types.UOffsetTFlags.py_type(vectorOfLon…
1137 def AddVectorOfLongs(builder, vectorOfLongs): argument
1138 MonsterAddVectorOfLongs(builder, vectorOfLongs)
1140 def MonsterStartVectorOfLongsVector(builder, numElems): argument
1141 return builder.StartVector(8, numElems, 8)
1143 def StartVectorOfLongsVector(builder, numElems): argument
1144 return MonsterStartVectorOfLongsVector(builder, numElems)
1146 def MonsterAddVectorOfDoubles(builder, vectorOfDoubles): argument
1147 …builder.PrependUOffsetTRelativeSlot(33, flatbuffers.number_types.UOffsetTFlags.py_type(vectorOfDou…
1149 def AddVectorOfDoubles(builder, vectorOfDoubles): argument
1150 MonsterAddVectorOfDoubles(builder, vectorOfDoubles)
1152 def MonsterStartVectorOfDoublesVector(builder, numElems): argument
1153 return builder.StartVector(8, numElems, 8)
1155 def StartVectorOfDoublesVector(builder, numElems): argument
1156 return MonsterStartVectorOfDoublesVector(builder, numElems)
1158 def MonsterAddParentNamespaceTest(builder, parentNamespaceTest): argument
1159 …builder.PrependUOffsetTRelativeSlot(34, flatbuffers.number_types.UOffsetTFlags.py_type(parentNames…
1161 def AddParentNamespaceTest(builder, parentNamespaceTest): argument
1162 MonsterAddParentNamespaceTest(builder, parentNamespaceTest)
1164 def MonsterAddVectorOfReferrables(builder, vectorOfReferrables): argument
1165 …builder.PrependUOffsetTRelativeSlot(35, flatbuffers.number_types.UOffsetTFlags.py_type(vectorOfRef…
1167 def AddVectorOfReferrables(builder, vectorOfReferrables): argument
1168 MonsterAddVectorOfReferrables(builder, vectorOfReferrables)
1170 def MonsterStartVectorOfReferrablesVector(builder, numElems): argument
1171 return builder.StartVector(4, numElems, 4)
1173 def StartVectorOfReferrablesVector(builder, numElems): argument
1174 return MonsterStartVectorOfReferrablesVector(builder, numElems)
1176 def MonsterAddSingleWeakReference(builder, singleWeakReference): argument
1177 builder.PrependUint64Slot(36, singleWeakReference, 0)
1179 def AddSingleWeakReference(builder, singleWeakReference): argument
1180 MonsterAddSingleWeakReference(builder, singleWeakReference)
1182 def MonsterAddVectorOfWeakReferences(builder, vectorOfWeakReferences): argument
1183 …builder.PrependUOffsetTRelativeSlot(37, flatbuffers.number_types.UOffsetTFlags.py_type(vectorOfWea…
1185 def AddVectorOfWeakReferences(builder, vectorOfWeakReferences): argument
1186 MonsterAddVectorOfWeakReferences(builder, vectorOfWeakReferences)
1188 def MonsterStartVectorOfWeakReferencesVector(builder, numElems): argument
1189 return builder.StartVector(8, numElems, 8)
1191 def StartVectorOfWeakReferencesVector(builder, numElems): argument
1192 return MonsterStartVectorOfWeakReferencesVector(builder, numElems)
1194 def MonsterAddVectorOfStrongReferrables(builder, vectorOfStrongReferrables): argument
1195 …builder.PrependUOffsetTRelativeSlot(38, flatbuffers.number_types.UOffsetTFlags.py_type(vectorOfStr…
1197 def AddVectorOfStrongReferrables(builder, vectorOfStrongReferrables): argument
1198 MonsterAddVectorOfStrongReferrables(builder, vectorOfStrongReferrables)
1200 def MonsterStartVectorOfStrongReferrablesVector(builder, numElems): argument
1201 return builder.StartVector(4, numElems, 4)
1203 def StartVectorOfStrongReferrablesVector(builder, numElems): argument
1204 return MonsterStartVectorOfStrongReferrablesVector(builder, numElems)
1206 def MonsterAddCoOwningReference(builder, coOwningReference): argument
1207 builder.PrependUint64Slot(39, coOwningReference, 0)
1209 def AddCoOwningReference(builder, coOwningReference): argument
1210 MonsterAddCoOwningReference(builder, coOwningReference)
1212 def MonsterAddVectorOfCoOwningReferences(builder, vectorOfCoOwningReferences): argument
1213 …builder.PrependUOffsetTRelativeSlot(40, flatbuffers.number_types.UOffsetTFlags.py_type(vectorOfCoO…
1215 def AddVectorOfCoOwningReferences(builder, vectorOfCoOwningReferences): argument
1216 MonsterAddVectorOfCoOwningReferences(builder, vectorOfCoOwningReferences)
1218 def MonsterStartVectorOfCoOwningReferencesVector(builder, numElems): argument
1219 return builder.StartVector(8, numElems, 8)
1221 def StartVectorOfCoOwningReferencesVector(builder, numElems): argument
1222 return MonsterStartVectorOfCoOwningReferencesVector(builder, numElems)
1224 def MonsterAddNonOwningReference(builder, nonOwningReference): argument
1225 builder.PrependUint64Slot(41, nonOwningReference, 0)
1227 def AddNonOwningReference(builder, nonOwningReference): argument
1228 MonsterAddNonOwningReference(builder, nonOwningReference)
1230 def MonsterAddVectorOfNonOwningReferences(builder, vectorOfNonOwningReferences): argument
1231 …builder.PrependUOffsetTRelativeSlot(42, flatbuffers.number_types.UOffsetTFlags.py_type(vectorOfNon…
1233 def AddVectorOfNonOwningReferences(builder, vectorOfNonOwningReferences): argument
1234 MonsterAddVectorOfNonOwningReferences(builder, vectorOfNonOwningReferences)
1236 def MonsterStartVectorOfNonOwningReferencesVector(builder, numElems): argument
1237 return builder.StartVector(8, numElems, 8)
1239 def StartVectorOfNonOwningReferencesVector(builder, numElems): argument
1240 return MonsterStartVectorOfNonOwningReferencesVector(builder, numElems)
1242 def MonsterAddAnyUniqueType(builder, anyUniqueType): argument
1243 builder.PrependUint8Slot(43, anyUniqueType, 0)
1245 def AddAnyUniqueType(builder, anyUniqueType): argument
1246 MonsterAddAnyUniqueType(builder, anyUniqueType)
1248 def MonsterAddAnyUnique(builder, anyUnique): argument
1249 …builder.PrependUOffsetTRelativeSlot(44, flatbuffers.number_types.UOffsetTFlags.py_type(anyUnique),…
1251 def AddAnyUnique(builder, anyUnique): argument
1252 MonsterAddAnyUnique(builder, anyUnique)
1254 def MonsterAddAnyAmbiguousType(builder, anyAmbiguousType): argument
1255 builder.PrependUint8Slot(45, anyAmbiguousType, 0)
1257 def AddAnyAmbiguousType(builder, anyAmbiguousType): argument
1258 MonsterAddAnyAmbiguousType(builder, anyAmbiguousType)
1260 def MonsterAddAnyAmbiguous(builder, anyAmbiguous): argument
1261 …builder.PrependUOffsetTRelativeSlot(46, flatbuffers.number_types.UOffsetTFlags.py_type(anyAmbiguou…
1263 def AddAnyAmbiguous(builder, anyAmbiguous): argument
1264 MonsterAddAnyAmbiguous(builder, anyAmbiguous)
1266 def MonsterAddVectorOfEnums(builder, vectorOfEnums): argument
1267 …builder.PrependUOffsetTRelativeSlot(47, flatbuffers.number_types.UOffsetTFlags.py_type(vectorOfEnu…
1269 def AddVectorOfEnums(builder, vectorOfEnums): argument
1270 MonsterAddVectorOfEnums(builder, vectorOfEnums)
1272 def MonsterStartVectorOfEnumsVector(builder, numElems): argument
1273 return builder.StartVector(1, numElems, 1)
1275 def StartVectorOfEnumsVector(builder, numElems): argument
1276 return MonsterStartVectorOfEnumsVector(builder, numElems)
1278 def MonsterAddSignedEnum(builder, signedEnum): argument
1279 builder.PrependInt8Slot(48, signedEnum, -1)
1281 def AddSignedEnum(builder, signedEnum): argument
1282 MonsterAddSignedEnum(builder, signedEnum)
1284 def MonsterAddTestrequirednestedflatbuffer(builder, testrequirednestedflatbuffer): argument
1285 …builder.PrependUOffsetTRelativeSlot(49, flatbuffers.number_types.UOffsetTFlags.py_type(testrequire…
1287 def AddTestrequirednestedflatbuffer(builder, testrequirednestedflatbuffer): argument
1288 MonsterAddTestrequirednestedflatbuffer(builder, testrequirednestedflatbuffer)
1290 def MonsterStartTestrequirednestedflatbufferVector(builder, numElems): argument
1291 return builder.StartVector(1, numElems, 1)
1293 def StartTestrequirednestedflatbufferVector(builder, numElems): argument
1294 return MonsterStartTestrequirednestedflatbufferVector(builder, numElems)
1296 def MonsterMakeTestrequirednestedflatbufferVectorFromBytes(builder, bytes): argument
1297 builder.StartVector(1, len(bytes), 1)
1298 builder.head = builder.head - len(bytes)
1299 builder.Bytes[builder.head : builder.head + len(bytes)] = bytes
1300 return builder.EndVector()
1301 def MakeTestrequirednestedflatbufferVectorFromBytes(builder, bytes): argument
1302 return MonsterMakeTestrequirednestedflatbufferVectorFromBytes(builder, bytes)
1303 def MonsterAddScalarKeySortedTables(builder, scalarKeySortedTables): argument
1304 …builder.PrependUOffsetTRelativeSlot(50, flatbuffers.number_types.UOffsetTFlags.py_type(scalarKeySo…
1306 def AddScalarKeySortedTables(builder, scalarKeySortedTables): argument
1307 MonsterAddScalarKeySortedTables(builder, scalarKeySortedTables)
1309 def MonsterStartScalarKeySortedTablesVector(builder, numElems): argument
1310 return builder.StartVector(4, numElems, 4)
1312 def StartScalarKeySortedTablesVector(builder, numElems): argument
1313 return MonsterStartScalarKeySortedTablesVector(builder, numElems)
1315 def MonsterAddNativeInline(builder, nativeInline): argument
1316 builder.PrependStructSlot(51, flatbuffers.number_types.UOffsetTFlags.py_type(nativeInline), 0)
1318 def AddNativeInline(builder, nativeInline): argument
1319 MonsterAddNativeInline(builder, nativeInline)
1321 def MonsterAddLongEnumNonEnumDefault(builder, longEnumNonEnumDefault): argument
1322 builder.PrependUint64Slot(52, longEnumNonEnumDefault, 0)
1324 def AddLongEnumNonEnumDefault(builder, longEnumNonEnumDefault): argument
1325 MonsterAddLongEnumNonEnumDefault(builder, longEnumNonEnumDefault)
1327 def MonsterAddLongEnumNormalDefault(builder, longEnumNormalDefault): argument
1328 builder.PrependUint64Slot(53, longEnumNormalDefault, 2)
1330 def AddLongEnumNormalDefault(builder, longEnumNormalDefault): argument
1331 MonsterAddLongEnumNormalDefault(builder, longEnumNormalDefault)
1333 def MonsterAddNanDefault(builder, nanDefault): argument
1334 builder.PrependFloat32Slot(54, nanDefault, float('nan'))
1336 def AddNanDefault(builder, nanDefault): argument
1337 MonsterAddNanDefault(builder, nanDefault)
1339 def MonsterAddInfDefault(builder, infDefault): argument
1340 builder.PrependFloat32Slot(55, infDefault, float('inf'))
1342 def AddInfDefault(builder, infDefault): argument
1343 MonsterAddInfDefault(builder, infDefault)
1345 def MonsterAddPositiveInfDefault(builder, positiveInfDefault): argument
1346 builder.PrependFloat32Slot(56, positiveInfDefault, float('inf'))
1348 def AddPositiveInfDefault(builder, positiveInfDefault): argument
1349 MonsterAddPositiveInfDefault(builder, positiveInfDefault)
1351 def MonsterAddInfinityDefault(builder, infinityDefault): argument
1352 builder.PrependFloat32Slot(57, infinityDefault, float('inf'))
1354 def AddInfinityDefault(builder, infinityDefault): argument
1355 MonsterAddInfinityDefault(builder, infinityDefault)
1357 def MonsterAddPositiveInfinityDefault(builder, positiveInfinityDefault): argument
1358 builder.PrependFloat32Slot(58, positiveInfinityDefault, float('inf'))
1360 def AddPositiveInfinityDefault(builder, positiveInfinityDefault): argument
1361 MonsterAddPositiveInfinityDefault(builder, positiveInfinityDefault)
1363 def MonsterAddNegativeInfDefault(builder, negativeInfDefault): argument
1364 builder.PrependFloat32Slot(59, negativeInfDefault, float('-inf'))
1366 def AddNegativeInfDefault(builder, negativeInfDefault): argument
1367 MonsterAddNegativeInfDefault(builder, negativeInfDefault)
1369 def MonsterAddNegativeInfinityDefault(builder, negativeInfinityDefault): argument
1370 builder.PrependFloat32Slot(60, negativeInfinityDefault, float('-inf'))
1372 def AddNegativeInfinityDefault(builder, negativeInfinityDefault): argument
1373 MonsterAddNegativeInfinityDefault(builder, negativeInfinityDefault)
1375 def MonsterAddDoubleInfDefault(builder, doubleInfDefault): argument
1376 builder.PrependFloat64Slot(61, doubleInfDefault, float('inf'))
1378 def AddDoubleInfDefault(builder, doubleInfDefault): argument
1379 MonsterAddDoubleInfDefault(builder, doubleInfDefault)
1381 def MonsterEnd(builder): argument
1382 return builder.EndObject()
1384 def End(builder): argument
1385 return MonsterEnd(builder)
1679 def Pack(self, builder): argument
1681 name = builder.CreateString(self.name)
1684 inventory = builder.CreateNumpyVector(self.inventory)
1686 MonsterStartInventoryVector(builder, len(self.inventory))
1688 builder.PrependUint8(self.inventory[i])
1689 inventory = builder.EndVector()
1691 test = self.test.Pack(builder)
1693 MonsterStartTest4Vector(builder, len(self.test4))
1695 self.test4[i].Pack(builder)
1696 test4 = builder.EndVector()
1700 testarrayofstringlist.append(builder.CreateString(self.testarrayofstring[i]))
1701 MonsterStartTestarrayofstringVector(builder, len(self.testarrayofstring))
1703 builder.PrependUOffsetTRelative(testarrayofstringlist[i])
1704 testarrayofstring = builder.EndVector()
1708 testarrayoftableslist.append(self.testarrayoftables[i].Pack(builder))
1709 MonsterStartTestarrayoftablesVector(builder, len(self.testarrayoftables))
1711 builder.PrependUOffsetTRelative(testarrayoftableslist[i])
1712 testarrayoftables = builder.EndVector()
1714 enemy = self.enemy.Pack(builder)
1717 testnestedflatbuffer = builder.CreateNumpyVector(self.testnestedflatbuffer)
1719 MonsterStartTestnestedflatbufferVector(builder, len(self.testnestedflatbuffer))
1721 builder.PrependUint8(self.testnestedflatbuffer[i])
1722 testnestedflatbuffer = builder.EndVector()
1724 testempty = self.testempty.Pack(builder)
1727 testarrayofbools = builder.CreateNumpyVector(self.testarrayofbools)
1729 MonsterStartTestarrayofboolsVector(builder, len(self.testarrayofbools))
1731 builder.PrependBool(self.testarrayofbools[i])
1732 testarrayofbools = builder.EndVector()
1736 testarrayofstring2list.append(builder.CreateString(self.testarrayofstring2[i]))
1737 MonsterStartTestarrayofstring2Vector(builder, len(self.testarrayofstring2))
1739 builder.PrependUOffsetTRelative(testarrayofstring2list[i])
1740 testarrayofstring2 = builder.EndVector()
1742 MonsterStartTestarrayofsortedstructVector(builder, len(self.testarrayofsortedstruct))
1744 self.testarrayofsortedstruct[i].Pack(builder)
1745 testarrayofsortedstruct = builder.EndVector()
1748 flex = builder.CreateNumpyVector(self.flex)
1750 MonsterStartFlexVector(builder, len(self.flex))
1752 builder.PrependUint8(self.flex[i])
1753 flex = builder.EndVector()
1755 MonsterStartTest5Vector(builder, len(self.test5))
1757 self.test5[i].Pack(builder)
1758 test5 = builder.EndVector()
1761 vectorOfLongs = builder.CreateNumpyVector(self.vectorOfLongs)
1763 MonsterStartVectorOfLongsVector(builder, len(self.vectorOfLongs))
1765 builder.PrependInt64(self.vectorOfLongs[i])
1766 vectorOfLongs = builder.EndVector()
1769 vectorOfDoubles = builder.CreateNumpyVector(self.vectorOfDoubles)
1771 MonsterStartVectorOfDoublesVector(builder, len(self.vectorOfDoubles))
1773 builder.PrependFloat64(self.vectorOfDoubles[i])
1774 vectorOfDoubles = builder.EndVector()
1776 parentNamespaceTest = self.parentNamespaceTest.Pack(builder)
1780 vectorOfReferrableslist.append(self.vectorOfReferrables[i].Pack(builder))
1781 MonsterStartVectorOfReferrablesVector(builder, len(self.vectorOfReferrables))
1783 builder.PrependUOffsetTRelative(vectorOfReferrableslist[i])
1784 vectorOfReferrables = builder.EndVector()
1787 vectorOfWeakReferences = builder.CreateNumpyVector(self.vectorOfWeakReferences)
1789 MonsterStartVectorOfWeakReferencesVector(builder, len(self.vectorOfWeakReferences))
1791 builder.PrependUint64(self.vectorOfWeakReferences[i])
1792 vectorOfWeakReferences = builder.EndVector()
1796 … vectorOfStrongReferrableslist.append(self.vectorOfStrongReferrables[i].Pack(builder))
1797 … MonsterStartVectorOfStrongReferrablesVector(builder, len(self.vectorOfStrongReferrables))
1799 builder.PrependUOffsetTRelative(vectorOfStrongReferrableslist[i])
1800 vectorOfStrongReferrables = builder.EndVector()
1803 … vectorOfCoOwningReferences = builder.CreateNumpyVector(self.vectorOfCoOwningReferences)
1805 … MonsterStartVectorOfCoOwningReferencesVector(builder, len(self.vectorOfCoOwningReferences))
1807 builder.PrependUint64(self.vectorOfCoOwningReferences[i])
1808 vectorOfCoOwningReferences = builder.EndVector()
1811 … vectorOfNonOwningReferences = builder.CreateNumpyVector(self.vectorOfNonOwningReferences)
1813 … MonsterStartVectorOfNonOwningReferencesVector(builder, len(self.vectorOfNonOwningReferences))
1815 builder.PrependUint64(self.vectorOfNonOwningReferences[i])
1816 vectorOfNonOwningReferences = builder.EndVector()
1818 anyUnique = self.anyUnique.Pack(builder)
1820 anyAmbiguous = self.anyAmbiguous.Pack(builder)
1823 vectorOfEnums = builder.CreateNumpyVector(self.vectorOfEnums)
1825 MonsterStartVectorOfEnumsVector(builder, len(self.vectorOfEnums))
1827 builder.PrependUint8(self.vectorOfEnums[i])
1828 vectorOfEnums = builder.EndVector()
1831 … testrequirednestedflatbuffer = builder.CreateNumpyVector(self.testrequirednestedflatbuffer)
1833 … MonsterStartTestrequirednestedflatbufferVector(builder, len(self.testrequirednestedflatbuffer))
1835 builder.PrependUint8(self.testrequirednestedflatbuffer[i])
1836 testrequirednestedflatbuffer = builder.EndVector()
1840 scalarKeySortedTableslist.append(self.scalarKeySortedTables[i].Pack(builder))
1841 MonsterStartScalarKeySortedTablesVector(builder, len(self.scalarKeySortedTables))
1843 builder.PrependUOffsetTRelative(scalarKeySortedTableslist[i])
1844 scalarKeySortedTables = builder.EndVector()
1845 MonsterStart(builder)
1847 pos = self.pos.Pack(builder)
1848 MonsterAddPos(builder, pos)
1849 MonsterAddMana(builder, self.mana)
1850 MonsterAddHp(builder, self.hp)
1852 MonsterAddName(builder, name)
1854 MonsterAddInventory(builder, inventory)
1855 MonsterAddColor(builder, self.color)
1856 MonsterAddTestType(builder, self.testType)
1858 MonsterAddTest(builder, test)
1860 MonsterAddTest4(builder, test4)
1862 MonsterAddTestarrayofstring(builder, testarrayofstring)
1864 MonsterAddTestarrayoftables(builder, testarrayoftables)
1866 MonsterAddEnemy(builder, enemy)
1868 MonsterAddTestnestedflatbuffer(builder, testnestedflatbuffer)
1870 MonsterAddTestempty(builder, testempty)
1871 MonsterAddTestbool(builder, self.testbool)
1872 MonsterAddTesthashs32Fnv1(builder, self.testhashs32Fnv1)
1873 MonsterAddTesthashu32Fnv1(builder, self.testhashu32Fnv1)
1874 MonsterAddTesthashs64Fnv1(builder, self.testhashs64Fnv1)
1875 MonsterAddTesthashu64Fnv1(builder, self.testhashu64Fnv1)
1876 MonsterAddTesthashs32Fnv1a(builder, self.testhashs32Fnv1a)
1877 MonsterAddTesthashu32Fnv1a(builder, self.testhashu32Fnv1a)
1878 MonsterAddTesthashs64Fnv1a(builder, self.testhashs64Fnv1a)
1879 MonsterAddTesthashu64Fnv1a(builder, self.testhashu64Fnv1a)
1881 MonsterAddTestarrayofbools(builder, testarrayofbools)
1882 MonsterAddTestf(builder, self.testf)
1883 MonsterAddTestf2(builder, self.testf2)
1884 MonsterAddTestf3(builder, self.testf3)
1886 MonsterAddTestarrayofstring2(builder, testarrayofstring2)
1888 MonsterAddTestarrayofsortedstruct(builder, testarrayofsortedstruct)
1890 MonsterAddFlex(builder, flex)
1892 MonsterAddTest5(builder, test5)
1894 MonsterAddVectorOfLongs(builder, vectorOfLongs)
1896 MonsterAddVectorOfDoubles(builder, vectorOfDoubles)
1898 MonsterAddParentNamespaceTest(builder, parentNamespaceTest)
1900 MonsterAddVectorOfReferrables(builder, vectorOfReferrables)
1901 MonsterAddSingleWeakReference(builder, self.singleWeakReference)
1903 MonsterAddVectorOfWeakReferences(builder, vectorOfWeakReferences)
1905 MonsterAddVectorOfStrongReferrables(builder, vectorOfStrongReferrables)
1906 MonsterAddCoOwningReference(builder, self.coOwningReference)
1908 MonsterAddVectorOfCoOwningReferences(builder, vectorOfCoOwningReferences)
1909 MonsterAddNonOwningReference(builder, self.nonOwningReference)
1911 MonsterAddVectorOfNonOwningReferences(builder, vectorOfNonOwningReferences)
1912 MonsterAddAnyUniqueType(builder, self.anyUniqueType)
1914 MonsterAddAnyUnique(builder, anyUnique)
1915 MonsterAddAnyAmbiguousType(builder, self.anyAmbiguousType)
1917 MonsterAddAnyAmbiguous(builder, anyAmbiguous)
1919 MonsterAddVectorOfEnums(builder, vectorOfEnums)
1920 MonsterAddSignedEnum(builder, self.signedEnum)
1922 MonsterAddTestrequirednestedflatbuffer(builder, testrequirednestedflatbuffer)
1924 MonsterAddScalarKeySortedTables(builder, scalarKeySortedTables)
1926 nativeInline = self.nativeInline.Pack(builder)
1927 MonsterAddNativeInline(builder, nativeInline)
1928 MonsterAddLongEnumNonEnumDefault(builder, self.longEnumNonEnumDefault)
1929 MonsterAddLongEnumNormalDefault(builder, self.longEnumNormalDefault)
1930 MonsterAddNanDefault(builder, self.nanDefault)
1931 MonsterAddInfDefault(builder, self.infDefault)
1932 MonsterAddPositiveInfDefault(builder, self.positiveInfDefault)
1933 MonsterAddInfinityDefault(builder, self.infinityDefault)
1934 MonsterAddPositiveInfinityDefault(builder, self.positiveInfinityDefault)
1935 MonsterAddNegativeInfDefault(builder, self.negativeInfDefault)
1936 MonsterAddNegativeInfinityDefault(builder, self.negativeInfinityDefault)
1937 MonsterAddDoubleInfDefault(builder, self.doubleInfDefault)
1938 monster = MonsterEnd(builder)