Lines Matching refs:Monster

85       TestEq(Any.name(Any.Monster), "Monster");  in TestEnums()
89 TestEq(Monster.MonsterBufferHasIdentifier(bb), true); in TestBuffer()
91 Monster monster = Monster.getRootAsMonster(bb); in TestBuffer()
109 TestEq(monster.testType(), (byte)Any.Monster); in TestBuffer()
110 Monster monster2 = new Monster(); in TestBuffer()
144 Monster monster = Monster.getRootAsMonster(bb); in TestExtendedBuffer()
169 Monster.startMonster(fbb1); in TestNestedFlatBuffer()
170 Monster.addName(fbb1, str1); in TestNestedFlatBuffer()
171 Monster.addHp(fbb1, nestedMonsterHp); in TestNestedFlatBuffer()
172 Monster.addMana(fbb1, nestedMonsterMana); in TestNestedFlatBuffer()
173 int monster1 = Monster.endMonster(fbb1); in TestNestedFlatBuffer()
174 Monster.finishMonsterBuffer(fbb1, monster1); in TestNestedFlatBuffer()
180 int nestedBuffer = Monster.createTestnestedflatbufferVector(fbb2, fbb1Bytes); in TestNestedFlatBuffer()
181 Monster.startMonster(fbb2); in TestNestedFlatBuffer()
182 Monster.addName(fbb2, str2); in TestNestedFlatBuffer()
183 Monster.addHp(fbb2, (short)50); in TestNestedFlatBuffer()
184 Monster.addMana(fbb2, (short)32); in TestNestedFlatBuffer()
185 Monster.addTestnestedflatbuffer(fbb2, nestedBuffer); in TestNestedFlatBuffer()
186 int monster = Monster.endMonster(fbb2); in TestNestedFlatBuffer()
187 Monster.finishMonsterBuffer(fbb2, monster); in TestNestedFlatBuffer()
190 Monster mons = Monster.getRootAsMonster(fbb2.dataBuffer()); in TestNestedFlatBuffer()
191 Monster nestedMonster = mons.testnestedflatbufferAsMonster(); in TestNestedFlatBuffer()
203 Monster.startMonster(fbb); in TestCreateByteVector()
204 Monster.addInventory(fbb, vec); in TestCreateByteVector()
205 Monster.addName(fbb, str); in TestCreateByteVector()
206 int monster1 = Monster.endMonster(fbb); in TestCreateByteVector()
207 Monster.finishMonsterBuffer(fbb, monster1); in TestCreateByteVector()
208 Monster monsterObject = Monster.getRootAsMonster(fbb.dataBuffer()); in TestCreateByteVector()
224 Monster.startMonster(fbb); in TestCreateUninitializedVector()
225 Monster.addInventory(fbb, vec); in TestCreateUninitializedVector()
226 Monster.addName(fbb, str); in TestCreateUninitializedVector()
227 int monster1 = Monster.endMonster(fbb); in TestCreateUninitializedVector()
228 Monster.finishMonsterBuffer(fbb, monster1); in TestCreateUninitializedVector()
229 Monster monsterObject = Monster.getRootAsMonster(fbb.dataBuffer()); in TestCreateUninitializedVector()
283 Monster.startMonster(fbb); in TestBuilderBasics()
284 Monster.addName(fbb, names[0]); in TestBuilderBasics()
285 off[0] = Monster.endMonster(fbb); in TestBuilderBasics()
286 Monster.startMonster(fbb); in TestBuilderBasics()
287 Monster.addName(fbb, names[1]); in TestBuilderBasics()
288 off[1] = Monster.endMonster(fbb); in TestBuilderBasics()
289 Monster.startMonster(fbb); in TestBuilderBasics()
290 Monster.addName(fbb, names[2]); in TestBuilderBasics()
291 off[2] = Monster.endMonster(fbb); in TestBuilderBasics()
292 int sortMons = fbb.createSortedVectorOfTables(new Monster(), off); in TestBuilderBasics()
298 int inv = Monster.createInventoryVector(fbb, new byte[] { 0, 1, 2, 3, 4 }); in TestBuilderBasics()
301 Monster.startMonster(fbb); in TestBuilderBasics()
302 Monster.addName(fbb, fred); in TestBuilderBasics()
303 int mon2 = Monster.endMonster(fbb); in TestBuilderBasics()
305 Monster.startTest4Vector(fbb, 2); in TestBuilderBasics()
310 int testArrayOfString = Monster.createTestarrayofstringVector(fbb, new int[] { in TestBuilderBasics()
315 Monster.startMonster(fbb); in TestBuilderBasics()
316 Monster.addPos(fbb, Vec3.createVec3(fbb, 1.0f, 2.0f, 3.0f, 3.0, in TestBuilderBasics()
318 Monster.addHp(fbb, (short)80); in TestBuilderBasics()
319 Monster.addName(fbb, str); in TestBuilderBasics()
320 Monster.addInventory(fbb, inv); in TestBuilderBasics()
321 Monster.addTestType(fbb, (byte)Any.Monster); in TestBuilderBasics()
322 Monster.addTest(fbb, mon2); in TestBuilderBasics()
323 Monster.addTest4(fbb, test4); in TestBuilderBasics()
324 Monster.addTestarrayofstring(fbb, testArrayOfString); in TestBuilderBasics()
325 Monster.addTestbool(fbb, true); in TestBuilderBasics()
326 Monster.addTesthashu32Fnv1(fbb, Integer.MAX_VALUE + 1L); in TestBuilderBasics()
327 Monster.addTestarrayoftables(fbb, sortMons); in TestBuilderBasics()
328 int mon = Monster.endMonster(fbb); in TestBuilderBasics()
331 Monster.finishSizePrefixedMonsterBuffer(fbb, mon); in TestBuilderBasics()
333 Monster.finishMonsterBuffer(fbb, mon); in TestBuilderBasics()
369 Monster monster = Monster.getRootAsMonster(dataBuffer); in TestBuilderBasics()
387 TestEq(monster.testType(), (byte)Any.Monster); in TestBuilderBasics()
390 TestEq(monster.mutateTestType(Any.Monster), true); in TestBuilderBasics()
391 TestEq(monster.testType(), (byte)Any.Monster); in TestBuilderBasics()