Home
last modified time | relevance | path

Searched refs:monster_builder (Results 1 – 2 of 2) sorted by relevance

/external/flatbuffers/tests/
Dtest.cpp2387 auto monster_builder = MonsterBuilder(builder); in UninitializedVectorTest() local
2388 monster_builder.add_name(required_name); // required field mandated for monster. in UninitializedVectorTest()
2389 monster_builder.add_test4(vector_offset); in UninitializedVectorTest()
2390 builder.Finish(monster_builder.Finish()); in UninitializedVectorTest()
2458 MonsterBuilder monster_builder(builder); in CreateSharedStringTest() local
2459 monster_builder.add_name(two); in CreateSharedStringTest()
2460 monster_builder.add_testarrayofstring(vector_offset); in CreateSharedStringTest()
2461 builder.Finish(monster_builder.Finish()); in CreateSharedStringTest()
/external/flatbuffers/docs/source/
DTutorial.md455 #include "monster_builder.h" // Generated by `flatcc`.
1566 MonsterBuilder monster_builder(builder);
1567 monster_builder.add_pos(&position);
1568 monster_builder.add_hp(hp);
1569 monster_builder.add_name(name);
1570 monster_builder.add_inventory(inventory);
1571 monster_builder.add_color(Color_Red);
1572 monster_builder.add_weapons(weapons);
1573 monster_builder.add_equipped_type(Equipment_Weapon);
1574 monster_builder.add_equipped(axe.Union());
[all …]