Home | History | Annotate | Download | only in tests

Lines Matching refs:MyGame

7 var MyGame = MyGame || {};
13 MyGame.Example = MyGame.Example || {};
19 MyGame.Example2 = MyGame.Example2 || {};
25 MyGame.OtherNameSpace = MyGame.OtherNameSpace || {};
30 MyGame.Example.Color = {
39 MyGame.Example.Any = {
49 MyGame.Example.AnyUniqueAliases = {
59 MyGame.Example.AnyAmbiguousAliases = {
69 MyGame.InParentNamespace = function() {
84 * @returns {MyGame.InParentNamespace}
86 MyGame.InParentNamespace.prototype.__init = function(i, bb) {
94 * @param {MyGame.InParentNamespace=} obj
95 * @returns {MyGame.InParentNamespace}
97 MyGame.InParentNamespace.getRootAsInParentNamespace = function(bb, obj) {
98 return (obj || new MyGame.InParentNamespace).__init(bb.readInt32(bb.position()) + bb.position(), bb);
104 MyGame.InParentNamespace.startInParentNamespace = function(builder) {
112 MyGame.InParentNamespace.endInParentNamespace = function(builder) {
121 MyGame.InParentNamespace.createInParentNamespace = function(builder) {
122 MyGame.InParentNamespace.startInParentNamespace(builder);
123 return MyGame.InParentNamespace.endInParentNamespace(builder);
129 MyGame.Example2.Monster = function() {
144 * @returns {MyGame.Example2.Monster}
146 MyGame.Example2.Monster.prototype.__init = function(i, bb) {
154 * @param {MyGame.Example2.Monster=} obj
155 * @returns {MyGame.Example2.Monster}
157 MyGame.Example2.Monster.getRootAsMonster = function(bb, obj) {
158 return (obj || new MyGame.Example2.Monster).__init(bb.readInt32(bb.position()) + bb.position(), bb);
164 MyGame.Example2.Monster.startMonster = function(builder) {
172 MyGame.Example2.Monster.endMonster = function(builder) {
181 MyGame.Example2.Monster.createMonster = function(builder) {
182 MyGame.Example2.Monster.startMonster(builder);
183 return MyGame.Example2.Monster.endMonster(builder);
189 MyGame.Example.Test = function() {
204 * @returns {MyGame.Example.Test}
206 MyGame.Example.Test.prototype.__init = function(i, bb) {
215 MyGame.Example.Test.prototype.a = function() {
223 MyGame.Example.Test.prototype.mutate_a = function(value) {
237 MyGame.Example.Test.prototype.b = function() {
245 MyGame.Example.Test.prototype.mutate_b = function(value) {
262 MyGame.Example.Test.createTest = function(builder, a, b) {
273 MyGame.Example.TestSimpleTableWithEnum = function() {
288 * @returns {MyGame.Example.TestSimpleTableWithEnum}
290 MyGame.Example.TestSimpleTableWithEnum.prototype.__init = function(i, bb) {
298 * @param {MyGame.Example.TestSimpleTableWithEnum=} obj
299 * @returns {MyGame.Example.TestSimpleTableWithEnum}
301 MyGame.Example.TestSimpleTableWithEnum.getRootAsTestSimpleTableWithEnum = function(bb, obj) {
302 return (obj || new MyGame.Example.TestSimpleTableWithEnum).__init(bb.readInt32(bb.position()) + bb.position(), bb);
306 * @returns {MyGame.Example.Color}
308 MyGame.Example.TestSimpleTableWithEnum.prototype.color = function() {
310 return offset ? /** @type {MyGame.Example.Color} */ (this.bb.readInt8(this.bb_pos + offset)) : MyGame.Example.Color.Green;
314 * @param {MyGame.Example.Color} value
317 MyGame.Example.TestSimpleTableWithEnum.prototype.mutate_color = function(value) {
331 MyGame.Example.TestSimpleTableWithEnum.startTestSimpleTableWithEnum = function(builder) {
337 * @param {MyGame.Example.Color} color
339 MyGame.Example.TestSimpleTableWithEnum.addColor = function(builder, color) {
340 builder.addFieldInt8(0, color, MyGame.Example.Color.Green);
347 MyGame.Example.TestSimpleTableWithEnum.endTestSimpleTableWithEnum = function(builder) {
354 * @param {MyGame.Example.Color} color
357 MyGame.Example.TestSimpleTableWithEnum.createTestSimpleTableWithEnum = function(builder, color) {
358 MyGame.Example.TestSimpleTableWithEnum.startTestSimpleTableWithEnum(builder);
359 MyGame.Example.TestSimpleTableWithEnum.addColor(builder, color);
360 return MyGame.Example.TestSimpleTableWithEnum.endTestSimpleTableWithEnum(builder);
366 MyGame.Example.Vec3 = function() {
381 * @returns {MyGame.Example.Vec3}
383 MyGame.Example.Vec3.prototype.__init = function(i, bb) {
392 MyGame.Example.Vec3.prototype.x = function() {
400 MyGame.Example.Vec3.prototype.mutate_x = function(value) {
414 MyGame.Example.Vec3.prototype.y = function() {
422 MyGame.Example.Vec3.prototype.mutate_y = function(value) {
436 MyGame.Example.Vec3.prototype.z = function() {
444 MyGame.Example.Vec3.prototype.mutate_z = function(value) {
458 MyGame.Example.Vec3.prototype.test1 = function() {
466 MyGame.Example.Vec3.prototype.mutate_test1 = function(value) {
478 * @returns {MyGame.Example.Color}
480 MyGame.Example.Vec3.prototype.test2 = function() {
481 return /** @type {MyGame.Example.Color} */ (this.bb.readInt8(this.bb_pos + 24));
485 * @param {MyGame.Example.Color} value
488 MyGame.Example.Vec3.prototype.mutate_test2 = function(value) {
500 * @param {MyGame.Example.Test=} obj
501 * @returns {MyGame.Example.Test|null}
503 MyGame.Example.Vec3.prototype.test3 = function(obj) {
504 return (obj || new MyGame.Example.Test).__init(this.bb_pos + 26, this.bb);
513 * @param {MyGame.Example.Color} test2
518 MyGame.Example.Vec3.createVec3 = function(builder, x, y, z, test1, test2, test3_a, test3_b) {
538 MyGame.Example.Ability = function() {
553 * @returns {MyGame.Example.Ability}
555 MyGame.Example.Ability.prototype.__init = function(i, bb) {
564 MyGame.Example.Ability.prototype.id = function() {
572 MyGame.Example.Ability.prototype.mutate_id = function(value) {
586 MyGame.Example.Ability.prototype.distance = function() {
594 MyGame.Example.Ability.prototype.mutate_distance = function(value) {
611 MyGame.Example.Ability.createAbility = function(builder, id, distance) {
621 MyGame.Example.Stat = function() {
636 * @returns {MyGame.Example.Stat}
638 MyGame.Example.Stat.prototype.__init = function(i, bb) {
646 * @param {MyGame.Example.Stat=} obj
647 * @returns {MyGame.Example.Stat}
649 MyGame.Example.Stat.getRootAsStat = function(bb, obj) {
650 return (obj || new MyGame.Example.Stat).__init(bb.readInt32(bb.position()) + bb.position(), bb);
657 MyGame.Example.Stat.prototype.id = function(optionalEncoding) {
665 MyGame.Example.Stat.prototype.val = function() {
674 MyGame.Example.Stat.prototype.mutate_val = function(value) {
688 MyGame.Example.Stat.prototype.count = function() {
697 MyGame.Example.Stat.prototype.mutate_count = function(value) {
711 MyGame.Example.Stat.startStat = function(builder) {
719 MyGame.Example.Stat.addId = function(builder, idOffset) {
727 MyGame.Example.Stat.addVal = function(builder, val) {
735 MyGame.Example.Stat.addCount = function(builder, count) {
743 MyGame.Example.Stat.endStat = function(builder) {
755 MyGame.Example.Stat.createStat = function(builder, idOffset, val, count) {
756 MyGame.Example.Stat.startStat(builder);
757 MyGame.Example.Stat.addId(builder, idOffset);
758 MyGame.Example.Stat.addVal(builder, val);
759 MyGame.Example.Stat.addCount(builder, count);
760 return MyGame.Example.Stat.endStat(builder);
766 MyGame.Example.Referrable = function() {
781 * @returns {MyGame.Example.Referrable}
783 MyGame.Example.Referrable.prototype.__init = function(i, bb) {
791 * @param {MyGame
792 * @returns {MyGame.Example.Referrable}
794 MyGame.Example.Referrable.getRootAsReferrable = function(bb, obj) {
795 return (obj || new MyGame.Example.Referrable).__init(bb.readInt32(bb.position()) + bb.position(), bb);
801 MyGame.Example.Referrable.prototype.id = function() {
810 MyGame.Example.Referrable.prototype.mutate_id = function(value) {
824 MyGame.Example.Referrable.startReferrable = function(builder) {
832 MyGame.Example.Referrable.addId = function(builder, id) {
840 MyGame.Example.Referrable.endReferrable = function(builder) {
850 MyGame.Example.Referrable.createReferrable = function(builder, id) {
851 MyGame.Example.Referrable.startReferrable(builder);
852 MyGame.Example.Referrable.addId(builder, id);
853 return MyGame.Example.Referrable.endReferrable(builder);
861 MyGame.Example.Monster = function() {
876 * @returns {MyGame.Example.Monster}
878 MyGame.Example.Monster.prototype.__init = function(i, bb) {
886 * @param {MyGame.Example.Monster=} obj
887 * @returns {MyGame.Example.Monster}
889 MyGame.Example.Monster.getRootAsMonster = function(bb, obj) {
890 return (obj || new MyGame.Example.Monster).__init(bb.readInt32(bb.position()) + bb.position(), bb);
897 MyGame.Example.Monster.bufferHasIdentifier = function(bb) {
902 * @param {MyGame.Example.Vec3=} obj
903 * @returns {MyGame.Example.Vec3|null}
905 MyGame.Example.Monster.prototype.pos = function(obj) {
907 return offset ? (obj || new MyGame.Example.Vec3).__init(this.bb_pos + offset, this.bb) : null;
913 MyGame.Example.Monster.prototype.mana = function() {
922 MyGame.Example.Monster.prototype.mutate_mana = function(value) {
936 MyGame.Example.Monster.prototype.hp = function() {
945 MyGame.Example.Monster.prototype.mutate_hp = function(value) {
960 MyGame.Example.Monster.prototype.name = function(optionalEncoding) {
969 MyGame.Example.Monster.prototype.inventory = function(index) {
977 MyGame.Example.Monster.prototype.inventoryLength = function() {
985 MyGame.Example.Monster.prototype.inventoryArray = function() {
991 * @returns {MyGame.Example.Color}
993 MyGame.Example.Monster.prototype.color = function() {
995 return offset ? /** @type {MyGame.Example.Color} */ (this.bb.readInt8(this.bb_pos + offset)) : MyGame.Example.Color.Blue;
999 * @param {MyGame.Example.Color} value
1002 MyGame.Example.Monster.prototype.mutate_color = function(value) {
1014 * @returns {MyGame.Example.Any}
1016 MyGame.Example.Monster.prototype.testType = function() {
1018 return offset ? /** @type {MyGame.Example.Any} */ (this.bb.readUint8(this.bb_pos + offset)) : MyGame.Example.Any.NONE;
1022 * @param {MyGame.Example.Any} value
1025 MyGame.Example.Monster.prototype.mutate_test_type = function(value) {
1040 MyGame.Example.Monster.prototype.test = function(obj) {
1047 * @param {MyGame.Example.Test=} obj
1048 * @returns {MyGame.Example.Test}
1050 MyGame.Example.Monster.prototype.test4 = function(index, obj) {
1052 return offset ? (obj || new MyGame.Example.Test).__init(this.bb.__vector(this.bb_pos + offset) + index * 4, this.bb) : null;
1058 MyGame.Example.Monster.prototype.test4Length = function() {
1068 MyGame.Example.Monster.prototype.testarrayofstring = function(index, optionalEncoding) {
1076 MyGame.Example.Monster.prototype.testarrayofstringLength = function() {
1086 * @param {MyGame.Example.Monster=} obj
1087 * @returns {MyGame.Example.Monster}
1089 MyGame.Example.Monster.prototype.testarrayoftables = function(index, obj) {
1091 return offset ? (obj || new MyGame.Example.Monster).__init(this.bb.__indirect(this.bb.__vector(this.bb_pos + offset) + index * 4), this.bb) : null;
1097 MyGame.Example.Monster.prototype.testarrayoftablesLength = function() {
1103 * @param {MyGame.Example.Monster=} obj
1104 * @returns {MyGame.Example.Monster|null}
1106 MyGame.Example.Monster.prototype.enemy = function(obj) {
1108 return offset ? (obj || new MyGame.Example.Monster).__init(this.bb.__indirect(this.bb_pos + offset), this.bb) : null;
1115 MyGame.Example.Monster.prototype.testnestedflatbuffer = function(index) {
1123 MyGame.Example.Monster.prototype.testnestedflatbufferLength = function() {
1131 MyGame.Example.Monster.prototype.testnestedflatbufferArray = function() {
1137 * @param {MyGame.Example.Stat=} obj
1138 * @returns {MyGame.Example.Stat|null}
1140 MyGame.Example.Monster.prototype.testempty = function(obj) {
1142 return offset ? (obj || new MyGame.Example.Stat).__init(this.bb.__indirect(this.bb_pos + offset), this.bb) : null;
1148 MyGame.Example.Monster.prototype.testbool = function() {
1157 MyGame.Example.Monster.prototype.mutate_testbool = function(value) {
1171 MyGame.Example.Monster.prototype.testhashs32Fnv1 = function() {
1180 MyGame.Example.Monster.prototype.mutate_testhashs32_fnv1 = function(value) {
1194 MyGame.Example.Monster.prototype.testhashu32Fnv1 = function() {
1203 MyGame.Example.Monster.prototype.mutate_testhashu32_fnv1 = function(value) {
1217 MyGame.Example.Monster.prototype.testhashs64Fnv1 = function() {
1226 MyGame.Example.Monster.prototype.mutate_testhashs64_fnv1 = function(value) {
1240 MyGame.Example.Monster.prototype.testhashu64Fnv1 = function() {
1249 MyGame.Example.Monster.prototype.mutate_testhashu64_fnv1 = function(value) {
1263 MyGame.Example.Monster.prototype.testhashs32Fnv1a = function() {
1272 MyGame.Example.Monster.prototype.mutate_testhashs32_fnv1a = function(value) {
1286 MyGame.Example.Monster.prototype.testhashu32Fnv1a = function() {
1295 MyGame.Example.Monster.prototype.mutate_testhashu32_fnv1a = function(value) {
1309 MyGame.Example.Monster.prototype.testhashs64Fnv1a = function() {
1318 MyGame.Example.Monster.prototype.mutate_testhashs64_fnv1a = function(value) {
1332 MyGame.Example.Monster.prototype.testhashu64Fnv1a = function() {
1341 MyGame.Example.Monster.prototype.mutate_testhashu64_fnv1a = function(value) {
1356 MyGame.Example.Monster.prototype.testarrayofbools = function(index) {
1364 MyGame.Example.Monster.prototype.testarrayofboolsLength = function() {
1372 MyGame.Example.Monster.prototype.testarrayofboolsArray = function() {
1380 MyGame.Example.Monster.prototype.testf = function() {
1389 MyGame.Example.Monster.prototype.mutate_testf = function(value) {
1403 MyGame.Example.Monster.prototype.testf2 = function() {
1412 MyGame.Example.Monster.prototype.mutate_testf2 = function(value) {
1426 MyGame.Example.Monster.prototype.testf3 = function() {
1435 MyGame.Example.Monster.prototype.mutate_testf3 = function(value) {
1451 MyGame.Example.Monster.prototype.testarrayofstring2 = function(index, optionalEncoding) {
1459 MyGame.Example.Monster.prototype.testarrayofstring2Length = function() {
1466 * @param {MyGame.Example.Ability=} obj
1467 * @returns {MyGame.Example.Ability}
1469 MyGame.Example.Monster.prototype.testarrayofsortedstruct = function(index, obj) {
1471 return offset ? (obj || new MyGame.Example.Ability).__init(this.bb.__vector(this.bb_pos + offset) + index * 8, this.bb) : null;
1477 MyGame.Example.Monster.prototype.testarrayofsortedstructLength = function() {
1486 MyGame.Example.Monster.prototype.flex = function(index) {
1494 MyGame.Example.Monster.prototype.flexLength = function() {
1502 MyGame.Example.Monster.prototype.flexArray = function() {
1509 * @param {MyGame.Example.Test=} obj
1510 * @returns {MyGame.Example.Test}
1512 MyGame.Example.Monster.prototype.test5 = function(index, obj) {
1514 return offset ? (obj || new MyGame.Example.Test).__init(this.bb.__vector(this.bb_pos + offset) + index * 4, this.bb) : null;
1520 MyGame.Example.Monster.prototype.test5Length = function() {
1529 MyGame.Example.Monster.prototype.vectorOfLongs = function(index) {
1537 MyGame.Example.Monster.prototype.vectorOfLongsLength = function() {
1546 MyGame.Example.Monster.prototype.vectorOfDoubles = function(index) {
1554 MyGame.Example.Monster.prototype.vectorOfDoublesLength = function() {
1562 MyGame.Example.Monster.prototype.vectorOfDoublesArray = function() {
1568 * @param {MyGame.InParentNamespace=} obj
1569 * @returns {MyGame.InParentNamespace|null}
1571 MyGame.Example.Monster.prototype.parentNamespaceTest = function(obj) {
1573 return offset ? (obj || new MyGame.InParentNamespace).__init(this.bb.__indirect(this.bb_pos + offset), this.bb) : null;
1578 * @param {MyGame.Example.Referrable=} obj
1579 * @returns {MyGame.Example.Referrable}
1581 MyGame.Example.Monster.prototype.vectorOfReferrables = function(index, obj) {
1583 return offset ? (obj || new MyGame.Example.Referrable).__init(this.bb.__indirect(this.bb.__vector(this.bb_pos + offset) + index * 4), this.bb) : null;
1589 MyGame.Example.Monster.prototype.vectorOfReferrablesLength = function() {
1597 MyGame.Example.Monster.prototype.singleWeakReference = function() {
1606 MyGame.Example.Monster.prototype.mutate_single_weak_reference = function(value) {
1621 MyGame.Example.Monster.prototype.vectorOfWeakReferences = function(index) {
1629 MyGame.Example.Monster.prototype.vectorOfWeakReferencesLength = function() {
1636 * @param {MyGame.Example.Referrable=} obj
1637 * @returns {MyGame.Example.Referrable}
1639 MyGame.Example.Monster.prototype.vectorOfStrongReferrables = function(index, obj) {
1641 return offset ? (obj || new MyGame.Example.Referrable).__init(this.bb.__indirect(this.bb.__vector(this.bb_pos + offset) + index * 4), this.bb) : null;
1647 MyGame.Example.Monster.prototype.vectorOfStrongReferrablesLength = function() {
1655 MyGame.Example.Monster.prototype.coOwningReference = function() {
1664 MyGame.Example.Monster.prototype.mutate_co_owning_reference = function(value) {
1679 MyGame.Example.Monster.prototype.vectorOfCoOwningReferences = function(index) {
1687 MyGame.Example.Monster.prototype.vectorOfCoOwningReferencesLength = function() {
1695 MyGame.Example.Monster.prototype.nonOwningReference = function() {
1704 MyGame.Example.Monster.prototype.mutate_non_owning_reference = function(value) {
1719 MyGame.Example.Monster.prototype.vectorOfNonOwningReferences = function(index) {
1727 MyGame.Example.Monster.prototype.vectorOfNonOwningReferencesLength = function() {
1733 * @returns {MyGame.Example.AnyUniqueAliases}
1735 MyGame.Example.Monster.prototype.anyUniqueType = function() {
1737 return offset ? /** @type {MyGame.Example.AnyUniqueAliases} */ (this.bb.readUint8(this.bb_pos + offset)) : MyGame.Example.AnyUniqueAliases.NONE;
1741 * @param {MyGame.Example.AnyUniqueAliases} value
1744 MyGame.Example.Monster.prototype.mutate_any_unique_type = function(value) {
1759 MyGame.Example.Monster.prototype.anyUnique = function(obj) {
1765 * @returns {MyGame.Example.AnyAmbiguousAliases}
1767 MyGame.Example.Monster.prototype.anyAmbiguousType = function() {
1769 return offset ? /** @type {MyGame.Example.AnyAmbiguousAliases} */ (this.bb.readUint8(this.bb_pos + offset)) : MyGame.Example.AnyAmbiguousAliases.NONE;
1773 * @param {MyGame.Example.AnyAmbiguousAliases} value
1776 MyGame.Example.Monster.prototype.mutate_any_ambiguous_type = function(value) {
1791 MyGame.Example.Monster.prototype.anyAmbiguous = function(obj) {
1798 * @returns {MyGame.Example.Color}
1800 MyGame.Example.Monster.prototype.vectorOfEnums = function(index) {
1802 return offset ? /** @type {MyGame.Example.Color} */ (this.bb.readInt8(this.bb.__vector(this.bb_pos + offset) + index)) : /** @type {MyGame.Example.Color} */ (0);
1808 MyGame.Example.Monster.prototype.vectorOfEnumsLength = function() {
1816 MyGame.Example.Monster.prototype.vectorOfEnumsArray = function() {
1824 MyGame.Example.Monster.startMonster = function(builder) {
1832 MyGame.Example.Monster.addPos = function(builder, posOffset) {
1840 MyGame.Example.Monster.addMana = function(builder, mana) {
1848 MyGame.Example.Monster.addHp = function(builder, hp) {
1856 MyGame.Example.Monster.addName = function(builder, nameOffset) {
1864 MyGame.Example.Monster.addInventory = function(builder, inventoryOffset) {
1873 MyGame.Example.Monster.createInventoryVector = function(builder, data) {
1885 MyGame.Example.Monster.startInventoryVector = function(builder, numElems) {
1891 * @param {MyGame.Example.Color} color
1893 MyGame.Example.Monster.addColor = function(builder, color) {
1894 builder.addFieldInt8(6, color, MyGame.Example.Color.Blue);
1899 * @param {MyGame.Example.Any} testType
1901 MyGame.Example.Monster.addTestType = function(builder, testType) {
1902 builder.addFieldInt8(7, testType, MyGame.Example.Any.NONE);
1909 MyGame.Example.Monster.addTest = function(builder, testOffset) {
1917 MyGame.Example.Monster.addTest4 = function(builder, test4Offset) {
1925 MyGame.Example.Monster.startTest4Vector = function(builder, numElems) {
1933 MyGame.Example.Monster.addTestarrayofstring = function(builder, testarrayofstringOffset) {
1942 MyGame.Example.Monster.createTestarrayofstringVector = function(builder, data) {
1954 MyGame.Example.Monster.startTestarrayofstringVector = function(builder, numElems) {
1962 MyGame.Example.Monster.addTestarrayoftables = function(builder, testarrayoftablesOffset) {
1971 MyGame.Example.Monster.createTestarrayoftablesVector = function(builder, data) {
1983 MyGame.Example.Monster.startTestarrayoftablesVector = function(builder, numElems) {
1991 MyGame.Example.Monster.addEnemy = function(builder, enemyOffset) {
1999 MyGame.Example.Monster.addTestnestedflatbuffer = function(builder, testnestedflatbufferOffset) {
2008 MyGame.Example.Monster.createTestnestedflatbufferVector = function(builder, data) {
2020 MyGame.Example.Monster.startTestnestedflatbufferVector = function(builder, numElems) {
2028 MyGame.Example.Monster.addTestempty = function(builder, testemptyOffset) {
2036 MyGame.Example.Monster.addTestbool = function(builder, testbool) {
2044 MyGame.Example.Monster.addTesthashs32Fnv1 = function(builder, testhashs32Fnv1) {
2052 MyGame.Example.Monster.addTesthashu32Fnv1 = function(builder, testhashu32Fnv1) {
2060 MyGame.Example.Monster.addTesthashs64Fnv1 = function(builder, testhashs64Fnv1) {
2068 MyGame.Example.Monster.addTesthashu64Fnv1 = function(builder, testhashu64Fnv1) {
2076 MyGame.Example.Monster.addTesthashs32Fnv1a = function(builder, testhashs32Fnv1a) {
2084 MyGame.Example.Monster.addTesthashu32Fnv1a = function(builder, testhashu32Fnv1a) {
2092 MyGame.Example.Monster.addTesthashs64Fnv1a = function(builder, testhashs64Fnv1a) {
2100 MyGame.Example.Monster.addTesthashu64Fnv1a = function(builder, testhashu64Fnv1a) {
2108 MyGame.Example.Monster.addTestarrayofbools = function(builder, testarrayofboolsOffset) {
2117 MyGame.Example.Monster.createTestarrayofboolsVector = function(builder, data) {
2129 MyGame.Example.Monster.startTestarrayofboolsVector = function(builder, numElems) {
2137 MyGame.Example.Monster.addTestf = function(builder, testf) {
2145 MyGame.Example.Monster.addTestf2 = function(builder, testf2) {
2153 MyGame.Example.Monster.addTestf3 = function(builder, testf3) {
2161 MyGame.Example.Monster.addTestarrayofstring2 = function(builder, testarrayofstring2Offset) {
2170 MyGame.Example.Monster.createTestarrayofstring2Vector = function(builder, data) {
2182 MyGame.Example.Monster.startTestarrayofstring2Vector = function(builder, numElems) {
2190 MyGame.Example.Monster.addTestarrayofsortedstruct = function(builder, testarrayofsortedstructOffset) {
2198 MyGame.Example.Monster.startTestarrayofsortedstructVector = function(builder, numElems) {
2206 MyGame.Example.Monster.addFlex = function(builder, flexOffset) {
2215 MyGame.Example.Monster.createFlexVector = function(builder, data) {
2227 MyGame.Example.Monster.startFlexVector = function(builder, numElems) {
2235 MyGame.Example.Monster.addTest5 = function(builder, test5Offset) {
2243 MyGame.Example.Monster.startTest5Vector = function(builder, numElems) {
2251 MyGame.Example.Monster.addVectorOfLongs = function(builder, vectorOfLongsOffset) {
2260 MyGame.Example.Monster.createVectorOfLongsVector = function(builder, data) {
2272 MyGame.Example.Monster.startVectorOfLongsVector = function(builder, numElems) {
2280 MyGame.Example.Monster.addVectorOfDoubles = function(builder, vectorOfDoublesOffset) {
2289 MyGame.Example.Monster.createVectorOfDoublesVector = function(builder, data) {
2301 MyGame.Example.Monster.startVectorOfDoublesVector = function(builder, numElems) {
2309 MyGame.Example.Monster.addParentNamespaceTest = function(builder, parentNamespaceTestOffset) {
2317 MyGame.Example.Monster.addVectorOfReferrables = function(builder, vectorOfReferrablesOffset) {
2326 MyGame.Example.Monster.createVectorOfReferrablesVector = function(builder, data) {
2338 MyGame.Example.Monster.startVectorOfReferrablesVector = function(builder, numElems) {
2346 MyGame.Example.Monster.addSingleWeakReference = function(builder, singleWeakReference) {
2354 MyGame.Example.Monster.addVectorOfWeakReferences = function(builder, vectorOfWeakReferencesOffset) {
2363 MyGame.Example.Monster.createVectorOfWeakReferencesVector = function(builder, data) {
2375 MyGame.Example.Monster.startVectorOfWeakReferencesVector = function(builder, numElems) {
2383 MyGame.Example.Monster.addVectorOfStrongReferrables = function(builder, vectorOfStrongReferrablesOffset) {
2392 MyGame.Example.Monster.createVectorOfStrongReferrablesVector = function(builder, data) {
2404 MyGame.Example.Monster.startVectorOfStrongReferrablesVector = function(builder, numElems) {
2412 MyGame.Example.Monster.addCoOwningReference = function(builder, coOwningReference) {
2420 MyGame.Example.Monster.addVectorOfCoOwningReferences = function(builder, vectorOfCoOwningReferencesOffset) {
2429 MyGame.Example.Monster.createVectorOfCoOwningReferencesVector = function(builder, data) {
2441 MyGame.Example.Monster.startVectorOfCoOwningReferencesVector = function(builder, numElems) {
2449 MyGame.Example.Monster.addNonOwningReference = function(builder, nonOwningReference) {
2457 MyGame.Example.Monster.addVectorOfNonOwningReferences = function(builder, vectorOfNonOwningReferencesOffset) {
2466 MyGame.Example.Monster.createVectorOfNonOwningReferencesVector = function(builder, data) {
2478 MyGame.Example.Monster.startVectorOfNonOwningReferencesVector = function(builder, numElems) {
2484 * @param {MyGame.Example.AnyUniqueAliases} anyUniqueType
2486 MyGame.Example.Monster.addAnyUniqueType = function(builder, anyUniqueType) {
2487 builder.addFieldInt8(43, anyUniqueType, MyGame.Example.AnyUniqueAliases.NONE);
2494 MyGame.Example.Monster.addAnyUnique = function(builder, anyUniqueOffset) {
2500 * @param {MyGame.Example.AnyAmbiguousAliases} anyAmbiguousType
2502 MyGame.Example.Monster.addAnyAmbiguousType = function(builder, anyAmbiguousType) {
2503 builder.addFieldInt8(45, anyAmbiguousType, MyGame.Example.AnyAmbiguousAliases.NONE);
2510 MyGame.Example.Monster.addAnyAmbiguous = function(builder, anyAmbiguousOffset) {
2518 MyGame.Example.Monster.addVectorOfEnums = function(builder, vectorOfEnumsOffset) {
2524 * @param {Array.<MyGame.Example.Color>} data
2527 MyGame.Example.Monster.createVectorOfEnumsVector = function(builder, data) {
2539 MyGame.Example.Monster.startVectorOfEnumsVector = function(builder, numElems) {
2547 MyGame.Example.Monster.endMonster = function(builder) {
2557 MyGame.Example.Monster.finishMonsterBuffer = function(builder, offset) {
2568 * @param {MyGame.Example.Color} color
2569 * @param {MyGame.Example.Any} testType
2605 * @param {MyGame.Example.AnyUniqueAliases} anyUniqueType
2607 * @param {MyGame.Example.AnyAmbiguousAliases} anyAmbiguousType
2612 MyGame.Example.Monster.createMonster = function(builder, posOffset, mana, hp, nameOffset, inventoryOffset, color, testType, testOffset, test4Offset, testarrayofstringOffset, testarrayoftablesOffset, enemyOffset, testnestedflatbufferOffset, testemptyOffset, testbool, testhashs32Fnv1, testhashu32Fnv1, testhashs64Fnv1, testhashu64Fnv1, testhashs32Fnv1a, testhashu32Fnv1a, testhashs64Fnv1a, testhashu64Fnv1a, testarrayofboolsOffset, testf, testf2, testf3, testarrayofstring2Offset, testarrayofsortedstructOffset, flexOffset, test5Offset, vectorOfLongsOffset, vectorOfDoublesOffset, parentNamespaceTestOffset, vectorOfReferrablesOffset, singleWeakReference, vectorOfWeakReferencesOffset, vectorOfStrongReferrablesOffset, coOwningReference, vectorOfCoOwningReferencesOffset, nonOwningReference, vectorOfNonOwningReferencesOffset, anyUniqueType, anyUniqueOffset, anyAmbiguousType, anyAmbiguousOffset, vectorOfEnumsOffset) {
2613 MyGame.Example.Monster.startMonster(builder);
2614 MyGame.Example.Monster.addPos(builder, posOffset);
2615 MyGame.Example.Monster.addMana(builder, mana);
2616 MyGame.Example.Monster.addHp(builder, hp);
2617 MyGame.Example.Monster.addName(builder, nameOffset);
2618 MyGame.Example.Monster.addInventory(builder, inventoryOffset);
2619 MyGame.Example.Monster.addColor(builder, color);
2620 MyGame.Example.Monster.addTestType(builder, testType);
2621 MyGame.Example.Monster.addTest(builder, testOffset);
2622 MyGame.Example.Monster.addTest4(builder, test4Offset);
2623 MyGame.Example.Monster.addTestarrayofstring(builder, testarrayofstringOffset);
2624 MyGame.Example.Monster.addTestarrayoftables(builder, testarrayoftablesOffset);
2625 MyGame.Example.Monster.addEnemy(builder, enemyOffset);
2626 MyGame.Example.Monster.addTestnestedflatbuffer(builder, testnestedflatbufferOffset);
2627 MyGame.Example.Monster.addTestempty(builder, testemptyOffset);
2628 MyGame.Example.Monster.addTestbool(builder, testbool);
2629 MyGame.Example.Monster.addTesthashs32Fnv1(builder, testhashs32Fnv1);
2630 MyGame.Example.Monster.addTesthashu32Fnv1(builder, testhashu32Fnv1);
2631 MyGame.Example.Monster.addTesthashs64Fnv1(builder, testhashs64Fnv1);
2632 MyGame.Example.Monster.addTesthashu64Fnv1(builder, testhashu64Fnv1);
2633 MyGame.Example.Monster.addTesthashs32Fnv1a(builder, testhashs32Fnv1a);
2634 MyGame.Example.Monster.addTesthashu32Fnv1a(builder, testhashu32Fnv1a);
2635 MyGame.Example.Monster.addTesthashs64Fnv1a(builder, testhashs64Fnv1a);
2636 MyGame.Example.Monster.addTesthashu64Fnv1a(builder, testhashu64Fnv1a);
2637 MyGame.Example.Monster.addTestarrayofbools(builder, testarrayofboolsOffset);
2638 MyGame.Example.Monster.addTestf(builder, testf);
2639 MyGame.Example.Monster.addTestf2(builder, testf2);
2640 MyGame.Example.Monster.addTestf3(builder, testf3);
2641 MyGame.Example.Monster.addTestarrayofstring2(builder, testarrayofstring2Offset);
2642 MyGame.Example.Monster.addTestarrayofsortedstruct(builder, testarrayofsortedstructOffset);
2643 MyGame.Example.Monster.addFlex(builder, flexOffset);
2644 MyGame.Example.Monster.addTest5(builder, test5Offset);
2645 MyGame.Example.Monster.addVectorOfLongs(builder, vectorOfLongsOffset);
2646 MyGame.Example.Monster.addVectorOfDoubles(builder, vectorOfDoublesOffset);
2647 MyGame.Example.Monster.addParentNamespaceTest(builder, parentNamespaceTestOffset);
2648 MyGame.Example.Monster.addVectorOfReferrables(builder, vectorOfReferrablesOffset);
2649 MyGame.Example.Monster.addSingleWeakReference(builder, singleWeakReference);
2650 MyGame.Example.Monster.addVectorOfWeakReferences(builder, vectorOfWeakReferencesOffset);
2651 MyGame.Example.Monster.addVectorOfStrongReferrables(builder, vectorOfStrongReferrablesOffset);
2652 MyGame.Example.Monster.addCoOwningReference(builder, coOwningReference);
2653 MyGame.Example.Monster.addVectorOfCoOwningReferences(builder, vectorOfCoOwningReferencesOffset);
2654 MyGame.Example.Monster.addNonOwningReference(builder, nonOwningReference);
2655 MyGame.Example.Monster.addVectorOfNonOwningReferences(builder, vectorOfNonOwningReferencesOffset);
2656 MyGame.Example.Monster.addAnyUniqueType(builder, anyUniqueType);
2657 MyGame.Example.Monster.addAnyUnique(builder, anyUniqueOffset);
2658 MyGame.Example.Monster.addAnyAmbiguousType(builder, anyAmbiguousType);
2659 MyGame.Example.Monster.addAnyAmbiguous(builder, anyAmbiguousOffset);
2660 MyGame.Example.Monster.addVectorOfEnums(builder, vectorOfEnumsOffset);
2661 return MyGame.Example.Monster.endMonster(builder);
2667 MyGame.Example.TypeAliases = function() {
2682 * @returns {MyGame.Example.TypeAliases}
2684 MyGame.Example.TypeAliases.prototype.__init = function(i, bb) {
2692 * @param {MyGame.Example.TypeAliases=} obj
2693 * @returns {MyGame.Example.TypeAliases}
2695 MyGame.Example.TypeAliases.getRootAsTypeAliases = function(bb, obj) {
2696 return (obj || new MyGame.Example.TypeAliases).__init(bb.readInt32(bb.position()) + bb.position(), bb);
2702 MyGame.Example.TypeAliases.prototype.i8 = function() {
2711 MyGame.Example.TypeAliases.prototype.mutate_i8 = function(value) {
2725 MyGame.Example.TypeAliases.prototype.u8 = function() {
2734 MyGame.Example.TypeAliases.prototype.mutate_u8 = function(value) {
2748 MyGame.Example.TypeAliases.prototype.i16 = function() {
2757 MyGame.Example.TypeAliases.prototype.mutate_i16 = function(value) {
2771 MyGame.Example.TypeAliases.prototype.u16 = function() {
2780 MyGame.Example.TypeAliases.prototype.mutate_u16 = function(value) {
2794 MyGame.Example.TypeAliases.prototype.i32 = function() {
2803 MyGame.Example.TypeAliases.prototype.mutate_i32 = function(value) {
2817 MyGame.Example.TypeAliases.prototype.u32 = function() {
2826 MyGame.Example.TypeAliases.prototype.mutate_u32 = function(value) {
2840 MyGame.Example.TypeAliases.prototype.i64 = function() {
2849 MyGame.Example.TypeAliases.prototype.mutate_i64 = function(value) {
2863 MyGame.Example.TypeAliases.prototype.u64 = function() {
2872 MyGame.Example.TypeAliases.prototype.mutate_u64 = function(value) {
2886 MyGame.Example.TypeAliases.prototype.f32 = function() {
2895 MyGame.Example.TypeAliases.prototype.mutate_f32 = function(value) {
2909 MyGame.Example.TypeAliases.prototype.f64 = function() {
2918 MyGame.Example.TypeAliases.prototype.mutate_f64 = function(value) {
2933 MyGame.Example.TypeAliases.prototype.v8 = function(index) {
2941 MyGame.Example.TypeAliases.prototype.v8Length = function() {
2949 MyGame.Example.TypeAliases.prototype.v8Array = function() {
2958 MyGame.Example.TypeAliases.prototype.vf64 = function(index) {
2966 MyGame.Example.TypeAliases.prototype.vf64Length = function() {
2974 MyGame.Example.TypeAliases.prototype.vf64Array = function() {
2982 MyGame.Example.TypeAliases.startTypeAliases = function(builder) {
2990 MyGame.Example.TypeAliases.addI8 = function(builder, i8) {
2998 MyGame.Example.TypeAliases.addU8 = function(builder, u8) {
3006 MyGame.Example.TypeAliases.addI16 = function(builder, i16) {
3014 MyGame.Example.TypeAliases.addU16 = function(builder, u16) {
3022 MyGame.Example.TypeAliases.addI32 = function(builder, i32) {
3030 MyGame.Example.TypeAliases.addU32 = function(builder, u32) {
3038 MyGame.Example.TypeAliases.addI64 = function(builder, i64) {
3046 MyGame.Example.TypeAliases.addU64 = function(builder, u64) {
3054 MyGame.Example.TypeAliases.addF32 = function(builder, f32) {
3062 MyGame.Example.TypeAliases.addF64 = function(builder, f64) {
3070 MyGame.Example.TypeAliases.addV8 = function(builder, v8Offset) {
3079 MyGame.Example.TypeAliases.createV8Vector = function(builder, data) {
3091 MyGame.Example.TypeAliases.startV8Vector = function(builder, numElems) {
3099 MyGame.Example.TypeAliases.addVf64 = function(builder, vf64Offset) {
3108 MyGame.Example.TypeAliases.createVf64Vector = function(builder, data) {
3120 MyGame.Example.TypeAliases.startVf64Vector = function(builder, numElems) {
3128 MyGame.Example.TypeAliases.endTypeAliases = function(builder) {
3149 MyGame.Example.TypeAliases.createTypeAliases = function(builder, i8, u8, i16, u16, i32, u32, i64, u64, f32, f64, v8Offset, vf64Offset) {
3150 MyGame.Example.TypeAliases.startTypeAliases(builder);
3151 MyGame.Example.TypeAliases.addI8(builder, i8);
3152 MyGame.Example.TypeAliases.addU8(builder, u8);
3153 MyGame.Example.TypeAliases.addI16(builder, i16);
3154 MyGame.Example.TypeAliases.addU16(builder, u16);
3155 MyGame.Example.TypeAliases.addI32(builder, i32);
3156 MyGame.Example.TypeAliases.addU32(builder, u32);
3157 MyGame.Example.TypeAliases.addI64(builder, i64);
3158 MyGame.Example.TypeAliases.addU64(builder, u64);
3159 MyGame.Example.TypeAliases.addF32(builder, f32);
3160 MyGame.Example.TypeAliases.addF64(builder, f64);
3161 MyGame.Example.TypeAliases.addV8(builder, v8Offset);
3162 MyGame.Example.TypeAliases.addVf64(builder, vf64Offset);
3163 return MyGame.Example.TypeAliases.endTypeAliases(builder);
3167 this.MyGame = MyGame;