Lines Matching full:flatbuffers
1 // automatically generated by the FlatBuffers compiler, do not modify
7 #include "flatbuffers/flatbuffers.h"
8 #include "flatbuffers/flexbuffers.h"
83 inline const flatbuffers::TypeTable *InParentNamespaceTypeTable();
87 inline const flatbuffers::TypeTable *MonsterTypeTable();
93 inline const flatbuffers::TypeTable *TestTypeTable();
95 inline const flatbuffers::TypeTable *TestSimpleTableWithEnumTypeTable();
97 inline const flatbuffers::TypeTable *Vec3TypeTable();
99 inline const flatbuffers::TypeTable *AbilityTypeTable();
101 inline const flatbuffers::TypeTable *StatTypeTable();
103 inline const flatbuffers::TypeTable *ReferrableTypeTable();
105 inline const flatbuffers::TypeTable *MonsterTypeTable();
107 inline const flatbuffers::TypeTable *TypeAliasesTypeTable();
146 if (flatbuffers::IsOutRange(e, Color_Red, Color_Blue)) return ""; in EnumNameColor()
182 if (flatbuffers::IsOutRange(e, Race_None, Race_Elf)) return ""; in EnumNameRace()
218 if (flatbuffers::IsOutRange(e, Any_NONE, Any_MyGame_Example2_Monster)) return ""; in EnumNameAny()
268 static void *UnPack(const void *obj, Any type, const flatbuffers::resolver_function_t *resolver);
269 …flatbuffers::Offset<void> Pack(flatbuffers::FlatBufferBuilder &_fbb, const flatbuffers::rehasher_f…
326 bool VerifyAny(flatbuffers::Verifier &verifier, const void *obj, Any type);
327 …ool VerifyAnyVector(flatbuffers::Verifier &verifier, const flatbuffers::Vector<flatbuffers::Offset…
360 if (flatbuffers::IsOutRange(e, AnyUniqueAliases_NONE, AnyUniqueAliases_M2)) return "";
410 …static void *UnPack(const void *obj, AnyUniqueAliases type, const flatbuffers::resolver_function_t…
411 …flatbuffers::Offset<void> Pack(flatbuffers::FlatBufferBuilder &_fbb, const flatbuffers::rehasher_f…
468 bool VerifyAnyUniqueAliases(flatbuffers::Verifier &verifier, const void *obj, AnyUniqueAliases type…
469 …UniqueAliasesVector(flatbuffers::Verifier &verifier, const flatbuffers::Vector<flatbuffers::Offset…
502 if (flatbuffers::IsOutRange(e, AnyAmbiguousAliases_NONE, AnyAmbiguousAliases_M3)) return "";
524 …static void *UnPack(const void *obj, AnyAmbiguousAliases type, const flatbuffers::resolver_functio…
525 …flatbuffers::Offset<void> Pack(flatbuffers::FlatBufferBuilder &_fbb, const flatbuffers::rehasher_f…
582 bool VerifyAnyAmbiguousAliases(flatbuffers::Verifier &verifier, const void *obj, AnyAmbiguousAliase…
583 …iguousAliasesVector(flatbuffers::Verifier &verifier, const flatbuffers::Vector<flatbuffers::Offset…
592 static const flatbuffers::TypeTable *MiniReflectTypeTable() {
599 : a_(flatbuffers::EndianScalar(_a)),
600 b_(flatbuffers::EndianScalar(_b)),
605 return flatbuffers::EndianScalar(a_);
608 flatbuffers::WriteScalar(&a_, _a);
611 return flatbuffers::EndianScalar(b_);
614 flatbuffers::WriteScalar(&b_, _b);
643 static const flatbuffers::TypeTable *MiniReflectTypeTable() {
650 : x_(flatbuffers::EndianScalar(_x)),
651 y_(flatbuffers::EndianScalar(_y)),
652 z_(flatbuffers::EndianScalar(_z)),
654 test1_(flatbuffers::EndianScalar(_test1)),
655 test2_(flatbuffers::EndianScalar(static_cast<uint8_t>(_test2))),
664 return flatbuffers::EndianScalar(x_);
667 flatbuffers::WriteScalar(&x_, _x);
670 return flatbuffers::EndianScalar(y_);
673 flatbuffers::WriteScalar(&y_, _y);
676 return flatbuffers::EndianScalar(z_);
679 flatbuffers::WriteScalar(&z_, _z);
682 return flatbuffers::EndianScalar(test1_);
685 flatbuffers::WriteScalar(&test1_, _test1);
688 return static_cast<MyGame::Example::Color>(flatbuffers::EndianScalar(test2_));
691 flatbuffers::WriteScalar(&test2_, static_cast<uint8_t>(_test2));
723 static const flatbuffers::TypeTable *MiniReflectTypeTable() {
730 : id_(flatbuffers::EndianScalar(_id)),
731 distance_(flatbuffers::EndianScalar(_distance)) {
734 return flatbuffers::EndianScalar(id_);
737 flatbuffers::WriteScalar(&id_, _id);
746 return flatbuffers::EndianScalar(distance_);
749 flatbuffers::WriteScalar(&distance_, _distance);
767 struct InParentNamespaceT : public flatbuffers::NativeTable {
782 struct InParentNamespace FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table {
785 static const flatbuffers::TypeTable *MiniReflectTypeTable() {
788 bool Verify(flatbuffers::Verifier &verifier) const {
792 InParentNamespaceT *UnPack(const flatbuffers::resolver_function_t *_resolver = nullptr) const;
793 …void UnPackTo(InParentNamespaceT *_o, const flatbuffers::resolver_function_t *_resolver = nullptr)…
794 …static flatbuffers::Offset<InParentNamespace> Pack(flatbuffers::FlatBufferBuilder &_fbb, const InP…
799 flatbuffers::FlatBufferBuilder &fbb_;
800 flatbuffers::uoffset_t start_;
801 explicit InParentNamespaceBuilder(flatbuffers::FlatBufferBuilder &_fbb)
806 flatbuffers::Offset<InParentNamespace> Finish() {
808 auto o = flatbuffers::Offset<InParentNamespace>(end);
813 inline flatbuffers::Offset<InParentNamespace> CreateInParentNamespace(
814 flatbuffers::FlatBufferBuilder &_fbb) {
819 flatbuffers::Offset<InParentNamespace> CreateInParentNamespace(flatbuffers::FlatBufferBuilder &_fbb…
823 struct MonsterT : public flatbuffers::NativeTable {
838 struct Monster FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table {
841 static const flatbuffers::TypeTable *MiniReflectTypeTable() {
844 bool Verify(flatbuffers::Verifier &verifier) const {
848 MonsterT *UnPack(const flatbuffers::resolver_function_t *_resolver = nullptr) const;
849 void UnPackTo(MonsterT *_o, const flatbuffers::resolver_function_t *_resolver = nullptr) const;
850 …static flatbuffers::Offset<Monster> Pack(flatbuffers::FlatBufferBuilder &_fbb, const MonsterT* _o,…
855 flatbuffers::FlatBufferBuilder &fbb_;
856 flatbuffers::uoffset_t start_;
857 explicit MonsterBuilder(flatbuffers::FlatBufferBuilder &_fbb)
862 flatbuffers::Offset<Monster> Finish() {
864 auto o = flatbuffers::Offset<Monster>(end);
869 inline flatbuffers::Offset<Monster> CreateMonster(
870 flatbuffers::FlatBufferBuilder &_fbb) {
875 flatbuffers::Offset<Monster> CreateMonster(flatbuffers::FlatBufferBuilder &_fbb, const MonsterT *_o…
881 struct TestSimpleTableWithEnumT : public flatbuffers::NativeTable {
899 struct TestSimpleTableWithEnum FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table {
902 static const flatbuffers::TypeTable *MiniReflectTypeTable() {
914 bool Verify(flatbuffers::Verifier &verifier) const {
919 …TestSimpleTableWithEnumT *UnPack(const flatbuffers::resolver_function_t *_resolver = nullptr) cons…
920 …void UnPackTo(TestSimpleTableWithEnumT *_o, const flatbuffers::resolver_function_t *_resolver = nu…
921 …tatic flatbuffers::Offset<TestSimpleTableWithEnum> Pack(flatbuffers::FlatBufferBuilder &_fbb, cons…
926 flatbuffers::FlatBufferBuilder &fbb_;
927 flatbuffers::uoffset_t start_;
931 explicit TestSimpleTableWithEnumBuilder(flatbuffers::FlatBufferBuilder &_fbb)
936 flatbuffers::Offset<TestSimpleTableWithEnum> Finish() {
938 auto o = flatbuffers::Offset<TestSimpleTableWithEnum>(end);
943 inline flatbuffers::Offset<TestSimpleTableWithEnum> CreateTestSimpleTableWithEnum(
944 flatbuffers::FlatBufferBuilder &_fbb,
951 flatbuffers::Offset<TestSimpleTableWithEnum> CreateTestSimpleTableWithEnum(flatbuffers::FlatBufferB…
953 struct StatT : public flatbuffers::NativeTable {
976 struct Stat FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table {
979 static const flatbuffers::TypeTable *MiniReflectTypeTable() {
987 const flatbuffers::String *id() const {
988 return GetPointer<const flatbuffers::String *>(VT_ID);
990 flatbuffers::String *mutable_id() {
991 return GetPointer<flatbuffers::String *>(VT_ID);
1005 bool Verify(flatbuffers::Verifier &verifier) const {
1013 StatT *UnPack(const flatbuffers::resolver_function_t *_resolver = nullptr) const;
1014 void UnPackTo(StatT *_o, const flatbuffers::resolver_function_t *_resolver = nullptr) const;
1015 …static flatbuffers::Offset<Stat> Pack(flatbuffers::FlatBufferBuilder &_fbb, const StatT* _o, const…
1020 flatbuffers::FlatBufferBuilder &fbb_;
1021 flatbuffers::uoffset_t start_;
1022 void add_id(flatbuffers::Offset<flatbuffers::String> id) {
1031 explicit StatBuilder(flatbuffers::FlatBufferBuilder &_fbb)
1036 flatbuffers::Offset<Stat> Finish() {
1038 auto o = flatbuffers::Offset<Stat>(end);
1043 inline flatbuffers::Offset<Stat> CreateStat(
1044 flatbuffers::FlatBufferBuilder &_fbb,
1045 flatbuffers::Offset<flatbuffers::String> id = 0,
1055 inline flatbuffers::Offset<Stat> CreateStatDirect(
1056 flatbuffers::FlatBufferBuilder &_fbb,
1068 flatbuffers::Offset<Stat> CreateStat(flatbuffers::FlatBufferBuilder &_fbb, const StatT *_o, const f…
1070 struct ReferrableT : public flatbuffers::NativeTable {
1088 struct Referrable FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table {
1091 static const flatbuffers::TypeTable *MiniReflectTypeTable() {
1109 bool Verify(flatbuffers::Verifier &verifier) const {
1114 ReferrableT *UnPack(const flatbuffers::resolver_function_t *_resolver = nullptr) const;
1115 void UnPackTo(ReferrableT *_o, const flatbuffers::resolver_function_t *_resolver = nullptr) const;
1116 …static flatbuffers::Offset<Referrable> Pack(flatbuffers::FlatBufferBuilder &_fbb, const Referrable…
1121 flatbuffers::FlatBufferBuilder &fbb_;
1122 flatbuffers::uoffset_t start_;
1126 explicit ReferrableBuilder(flatbuffers::FlatBufferBuilder &_fbb)
1131 flatbuffers::Offset<Referrable> Finish() {
1133 auto o = flatbuffers::Offset<Referrable>(end);
1138 inline flatbuffers::Offset<Referrable> CreateReferrable(
1139 flatbuffers::FlatBufferBuilder &_fbb,
1146 flatbuffers::Offset<Referrable> CreateReferrable(flatbuffers::FlatBufferBuilder &_fbb, const Referr…
1148 struct MonsterT : public flatbuffers::NativeTable {
1150 flatbuffers::unique_ptr<MyGame::Example::Vec3> pos;
1159 std::vector<flatbuffers::unique_ptr<MyGame::Example::MonsterT>> testarrayoftables;
1160 flatbuffers::unique_ptr<MyGame::Example::MonsterT> enemy;
1162 flatbuffers::unique_ptr<MyGame::Example::StatT> testempty;
1182 flatbuffers::unique_ptr<MyGame::InParentNamespaceT> parent_namespace_test;
1183 std::vector<flatbuffers::unique_ptr<MyGame::Example::ReferrableT>> vector_of_referrables;
1186 std::vector<flatbuffers::unique_ptr<MyGame::Example::ReferrableT>> vector_of_strong_referrables;
1188 std::vector<flatbuffers::unique_ptr<ReferrableT>> vector_of_co_owning_references;
1273 struct Monster FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table {
1276 static const flatbuffers::TypeTable *MiniReflectTypeTable() {
1347 const flatbuffers::String *name() const {
1348 return GetPointer<const flatbuffers::String *>(VT_NAME);
1350 flatbuffers::String *mutable_name() {
1351 return GetPointer<flatbuffers::String *>(VT_NAME);
1359 const flatbuffers::Vector<uint8_t> *inventory() const {
1360 return GetPointer<const flatbuffers::Vector<uint8_t> *>(VT_INVENTORY);
1362 flatbuffers::Vector<uint8_t> *mutable_inventory() {
1363 return GetPointer<flatbuffers::Vector<uint8_t> *>(VT_INVENTORY);
1390 const flatbuffers::Vector<const MyGame::Example::Test *> *test4() const {
1391 return GetPointer<const flatbuffers::Vector<const MyGame::Example::Test *> *>(VT_TEST4);
1393 flatbuffers::Vector<const MyGame::Example::Test *> *mutable_test4() {
1394 return GetPointer<flatbuffers::Vector<const MyGame::Example::Test *> *>(VT_TEST4);
1396 const flatbuffers::Vector<flatbuffers::Offset<flatbuffers::String>> *testarrayofstring() const {
1397 …return GetPointer<const flatbuffers::Vector<flatbuffers::Offset<flatbuffers::String>> *>(VT_TESTAR…
1399 flatbuffers::Vector<flatbuffers::Offset<flatbuffers::String>> *mutable_testarrayofstring() {
1400 …return GetPointer<flatbuffers::Vector<flatbuffers::Offset<flatbuffers::String>> *>(VT_TESTARRAYOFS…
1404 …const flatbuffers::Vector<flatbuffers::Offset<MyGame::Example::Monster>> *testarrayoftables() cons…
1405 …return GetPointer<const flatbuffers::Vector<flatbuffers::Offset<MyGame::Example::Monster>> *>(VT_T…
1407 flatbuffers::Vector<flatbuffers::Offset<MyGame::Example::Monster>> *mutable_testarrayoftables() {
1408 …return GetPointer<flatbuffers::Vector<flatbuffers::Offset<MyGame::Example::Monster>> *>(VT_TESTARR…
1416 const flatbuffers::Vector<uint8_t> *testnestedflatbuffer() const {
1417 return GetPointer<const flatbuffers::Vector<uint8_t> *>(VT_TESTNESTEDFLATBUFFER);
1419 flatbuffers::Vector<uint8_t> *mutable_testnestedflatbuffer() {
1420 return GetPointer<flatbuffers::Vector<uint8_t> *>(VT_TESTNESTEDFLATBUFFER);
1423 return flatbuffers::GetRoot<MyGame::Example::Monster>(testnestedflatbuffer()->Data());
1485 const flatbuffers::Vector<uint8_t> *testarrayofbools() const {
1486 return GetPointer<const flatbuffers::Vector<uint8_t> *>(VT_TESTARRAYOFBOOLS);
1488 flatbuffers::Vector<uint8_t> *mutable_testarrayofbools() {
1489 return GetPointer<flatbuffers::Vector<uint8_t> *>(VT_TESTARRAYOFBOOLS);
1509 const flatbuffers::Vector<flatbuffers::Offset<flatbuffers::String>> *testarrayofstring2() const {
1510 …return GetPointer<const flatbuffers::Vector<flatbuffers::Offset<flatbuffers::String>> *>(VT_TESTAR…
1512 flatbuffers::Vector<flatbuffers::Offset<flatbuffers::String>> *mutable_testarrayofstring2() {
1513 …return GetPointer<flatbuffers::Vector<flatbuffers::Offset<flatbuffers::String>> *>(VT_TESTARRAYOFS…
1515 const flatbuffers::Vector<const MyGame::Example::Ability *> *testarrayofsortedstruct() const {
1516 …return GetPointer<const flatbuffers::Vector<const MyGame::Example::Ability *> *>(VT_TESTARRAYOFSOR…
1518 flatbuffers::Vector<const MyGame::Example::Ability *> *mutable_testarrayofsortedstruct() {
1519 …return GetPointer<flatbuffers::Vector<const MyGame::Example::Ability *> *>(VT_TESTARRAYOFSORTEDSTR…
1521 const flatbuffers::Vector<uint8_t> *flex() const {
1522 return GetPointer<const flatbuffers::Vector<uint8_t> *>(VT_FLEX);
1524 flatbuffers::Vector<uint8_t> *mutable_flex() {
1525 return GetPointer<flatbuffers::Vector<uint8_t> *>(VT_FLEX);
1530 const flatbuffers::Vector<const MyGame::Example::Test *> *test5() const {
1531 return GetPointer<const flatbuffers::Vector<const MyGame::Example::Test *> *>(VT_TEST5);
1533 flatbuffers::Vector<const MyGame::Example::Test *> *mutable_test5() {
1534 return GetPointer<flatbuffers::Vector<const MyGame::Example::Test *> *>(VT_TEST5);
1536 const flatbuffers::Vector<int64_t> *vector_of_longs() const {
1537 return GetPointer<const flatbuffers::Vector<int64_t> *>(VT_VECTOR_OF_LONGS);
1539 flatbuffers::Vector<int64_t> *mutable_vector_of_longs() {
1540 return GetPointer<flatbuffers::Vector<int64_t> *>(VT_VECTOR_OF_LONGS);
1542 const flatbuffers::Vector<double> *vector_of_doubles() const {
1543 return GetPointer<const flatbuffers::Vector<double> *>(VT_VECTOR_OF_DOUBLES);
1545 flatbuffers::Vector<double> *mutable_vector_of_doubles() {
1546 return GetPointer<flatbuffers::Vector<double> *>(VT_VECTOR_OF_DOUBLES);
1554 …const flatbuffers::Vector<flatbuffers::Offset<MyGame::Example::Referrable>> *vector_of_referrables…
1555 …return GetPointer<const flatbuffers::Vector<flatbuffers::Offset<MyGame::Example::Referrable>> *>(V…
1557 …flatbuffers::Vector<flatbuffers::Offset<MyGame::Example::Referrable>> *mutable_vector_of_referrabl…
1558 …return GetPointer<flatbuffers::Vector<flatbuffers::Offset<MyGame::Example::Referrable>> *>(VT_VECT…
1566 const flatbuffers::Vector<uint64_t> *vector_of_weak_references() const {
1567 return GetPointer<const flatbuffers::Vector<uint64_t> *>(VT_VECTOR_OF_WEAK_REFERENCES);
1569 flatbuffers::Vector<uint64_t> *mutable_vector_of_weak_references() {
1570 return GetPointer<flatbuffers::Vector<uint64_t> *>(VT_VECTOR_OF_WEAK_REFERENCES);
1572 …const flatbuffers::Vector<flatbuffers::Offset<MyGame::Example::Referrable>> *vector_of_strong_refe…
1573 …return GetPointer<const flatbuffers::Vector<flatbuffers::Offset<MyGame::Example::Referrable>> *>(V…
1575 …flatbuffers::Vector<flatbuffers::Offset<MyGame::Example::Referrable>> *mutable_vector_of_strong_re…
1576 …return GetPointer<flatbuffers::Vector<flatbuffers::Offset<MyGame::Example::Referrable>> *>(VT_VECT…
1584 const flatbuffers::Vector<uint64_t> *vector_of_co_owning_references() const {
1585 return GetPointer<const flatbuffers::Vector<uint64_t> *>(VT_VECTOR_OF_CO_OWNING_REFERENCES);
1587 flatbuffers::Vector<uint64_t> *mutable_vector_of_co_owning_references() {
1588 return GetPointer<flatbuffers::Vector<uint64_t> *>(VT_VECTOR_OF_CO_OWNING_REFERENCES);
1596 const flatbuffers::Vector<uint64_t> *vector_of_non_owning_references() const {
1597 return GetPointer<const flatbuffers::Vector<uint64_t> *>(VT_VECTOR_OF_NON_OWNING_REFERENCES);
1599 flatbuffers::Vector<uint64_t> *mutable_vector_of_non_owning_references() {
1600 return GetPointer<flatbuffers::Vector<uint64_t> *>(VT_VECTOR_OF_NON_OWNING_REFERENCES);
1639 const flatbuffers::Vector<uint8_t> *vector_of_enums() const {
1640 return GetPointer<const flatbuffers::Vector<uint8_t> *>(VT_VECTOR_OF_ENUMS);
1642 flatbuffers::Vector<uint8_t> *mutable_vector_of_enums() {
1643 return GetPointer<flatbuffers::Vector<uint8_t> *>(VT_VECTOR_OF_ENUMS);
1651 bool Verify(flatbuffers::Verifier &verifier) const {
1733 MonsterT *UnPack(const flatbuffers::resolver_function_t *_resolver = nullptr) const;
1734 void UnPackTo(MonsterT *_o, const flatbuffers::resolver_function_t *_resolver = nullptr) const;
1735 …static flatbuffers::Offset<Monster> Pack(flatbuffers::FlatBufferBuilder &_fbb, const MonsterT* _o,…
1764 flatbuffers::FlatBufferBuilder &fbb_;
1765 flatbuffers::uoffset_t start_;
1775 void add_name(flatbuffers::Offset<flatbuffers::String> name) {
1778 void add_inventory(flatbuffers::Offset<flatbuffers::Vector<uint8_t>> inventory) {
1787 void add_test(flatbuffers::Offset<void> test) {
1790 void add_test4(flatbuffers::Offset<flatbuffers::Vector<const MyGame::Example::Test *>> test4) {
1793 …void add_testarrayofstring(flatbuffers::Offset<flatbuffers::Vector<flatbuffers::Offset<flatbuffers…
1796 …void add_testarrayoftables(flatbuffers::Offset<flatbuffers::Vector<flatbuffers::Offset<MyGame::Exa…
1799 void add_enemy(flatbuffers::Offset<MyGame::Example::Monster> enemy) {
1802 …void add_testnestedflatbuffer(flatbuffers::Offset<flatbuffers::Vector<uint8_t>> testnestedflatbuff…
1805 void add_testempty(flatbuffers::Offset<MyGame::Example::Stat> testempty) {
1835 void add_testarrayofbools(flatbuffers::Offset<flatbuffers::Vector<uint8_t>> testarrayofbools) {
1847 …void add_testarrayofstring2(flatbuffers::Offset<flatbuffers::Vector<flatbuffers::Offset<flatbuffer…
1850 …void add_testarrayofsortedstruct(flatbuffers::Offset<flatbuffers::Vector<const MyGame::Example::Ab…
1853 void add_flex(flatbuffers::Offset<flatbuffers::Vector<uint8_t>> flex) {
1856 void add_test5(flatbuffers::Offset<flatbuffers::Vector<const MyGame::Example::Test *>> test5) {
1859 void add_vector_of_longs(flatbuffers::Offset<flatbuffers::Vector<int64_t>> vector_of_longs) {
1862 void add_vector_of_doubles(flatbuffers::Offset<flatbuffers::Vector<double>> vector_of_doubles) {
1865 …void add_parent_namespace_test(flatbuffers::Offset<MyGame::InParentNamespace> parent_namespace_tes…
1868 …void add_vector_of_referrables(flatbuffers::Offset<flatbuffers::Vector<flatbuffers::Offset<MyGame:…
1874 …void add_vector_of_weak_references(flatbuffers::Offset<flatbuffers::Vector<uint64_t>> vector_of_we…
1877 …void add_vector_of_strong_referrables(flatbuffers::Offset<flatbuffers::Vector<flatbuffers::Offset<…
1883 …void add_vector_of_co_owning_references(flatbuffers::Offset<flatbuffers::Vector<uint64_t>> vector_…
1889 …void add_vector_of_non_owning_references(flatbuffers::Offset<flatbuffers::Vector<uint64_t>> vector…
1895 void add_any_unique(flatbuffers::Offset<void> any_unique) {
1901 void add_any_ambiguous(flatbuffers::Offset<void> any_ambiguous) {
1904 void add_vector_of_enums(flatbuffers::Offset<flatbuffers::Vector<uint8_t>> vector_of_enums) {
1910 explicit MonsterBuilder(flatbuffers::FlatBufferBuilder &_fbb)
1915 flatbuffers::Offset<Monster> Finish() {
1917 auto o = flatbuffers::Offset<Monster>(end);
1923 inline flatbuffers::Offset<Monster> CreateMonster(
1924 flatbuffers::FlatBufferBuilder &_fbb,
1928 flatbuffers::Offset<flatbuffers::String> name = 0,
1929 flatbuffers::Offset<flatbuffers::Vector<uint8_t>> inventory = 0,
1932 flatbuffers::Offset<void> test = 0,
1933 flatbuffers::Offset<flatbuffers::Vector<const MyGame::Example::Test *>> test4 = 0,
1934 …flatbuffers::Offset<flatbuffers::Vector<flatbuffers::Offset<flatbuffers::String>>> testarrayofstri…
1935 …flatbuffers::Offset<flatbuffers::Vector<flatbuffers::Offset<MyGame::Example::Monster>>> testarrayo…
1936 flatbuffers::Offset<MyGame::Example::Monster> enemy = 0,
1937 flatbuffers::Offset<flatbuffers::Vector<uint8_t>> testnestedflatbuffer = 0,
1938 flatbuffers::Offset<MyGame::Example::Stat> testempty = 0,
1948 flatbuffers::Offset<flatbuffers::Vector<uint8_t>> testarrayofbools = 0,
1952 …flatbuffers::Offset<flatbuffers::Vector<flatbuffers::Offset<flatbuffers::String>>> testarrayofstri…
1953 …flatbuffers::Offset<flatbuffers::Vector<const MyGame::Example::Ability *>> testarrayofsortedstruct…
1954 flatbuffers::Offset<flatbuffers::Vector<uint8_t>> flex = 0,
1955 flatbuffers::Offset<flatbuffers::Vector<const MyGame::Example::Test *>> test5 = 0,
1956 flatbuffers::Offset<flatbuffers::Vector<int64_t>> vector_of_longs = 0,
1957 flatbuffers::Offset<flatbuffers::Vector<double>> vector_of_doubles = 0,
1958 flatbuffers::Offset<MyGame::InParentNamespace> parent_namespace_test = 0,
1959 …flatbuffers::Offset<flatbuffers::Vector<flatbuffers::Offset<MyGame::Example::Referrable>>> vector_…
1961 flatbuffers::Offset<flatbuffers::Vector<uint64_t>> vector_of_weak_references = 0,
1962 …flatbuffers::Offset<flatbuffers::Vector<flatbuffers::Offset<MyGame::Example::Referrable>>> vector_…
1964 flatbuffers::Offset<flatbuffers::Vector<uint64_t>> vector_of_co_owning_references = 0,
1966 flatbuffers::Offset<flatbuffers::Vector<uint64_t>> vector_of_non_owning_references = 0,
1968 flatbuffers::Offset<void> any_unique = 0,
1970 flatbuffers::Offset<void> any_ambiguous = 0,
1971 flatbuffers::Offset<flatbuffers::Vector<uint8_t>> vector_of_enums = 0,
2025 inline flatbuffers::Offset<Monster> CreateMonsterDirect(
2026 flatbuffers::FlatBufferBuilder &_fbb,
2034 flatbuffers::Offset<void> test = 0,
2036 const std::vector<flatbuffers::Offset<flatbuffers::String>> *testarrayofstring = nullptr,
2037 std::vector<flatbuffers::Offset<MyGame::Example::Monster>> *testarrayoftables = nullptr,
2038 flatbuffers::Offset<MyGame::Example::Monster> enemy = 0,
2040 flatbuffers::Offset<MyGame::Example::Stat> testempty = 0,
2054 const std::vector<flatbuffers::Offset<flatbuffers::String>> *testarrayofstring2 = nullptr,
2060 flatbuffers::Offset<MyGame::InParentNamespace> parent_namespace_test = 0,
2061 std::vector<flatbuffers::Offset<MyGame::Example::Referrable>> *vector_of_referrables = nullptr,
2064 …std::vector<flatbuffers::Offset<MyGame::Example::Referrable>> *vector_of_strong_referrables = null…
2070 flatbuffers::Offset<void> any_unique = 0,
2072 flatbuffers::Offset<void> any_ambiguous = 0,
2078 …auto testarrayofstring__ = testarrayofstring ? _fbb.CreateVector<flatbuffers::Offset<flatbuffers::…
2082 …estarrayofstring2__ = testarrayofstring2 ? _fbb.CreateVector<flatbuffers::Offset<flatbuffers::Stri…
2146 flatbuffers::Offset<Monster> CreateMonster(flatbuffers::FlatBufferBuilder &_fbb, const MonsterT *_o…
2148 struct TypeAliasesT : public flatbuffers::NativeTable {
2197 struct TypeAliases FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table {
2200 static const flatbuffers::TypeTable *MiniReflectTypeTable() {
2277 const flatbuffers::Vector<int8_t> *v8() const {
2278 return GetPointer<const flatbuffers::Vector<int8_t> *>(VT_V8);
2280 flatbuffers::Vector<int8_t> *mutable_v8() {
2281 return GetPointer<flatbuffers::Vector<int8_t> *>(VT_V8);
2283 const flatbuffers::Vector<double> *vf64() const {
2284 return GetPointer<const flatbuffers::Vector<double> *>(VT_VF64);
2286 flatbuffers::Vector<double> *mutable_vf64() {
2287 return GetPointer<flatbuffers::Vector<double> *>(VT_VF64);
2289 bool Verify(flatbuffers::Verifier &verifier) const {
2307 TypeAliasesT *UnPack(const flatbuffers::resolver_function_t *_resolver = nullptr) const;
2308 …void UnPackTo(TypeAliasesT *_o, const flatbuffers::resolver_function_t *_resolver = nullptr) const;
2309 …static flatbuffers::Offset<TypeAliases> Pack(flatbuffers::FlatBufferBuilder &_fbb, const TypeAlias…
2314 flatbuffers::FlatBufferBuilder &fbb_;
2315 flatbuffers::uoffset_t start_;
2346 void add_v8(flatbuffers::Offset<flatbuffers::Vector<int8_t>> v8) {
2349 void add_vf64(flatbuffers::Offset<flatbuffers::Vector<double>> vf64) {
2352 explicit TypeAliasesBuilder(flatbuffers::FlatBufferBuilder &_fbb)
2357 flatbuffers::Offset<TypeAliases> Finish() {
2359 auto o = flatbuffers::Offset<TypeAliases>(end);
2364 inline flatbuffers::Offset<TypeAliases> CreateTypeAliases(
2365 flatbuffers::FlatBufferBuilder &_fbb,
2376 flatbuffers::Offset<flatbuffers::Vector<int8_t>> v8 = 0,
2377 flatbuffers::Offset<flatbuffers::Vector<double>> vf64 = 0) {
2394 inline flatbuffers::Offset<TypeAliases> CreateTypeAliasesDirect(
2395 flatbuffers::FlatBufferBuilder &_fbb,
2426 flatbuffers::Offset<TypeAliases> CreateTypeAliases(flatbuffers::FlatBufferBuilder &_fbb, const Type…
2430 inline InParentNamespaceT *InParentNamespace::UnPack(const flatbuffers::resolver_function_t *_resol…
2431 …flatbuffers::unique_ptr<MyGame::InParentNamespaceT> _o = flatbuffers::unique_ptr<MyGame::InParentN…
2436 inline void InParentNamespace::UnPackTo(InParentNamespaceT *_o, const flatbuffers::resolver_functio…
2441 …e flatbuffers::Offset<InParentNamespace> InParentNamespace::Pack(flatbuffers::FlatBufferBuilder &_…
2445 …e flatbuffers::Offset<InParentNamespace> CreateInParentNamespace(flatbuffers::FlatBufferBuilder &_…
2448 …struct _VectorArgs { flatbuffers::FlatBufferBuilder *__fbb; const InParentNamespaceT* __o; const f…
2455 inline MonsterT *Monster::UnPack(const flatbuffers::resolver_function_t *_resolver) const {
2456 …flatbuffers::unique_ptr<MyGame::Example2::MonsterT> _o = flatbuffers::unique_ptr<MyGame::Example2:…
2461 inline void Monster::UnPackTo(MonsterT *_o, const flatbuffers::resolver_function_t *_resolver) cons…
2466 inline flatbuffers::Offset<Monster> Monster::Pack(flatbuffers::FlatBufferBuilder &_fbb, const Monst…
2470 inline flatbuffers::Offset<Monster> CreateMonster(flatbuffers::FlatBufferBuilder &_fbb, const Monst…
2473 …struct _VectorArgs { flatbuffers::FlatBufferBuilder *__fbb; const MonsterT* __o; const flatbuffers…
2482 inline TestSimpleTableWithEnumT *TestSimpleTableWithEnum::UnPack(const flatbuffers::resolver_functi…
2483 …flatbuffers::unique_ptr<MyGame::Example::TestSimpleTableWithEnumT> _o = flatbuffers::unique_ptr<My…
2488 inline void TestSimpleTableWithEnum::UnPackTo(TestSimpleTableWithEnumT *_o, const flatbuffers::reso…
2494 …flatbuffers::Offset<TestSimpleTableWithEnum> TestSimpleTableWithEnum::Pack(flatbuffers::FlatBuffer…
2498 …flatbuffers::Offset<TestSimpleTableWithEnum> CreateTestSimpleTableWithEnum(flatbuffers::FlatBuffer…
2501 …struct _VectorArgs { flatbuffers::FlatBufferBuilder *__fbb; const TestSimpleTableWithEnumT* __o; c…
2508 inline StatT *Stat::UnPack(const flatbuffers::resolver_function_t *_resolver) const {
2509 …flatbuffers::unique_ptr<MyGame::Example::StatT> _o = flatbuffers::unique_ptr<MyGame::Example::Stat…
2514 inline void Stat::UnPackTo(StatT *_o, const flatbuffers::resolver_function_t *_resolver) const {
2522 inline flatbuffers::Offset<Stat> Stat::Pack(flatbuffers::FlatBufferBuilder &_fbb, const StatT* _o, …
2526 inline flatbuffers::Offset<Stat> CreateStat(flatbuffers::FlatBufferBuilder &_fbb, const StatT *_o, …
2529 …struct _VectorArgs { flatbuffers::FlatBufferBuilder *__fbb; const StatT* __o; const flatbuffers::r…
2540 inline ReferrableT *Referrable::UnPack(const flatbuffers::resolver_function_t *_resolver) const {
2541 …flatbuffers::unique_ptr<MyGame::Example::ReferrableT> _o = flatbuffers::unique_ptr<MyGame::Example…
2546 inline void Referrable::UnPackTo(ReferrableT *_o, const flatbuffers::resolver_function_t *_resolver…
2552 inline flatbuffers::Offset<Referrable> Referrable::Pack(flatbuffers::FlatBufferBuilder &_fbb, const…
2556 inline flatbuffers::Offset<Referrable> CreateReferrable(flatbuffers::FlatBufferBuilder &_fbb, const…
2559 …struct _VectorArgs { flatbuffers::FlatBufferBuilder *__fbb; const ReferrableT* __o; const flatbuff…
2566 inline MonsterT *Monster::UnPack(const flatbuffers::resolver_function_t *_resolver) const {
2567 …flatbuffers::unique_ptr<MyGame::Example::MonsterT> _o = flatbuffers::unique_ptr<MyGame::Example::M…
2572 inline void Monster::UnPackTo(MonsterT *_o, const flatbuffers::resolver_function_t *_resolver) cons…
2575 …{ auto _e = pos(); if (_e) _o->pos = flatbuffers::unique_ptr<MyGame::Example::Vec3>(new MyGame::Ex…
2579 …{ auto _e = inventory(); if (_e) { _o->inventory.resize(_e->size()); for (flatbuffers::uoffset_t _…
2583 …{ auto _e = test4(); if (_e) { _o->test4.resize(_e->size()); for (flatbuffers::uoffset_t _i = 0; _…
2584 …ayofstring(); if (_e) { _o->testarrayofstring.resize(_e->size()); for (flatbuffers::uoffset_t _i =…
2585 …les.resize(_e->size()); for (flatbuffers::uoffset_t _i = 0; _i < _e->size(); _i++) { _o->testarray…
2586 …{ auto _e = enemy(); if (_e) _o->enemy = flatbuffers::unique_ptr<MyGame::Example::MonsterT>(_e->Un…
2587 …tbuffer(); if (_e) { _o->testnestedflatbuffer.resize(_e->size()); for (flatbuffers::uoffset_t _i =…
2588 …{ auto _e = testempty(); if (_e) _o->testempty = flatbuffers::unique_ptr<MyGame::Example::StatT>(_…
2596 …solver)(reinterpret_cast<void **>(&_o->testhashu32_fnv1a), static_cast<flatbuffers::hash_value_t>(…
2599 …rrayofbools(); if (_e) { _o->testarrayofbools.resize(_e->size()); for (flatbuffers::uoffset_t _i =…
2603 …ofstring2(); if (_e) { _o->testarrayofstring2.resize(_e->size()); for (flatbuffers::uoffset_t _i =…
2604 …ruct(); if (_e) { _o->testarrayofsortedstruct.resize(_e->size()); for (flatbuffers::uoffset_t _i =…
2605 …{ auto _e = flex(); if (_e) { _o->flex.resize(_e->size()); for (flatbuffers::uoffset_t _i = 0; _i …
2606 …{ auto _e = test5(); if (_e) { _o->test5.resize(_e->size()); for (flatbuffers::uoffset_t _i = 0; _…
2607 …{ auto _e = vector_of_longs(); if (_e) { _o->vector_of_longs.resize(_e->size()); for (flatbuffers:…
2608 …of_doubles(); if (_e) { _o->vector_of_doubles.resize(_e->size()); for (flatbuffers::uoffset_t _i =…
2609 …{ auto _e = parent_namespace_test(); if (_e) _o->parent_namespace_test = flatbuffers::unique_ptr<M…
2610 …s.resize(_e->size()); for (flatbuffers::uoffset_t _i = 0; _i < _e->size(); _i++) { _o->vector_of_r…
2612 …er)(reinterpret_cast<void **>(&_o->single_weak_reference), static_cast<flatbuffers::hash_value_t>(…
2613 …es(); if (_e) { _o->vector_of_weak_references.resize(_e->size()); for (flatbuffers::uoffset_t _i =…
2614 …terpret_cast<void **>(&_o->vector_of_weak_references[_i]), static_cast<flatbuffers::hash_value_t>(…
2615 …size(_e->size()); for (flatbuffers::uoffset_t _i = 0; _i < _e->size(); _i++) { _o->vector_of_stron…
2617 …lver)(reinterpret_cast<void **>(&_o->co_owning_reference), static_cast<flatbuffers::hash_value_t>(…
2618 … if (_e) { _o->vector_of_co_owning_references.resize(_e->size()); for (flatbuffers::uoffset_t _i =…
2619 …et_cast<void **>(&_o->vector_of_co_owning_references[_i]), static_cast<flatbuffers::hash_value_t>(…
2621 …ver)(reinterpret_cast<void **>(&_o->non_owning_reference), static_cast<flatbuffers::hash_value_t>(…
2622 …if (_e) { _o->vector_of_non_owning_references.resize(_e->size()); for (flatbuffers::uoffset_t _i =…
2623 …t_cast<void **>(&_o->vector_of_non_owning_references[_i]), static_cast<flatbuffers::hash_value_t>(…
2628 …{ auto _e = vector_of_enums(); if (_e) { _o->vector_of_enums.resize(_e->size()); for (flatbuffers:…
2632 inline flatbuffers::Offset<Monster> Monster::Pack(flatbuffers::FlatBufferBuilder &_fbb, const Monst…
2636 inline flatbuffers::Offset<Monster> CreateMonster(flatbuffers::FlatBufferBuilder &_fbb, const Monst…
2639 …struct _VectorArgs { flatbuffers::FlatBufferBuilder *__fbb; const MonsterT* __o; const flatbuffers…
2650 …auto _testarrayoftables = _o->testarrayoftables.size() ? _fbb.CreateVector<flatbuffers::Offset<MyG…
2674 …auto _vector_of_referrables = _o->vector_of_referrables.size() ? _fbb.CreateVector<flatbuffers::Of…
2677 …errables = _o->vector_of_strong_referrables.size() ? _fbb.CreateVector<flatbuffers::Offset<MyGame:…
2686 …ms = _o->vector_of_enums.size() ? _fbb.CreateVectorScalarCast<uint8_t>(flatbuffers::data(_o->vecto…
2740 inline TypeAliasesT *TypeAliases::UnPack(const flatbuffers::resolver_function_t *_resolver) const {
2741 …flatbuffers::unique_ptr<MyGame::Example::TypeAliasesT> _o = flatbuffers::unique_ptr<MyGame::Exampl…
2746 inline void TypeAliases::UnPackTo(TypeAliasesT *_o, const flatbuffers::resolver_function_t *_resolv…
2759 …{ auto _e = v8(); if (_e) { _o->v8.resize(_e->size()); for (flatbuffers::uoffset_t _i = 0; _i < _e…
2760 …{ auto _e = vf64(); if (_e) { _o->vf64.resize(_e->size()); for (flatbuffers::uoffset_t _i = 0; _i …
2763 inline flatbuffers::Offset<TypeAliases> TypeAliases::Pack(flatbuffers::FlatBufferBuilder &_fbb, con…
2767 inline flatbuffers::Offset<TypeAliases> CreateTypeAliases(flatbuffers::FlatBufferBuilder &_fbb, con…
2770 …struct _VectorArgs { flatbuffers::FlatBufferBuilder *__fbb; const TypeAliasesT* __o; const flatbuf…
2799 inline bool VerifyAny(flatbuffers::Verifier &verifier, const void *obj, Any type) {
2820 …ool VerifyAnyVector(flatbuffers::Verifier &verifier, const flatbuffers::Vector<flatbuffers::Offset…
2823 for (flatbuffers::uoffset_t i = 0; i < values->size(); ++i) {
2832 inline void *AnyUnion::UnPack(const void *obj, Any type, const flatbuffers::resolver_function_t *re…
2850 inline flatbuffers::Offset<void> AnyUnion::Pack(flatbuffers::FlatBufferBuilder &_fbb, const flatbuf…
2910 inline bool VerifyAnyUniqueAliases(flatbuffers::Verifier &verifier, const void *obj, AnyUniqueAlias…
2931 …UniqueAliasesVector(flatbuffers::Verifier &verifier, const flatbuffers::Vector<flatbuffers::Offset…
2934 for (flatbuffers::uoffset_t i = 0; i < values->size(); ++i) {
2943 …iqueAliasesUnion::UnPack(const void *obj, AnyUniqueAliases type, const flatbuffers::resolver_funct…
2961 inline flatbuffers::Offset<void> AnyUniqueAliasesUnion::Pack(flatbuffers::FlatBufferBuilder &_fbb, …
3021 inline bool VerifyAnyAmbiguousAliases(flatbuffers::Verifier &verifier, const void *obj, AnyAmbiguou…
3042 …iguousAliasesVector(flatbuffers::Verifier &verifier, const flatbuffers::Vector<flatbuffers::Offset…
3045 for (flatbuffers::uoffset_t i = 0; i < values->size(); ++i) {
3054 …sAliasesUnion::UnPack(const void *obj, AnyAmbiguousAliases type, const flatbuffers::resolver_funct…
3072 inline flatbuffers::Offset<void> AnyAmbiguousAliasesUnion::Pack(flatbuffers::FlatBufferBuilder &_fb…
3132 inline const flatbuffers::TypeTable *ColorTypeTable() {
3133 static const flatbuffers::TypeCode type_codes[] = {
3134 { flatbuffers::ET_UCHAR, 0, 0 },
3135 { flatbuffers::ET_UCHAR, 0, 0 },
3136 { flatbuffers::ET_UCHAR, 0, 0 }
3138 static const flatbuffers::TypeFunction type_refs[] = {
3147 static const flatbuffers::TypeTable tt = {
3148 flatbuffers::ST_ENUM, 3, type_codes, type_refs, values, names
3153 inline const flatbuffers::TypeTable *RaceTypeTable() {
3154 static const flatbuffers::TypeCode type_codes[] = {
3155 { flatbuffers::ET_CHAR, 0, 0 },
3156 { flatbuffers::ET_CHAR, 0, 0 },
3157 { flatbuffers::ET_CHAR, 0, 0 },
3158 { flatbuffers::ET_CHAR, 0, 0 }
3160 static const flatbuffers::TypeFunction type_refs[] = {
3170 static const flatbuffers::TypeTable tt = {
3171 flatbuffers::ST_ENUM, 4, type_codes, type_refs, values, names
3176 inline const flatbuffers::TypeTable *AnyTypeTable() {
3177 static const flatbuffers::TypeCode type_codes[] = {
3178 { flatbuffers::ET_SEQUENCE, 0, -1 },
3179 { flatbuffers::ET_SEQUENCE, 0, 0 },
3180 { flatbuffers::ET_SEQUENCE, 0, 1 },
3181 { flatbuffers::ET_SEQUENCE, 0, 2 }
3183 static const flatbuffers::TypeFunction type_refs[] = {
3194 static const flatbuffers::TypeTable tt = {
3195 flatbuffers::ST_UNION, 4, type_codes, type_refs, nullptr, names
3200 inline const flatbuffers::TypeTable *AnyUniqueAliasesTypeTable() {
3201 static const flatbuffers::TypeCode type_codes[] = {
3202 { flatbuffers::ET_SEQUENCE, 0, -1 },
3203 { flatbuffers::ET_SEQUENCE, 0, 0 },
3204 { flatbuffers::ET_SEQUENCE, 0, 1 },
3205 { flatbuffers::ET_SEQUENCE, 0, 2 }
3207 static const flatbuffers::TypeFunction type_refs[] = {
3218 static const flatbuffers::TypeTable tt = {
3219 flatbuffers::ST_UNION, 4, type_codes, type_refs, nullptr, names
3224 inline const flatbuffers::TypeTable *AnyAmbiguousAliasesTypeTable() {
3225 static const flatbuffers::TypeCode type_codes[] = {
3226 { flatbuffers::ET_SEQUENCE, 0, -1 },
3227 { flatbuffers::ET_SEQUENCE, 0, 0 },
3228 { flatbuffers::ET_SEQUENCE, 0, 0 },
3229 { flatbuffers::ET_SEQUENCE, 0, 0 }
3231 static const flatbuffers::TypeFunction type_refs[] = {
3240 static const flatbuffers::TypeTable tt = {
3241 flatbuffers::ST_UNION, 4, type_codes, type_refs, nullptr, names
3248 inline const flatbuffers::TypeTable *InParentNamespaceTypeTable() {
3249 static const flatbuffers::TypeTable tt = {
3250 flatbuffers::ST_TABLE, 0, nullptr, nullptr, nullptr, nullptr
3257 inline const flatbuffers::TypeTable *MonsterTypeTable() {
3258 static const flatbuffers::TypeTable tt = {
3259 flatbuffers::ST_TABLE, 0, nullptr, nullptr, nullptr, nullptr
3268 inline const flatbuffers::TypeTable *TestTypeTable() {
3269 static const flatbuffers::TypeCode type_codes[] = {
3270 { flatbuffers::ET_SHORT, 0, -1 },
3271 { flatbuffers::ET_CHAR, 0, -1 }
3278 static const flatbuffers::TypeTable tt = {
3279 flatbuffers::ST_STRUCT, 2, type_codes, nullptr, values, names
3284 inline const flatbuffers::TypeTable *TestSimpleTableWithEnumTypeTable() {
3285 static const flatbuffers::TypeCode type_codes[] = {
3286 { flatbuffers::ET_UCHAR, 0, 0 }
3288 static const flatbuffers::TypeFunction type_refs[] = {
3294 static const flatbuffers::TypeTable tt = {
3295 flatbuffers::ST_TABLE, 1, type_codes, type_refs, nullptr, names
3300 inline const flatbuffers::TypeTable *Vec3TypeTable() {
3301 static const flatbuffers::TypeCode type_codes[] = {
3302 { flatbuffers::ET_FLOAT, 0, -1 },
3303 { flatbuffers::ET_FLOAT, 0, -1 },
3304 { flatbuffers::ET_FLOAT, 0, -1 },
3305 { flatbuffers::ET_DOUBLE, 0, -1 },
3306 { flatbuffers::ET_UCHAR, 0, 0 },
3307 { flatbuffers::ET_SEQUENCE, 0, 1 }
3309 static const flatbuffers::TypeFunction type_refs[] = {
3322 static const flatbuffers::TypeTable tt = {
3323 flatbuffers::ST_STRUCT, 6, type_codes, type_refs, values, names
3328 inline const flatbuffers::TypeTable *AbilityTypeTable() {
3329 static const flatbuffers::TypeCode type_codes[] = {
3330 { flatbuffers::ET_UINT, 0, -1 },
3331 { flatbuffers::ET_UINT, 0, -1 }
3338 static const flatbuffers::TypeTable tt = {
3339 flatbuffers::ST_STRUCT, 2, type_codes, nullptr, values, names
3344 inline const flatbuffers::TypeTable *StatTypeTable() {
3345 static const flatbuffers::TypeCode type_codes[] = {
3346 { flatbuffers::ET_STRING, 0, -1 },
3347 { flatbuffers::ET_LONG, 0, -1 },
3348 { flatbuffers::ET_USHORT, 0, -1 }
3355 static const flatbuffers::TypeTable tt = {
3356 flatbuffers::ST_TABLE, 3, type_codes, nullptr, nullptr, names
3361 inline const flatbuffers::TypeTable *ReferrableTypeTable() {
3362 static const flatbuffers::TypeCode type_codes[] = {
3363 { flatbuffers::ET_ULONG, 0, -1 }
3368 static const flatbuffers::TypeTable tt = {
3369 flatbuffers::ST_TABLE, 1, type_codes, nullptr, nullptr, names
3374 inline const flatbuffers::TypeTable *MonsterTypeTable() {
3375 static const flatbuffers::TypeCode type_codes[] = {
3376 { flatbuffers::ET_SEQUENCE, 0, 0 },
3377 { flatbuffers::ET_SHORT, 0, -1 },
3378 { flatbuffers::ET_SHORT, 0, -1 },
3379 { flatbuffers::ET_STRING, 0, -1 },
3380 { flatbuffers::ET_BOOL, 0, -1 },
3381 { flatbuffers::ET_UCHAR, 1, -1 },
3382 { flatbuffers::ET_UCHAR, 0, 1 },
3383 { flatbuffers::ET_UTYPE, 0, 2 },
3384 { flatbuffers::ET_SEQUENCE, 0, 2 },
3385 { flatbuffers::ET_SEQUENCE, 1, 3 },
3386 { flatbuffers::ET_STRING, 1, -1 },
3387 { flatbuffers::ET_SEQUENCE, 1, 4 },
3388 { flatbuffers::ET_SEQUENCE, 0, 4 },
3389 { flatbuffers::ET_UCHAR, 1, -1 },
3390 { flatbuffers::ET_SEQUENCE, 0, 5 },
3391 { flatbuffers::ET_BOOL, 0, -1 },
3392 { flatbuffers::ET_INT, 0, -1 },
3393 { flatbuffers::ET_UINT, 0, -1 },
3394 { flatbuffers::ET_LONG, 0, -1 },
3395 { flatbuffers::ET_ULONG, 0, -1 },
3396 { flatbuffers::ET_INT, 0, -1 },
3397 { flatbuffers::ET_UINT, 0, -1 },
3398 { flatbuffers::ET_LONG, 0, -1 },
3399 { flatbuffers::ET_ULONG, 0, -1 },
3400 { flatbuffers::ET_BOOL, 1, -1 },
3401 { flatbuffers::ET_FLOAT, 0, -1 },
3402 { flatbuffers::ET_FLOAT, 0, -1 },
3403 { flatbuffers::ET_FLOAT, 0, -1 },
3404 { flatbuffers::ET_STRING, 1, -1 },
3405 { flatbuffers::ET_SEQUENCE, 1, 6 },
3406 { flatbuffers::ET_UCHAR, 1, -1 },
3407 { flatbuffers::ET_SEQUENCE, 1, 3 },
3408 { flatbuffers::ET_LONG, 1, -1 },
3409 { flatbuffers::ET_DOUBLE, 1, -1 },
3410 { flatbuffers::ET_SEQUENCE, 0, 7 },
3411 { flatbuffers::ET_SEQUENCE, 1, 8 },
3412 { flatbuffers::ET_ULONG, 0, -1 },
3413 { flatbuffers::ET_ULONG, 1, -1 },
3414 { flatbuffers::ET_SEQUENCE, 1, 8 },
3415 { flatbuffers::ET_ULONG, 0, -1 },
3416 { flatbuffers::ET_ULONG, 1, -1 },
3417 { flatbuffers::ET_ULONG, 0, -1 },
3418 { flatbuffers::ET_ULONG, 1, -1 },
3419 { flatbuffers::ET_UTYPE, 0, 9 },
3420 { flatbuffers::ET_SEQUENCE, 0, 9 },
3421 { flatbuffers::ET_UTYPE, 0, 10 },
3422 { flatbuffers::ET_SEQUENCE, 0, 10 },
3423 { flatbuffers::ET_UCHAR, 1, 1 },
3424 { flatbuffers::ET_CHAR, 0, 11 }
3426 static const flatbuffers::TypeFunction type_refs[] = {
3491 static const flatbuffers::TypeTable tt = {
3492 flatbuffers::ST_TABLE, 49, type_codes, type_refs, nullptr, names
3497 inline const flatbuffers::TypeTable *TypeAliasesTypeTable() {
3498 static const flatbuffers::TypeCode type_codes[] = {
3499 { flatbuffers::ET_CHAR, 0, -1 },
3500 { flatbuffers::ET_UCHAR, 0, -1 },
3501 { flatbuffers::ET_SHORT, 0, -1 },
3502 { flatbuffers::ET_USHORT, 0, -1 },
3503 { flatbuffers::ET_INT, 0, -1 },
3504 { flatbuffers::ET_UINT, 0, -1 },
3505 { flatbuffers::ET_LONG, 0, -1 },
3506 { flatbuffers::ET_ULONG, 0, -1 },
3507 { flatbuffers::ET_FLOAT, 0, -1 },
3508 { flatbuffers::ET_DOUBLE, 0, -1 },
3509 { flatbuffers::ET_CHAR, 1, -1 },
3510 { flatbuffers::ET_DOUBLE, 1, -1 }
3526 static const flatbuffers::TypeTable tt = {
3527 flatbuffers::ST_TABLE, 12, type_codes, nullptr, nullptr, names
3533 return flatbuffers::GetRoot<MyGame::Example::Monster>(buf);
3537 return flatbuffers::GetSizePrefixedRoot<MyGame::Example::Monster>(buf);
3541 return flatbuffers::GetMutableRoot<Monster>(buf);
3549 return flatbuffers::BufferHasIdentifier(
3554 flatbuffers::Verifier &verifier) {
3559 flatbuffers::Verifier &verifier) {
3568 flatbuffers::FlatBufferBuilder &fbb,
3569 flatbuffers::Offset<MyGame::Example::Monster> root) {
3574 flatbuffers::FlatBufferBuilder &fbb,
3575 flatbuffers::Offset<MyGame::Example::Monster> root) {
3579 inline flatbuffers::unique_ptr<MyGame::Example::MonsterT> UnPackMonster(
3581 const flatbuffers::resolver_function_t *res = nullptr) {
3582 return flatbuffers::unique_ptr<MyGame::Example::MonsterT>(GetMonster(buf)->UnPack(res));
3585 inline flatbuffers::unique_ptr<MyGame::Example::MonsterT> UnPackSizePrefixedMonster(
3587 const flatbuffers::resolver_function_t *res = nullptr) {
3588 …return flatbuffers::unique_ptr<MyGame::Example::MonsterT>(GetSizePrefixedMonster(buf)->UnPack(res)…