Lines Matching refs:fbb
29 $fbb = new Google\FlatBuffers\FlatBufferBuilder(1);
32 $str = $fbb->createString("MyMonster");
33 $name = $fbb->createString('Fred');
34 \MyGame\Example\Monster::startMonster($fbb);
35 \MyGame\Example\Monster::addName($fbb, $name);
36 $enemy = \MyGame\Example\Monster::endMonster($fbb);
38 $inv = \MyGame\Example\Monster::CreateInventoryVector($fbb, array(0, 1, 2, 3, 4));
40 $fred = $fbb->createString('Fred');
41 \MyGame\Example\Monster::StartMonster($fbb);
42 \MyGame\Example\Monster::AddName($fbb, $fred);
43 $mon2 = \MyGame\Example\Monster::EndMonster($fbb);
45 \MyGame\Example\Monster::StartTest4Vector($fbb, 2);
46 \MyGame\Example\Test::CreateTest($fbb, 10, 20);
47 \MyGame\Example\Test::CreateTest($fbb, 30, 40);
48 $test4 = $fbb->endVector();
50 $testArrayOfString = \MyGame\Example\Monster::CreateTestarrayofstringVector($fbb, array(
51 $fbb->createString('test1'),
52 $fbb->createString('test2')
55 \MyGame\Example\Monster::StartMonster($fbb);
56 \MyGame\Example\Monster::AddPos($fbb, \MyGame\Example\Vec3::CreateVec3($fbb,
62 \MyGame\Example\Monster::AddHp($fbb, 80);
63 \MyGame\Example\Monster::AddName($fbb, $str);
64 \MyGame\Example\Monster::AddInventory($fbb, $inv);
65 \MyGame\Example\Monster::AddTestType($fbb, \MyGame\Example\Any::Monster);
66 \MyGame\Example\Monster::AddTest($fbb, $mon2);
67 \MyGame\Example\Monster::AddTest4($fbb, $test4);
68 \MyGame\Example\Monster::AddTestarrayofstring($fbb, $testArrayOfString);
69 \MyGame\Example\Monster::AddEnemy($fbb, $enemy);
70 \MyGame\Example\Monster::AddTestbool($fbb, true);
71 $mon = \MyGame\Example\Monster::EndMonster($fbb);
73 \MyGame\Example\Monster::FinishMonsterBuffer($fbb, $mon);
76 test_buffer($assert, $fbb->dataBuffer());