Lines Matching refs:Monster
49 Offset<Monster>[] off = new Offset<Monster>[3]; in CanCreateNewFlatBufferFromScratch()
50 Monster.StartMonster(fbb); in CanCreateNewFlatBufferFromScratch()
51 Monster.AddName(fbb, names[0]); in CanCreateNewFlatBufferFromScratch()
52 off[0] = Monster.EndMonster(fbb); in CanCreateNewFlatBufferFromScratch()
53 Monster.StartMonster(fbb); in CanCreateNewFlatBufferFromScratch()
54 Monster.AddName(fbb, names[1]); in CanCreateNewFlatBufferFromScratch()
55 off[1] = Monster.EndMonster(fbb); in CanCreateNewFlatBufferFromScratch()
56 Monster.StartMonster(fbb); in CanCreateNewFlatBufferFromScratch()
57 Monster.AddName(fbb, names[2]); in CanCreateNewFlatBufferFromScratch()
58 off[2] = Monster.EndMonster(fbb); in CanCreateNewFlatBufferFromScratch()
59 var sortMons = Monster.CreateSortedVectorOfMonster(fbb, off); in CanCreateNewFlatBufferFromScratch()
68 Monster.StartInventoryVector(fbb, 5); in CanCreateNewFlatBufferFromScratch()
76 Monster.StartMonster(fbb); in CanCreateNewFlatBufferFromScratch()
77 Monster.AddName(fbb, fred); in CanCreateNewFlatBufferFromScratch()
78 var mon2 = Monster.EndMonster(fbb); in CanCreateNewFlatBufferFromScratch()
80 Monster.StartTest4Vector(fbb, 2); in CanCreateNewFlatBufferFromScratch()
85 Monster.StartTestarrayofstringVector(fbb, 2); in CanCreateNewFlatBufferFromScratch()
90 Monster.StartMonster(fbb); in CanCreateNewFlatBufferFromScratch()
91 Monster.AddPos(fbb, Vec3.CreateVec3(fbb, 1.0f, 2.0f, 3.0f, 3.0, in CanCreateNewFlatBufferFromScratch()
93 Monster.AddHp(fbb, (short)80); in CanCreateNewFlatBufferFromScratch()
94 Monster.AddName(fbb, str); in CanCreateNewFlatBufferFromScratch()
95 Monster.AddInventory(fbb, inv); in CanCreateNewFlatBufferFromScratch()
96 Monster.AddTestType(fbb, Any.Monster); in CanCreateNewFlatBufferFromScratch()
97 Monster.AddTest(fbb, mon2.Value); in CanCreateNewFlatBufferFromScratch()
98 Monster.AddTest4(fbb, test4); in CanCreateNewFlatBufferFromScratch()
99 Monster.AddTestarrayofstring(fbb, testArrayOfString); in CanCreateNewFlatBufferFromScratch()
100 Monster.AddTestbool(fbb, true); in CanCreateNewFlatBufferFromScratch()
101 Monster.AddTestarrayoftables(fbb, sortMons); in CanCreateNewFlatBufferFromScratch()
102 var mon = Monster.EndMonster(fbb); in CanCreateNewFlatBufferFromScratch()
106 Monster.FinishSizePrefixedMonsterBuffer(fbb, mon); in CanCreateNewFlatBufferFromScratch()
110 Monster.FinishMonsterBuffer(fbb, mon); in CanCreateNewFlatBufferFromScratch()
141 Monster monster = Monster.GetRootAsMonster(dataBuffer); in CanCreateNewFlatBufferFromScratch()
160 Assert.AreEqual(monster.TestType, Any.Monster); in CanCreateNewFlatBufferFromScratch()
163 Assert.AreEqual(monster.MutateTestType(Any.Monster), true); in CanCreateNewFlatBufferFromScratch()
164 Assert.AreEqual(monster.TestType, Any.Monster); in CanCreateNewFlatBufferFromScratch()
198 Monster monster = Monster.GetRootAsMonster(bb); in TestBuffer()
215 Assert.AreEqual(Any.Monster, monster.TestType); in TestBuffer()
217 var monster2 = monster.Test<Monster>().Value; in TestBuffer()
292 Assert.AreEqual("Monster", Any.Monster.ToString()); in TestEnums()
304 Monster.StartMonster(fbb1); in TestNestedFlatBuffer()
305 Monster.AddName(fbb1, str1); in TestNestedFlatBuffer()
306 Monster.AddHp(fbb1, nestedMonsterHp); in TestNestedFlatBuffer()
307 Monster.AddMana(fbb1, nestedMonsterMana); in TestNestedFlatBuffer()
308 var monster1 = Monster.EndMonster(fbb1); in TestNestedFlatBuffer()
309 Monster.FinishMonsterBuffer(fbb1, monster1); in TestNestedFlatBuffer()
316 var nestedBuffer = Monster.CreateTestnestedflatbufferVector(fbb2, fbb1Bytes); in TestNestedFlatBuffer()
317 Monster.StartMonster(fbb2); in TestNestedFlatBuffer()
318 Monster.AddName(fbb2, str2); in TestNestedFlatBuffer()
319 Monster.AddHp(fbb2, 50); in TestNestedFlatBuffer()
320 Monster.AddMana(fbb2, 32); in TestNestedFlatBuffer()
321 Monster.AddTestnestedflatbuffer(fbb2, nestedBuffer); in TestNestedFlatBuffer()
322 var monster = Monster.EndMonster(fbb2); in TestNestedFlatBuffer()
323 Monster.FinishMonsterBuffer(fbb2, monster); in TestNestedFlatBuffer()
326 var mons = Monster.GetRootAsMonster(fbb2.DataBuffer); in TestNestedFlatBuffer()