mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-01 19:58:15 +00:00
update generated sources
Change-Id: I531c26572fca7fca9805178971d7e110d44627d8
This commit is contained in:
committed by
Wouter van Oortmerssen
parent
89d2b0861b
commit
aa46f0e4c2
@@ -39,7 +39,7 @@ inline const char *EnumNameAny(Any e) { return EnumNamesAny()[e]; }
|
||||
|
||||
inline bool VerifyAny(flatbuffers::Verifier &verifier, const void *union_obj, Any type);
|
||||
|
||||
MANUALLY_ALIGNED_STRUCT(4) Vec3 {
|
||||
MANUALLY_ALIGNED_STRUCT(4) Vec3 FLATBUFFERS_FINAL_CLASS {
|
||||
private:
|
||||
float x_;
|
||||
float y_;
|
||||
@@ -55,7 +55,7 @@ MANUALLY_ALIGNED_STRUCT(4) Vec3 {
|
||||
};
|
||||
STRUCT_END(Vec3, 12);
|
||||
|
||||
struct Monster : private flatbuffers::Table {
|
||||
struct Monster FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table {
|
||||
const Vec3 *pos() const { return GetStruct<const Vec3 *>(4); }
|
||||
int16_t mana() const { return GetField<int16_t>(6, 150); }
|
||||
int16_t hp() const { return GetField<int16_t>(8, 100); }
|
||||
|
||||
Reference in New Issue
Block a user