Home
last modified time | relevance | path

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

/external/flatbuffers/tests/
Dtest.cpp2507 auto monster_builder = MonsterBuilder(builder); in UninitializedVectorTest() local
2508 monster_builder.add_name(required_name); // required field mandated for monster. in UninitializedVectorTest()
2509 monster_builder.add_test4(vector_offset); in UninitializedVectorTest()
2510 builder.Finish(monster_builder.Finish()); in UninitializedVectorTest()
2584 MonsterBuilder monster_builder(builder); in CreateSharedStringTest() local
2585 monster_builder.add_name(two); in CreateSharedStringTest()
2586 monster_builder.add_testarrayofstring(vector_offset); in CreateSharedStringTest()
2587 builder.Finish(monster_builder.Finish()); in CreateSharedStringTest()
/external/flatbuffers/docs/source/
DTutorial.md455 #include "monster_builder.h" // Generated by `flatcc`.
1567 MonsterBuilder monster_builder(builder);
1568 monster_builder.add_pos(&position);
1569 monster_builder.add_hp(hp);
1570 monster_builder.add_name(name);
1571 monster_builder.add_inventory(inventory);
1572 monster_builder.add_color(Color_Red);
1573 monster_builder.add_weapons(weapons);
1574 monster_builder.add_equipped_type(Equipment_Weapon);
1575 monster_builder.add_equipped(axe.Union());
[all …]