Commit aa46f0e4 authored by dyu's avatar dyu Committed by Wouter van Oortmerssen

update generated sources

Change-Id: I531c26572fca7fca9805178971d7e110d44627d8
parent 89d2b086
...@@ -39,7 +39,7 @@ inline const char *EnumNameAny(Any e) { return EnumNamesAny()[e]; } ...@@ -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); 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: private:
float x_; float x_;
float y_; float y_;
...@@ -55,7 +55,7 @@ MANUALLY_ALIGNED_STRUCT(4) Vec3 { ...@@ -55,7 +55,7 @@ MANUALLY_ALIGNED_STRUCT(4) Vec3 {
}; };
STRUCT_END(Vec3, 12); 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); } const Vec3 *pos() const { return GetStruct<const Vec3 *>(4); }
int16_t mana() const { return GetField<int16_t>(6, 150); } int16_t mana() const { return GetField<int16_t>(6, 150); }
int16_t hp() const { return GetField<int16_t>(8, 100); } int16_t hp() const { return GetField<int16_t>(8, 100); }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment