Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
F
flatbuffers
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
flatbuffers
Commits
aa46f0e4
Commit
aa46f0e4
authored
Dec 27, 2014
by
dyu
Committed by
Wouter van Oortmerssen
Jan 07, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update generated sources
Change-Id: I531c26572fca7fca9805178971d7e110d44627d8
parent
89d2b086
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
monster_generated.h
samples/monster_generated.h
+2
-2
No files found.
samples/monster_generated.h
View file @
aa46f0e4
...
...
@@ -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
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment