mirror of
https://github.com/google/flatbuffers.git
synced 2026-11-12 15:06:21 +00:00
Co-authored-by: Derek Bailey <derekbailey@google.com>
This commit is contained in:
co-authored by
Derek Bailey
parent
d64dc6200a
commit
cb14043f82
@@ -0,0 +1,27 @@
|
||||
namespace RustNamerTest;
|
||||
|
||||
table FieldTable {}
|
||||
|
||||
union FieldUnion {
|
||||
f :FieldTable (id: 0),
|
||||
}
|
||||
|
||||
table RootTable {
|
||||
field42 :FieldUnion (id: 1);
|
||||
}
|
||||
|
||||
table PlayerStatEvent {}
|
||||
table PlayerSpectate {}
|
||||
table PlayerInputChange {}
|
||||
|
||||
union GameMessage
|
||||
{
|
||||
PlayerStatEvent,
|
||||
PlayerSpectate,
|
||||
PlayerInputChange
|
||||
}
|
||||
|
||||
table GameMessageWrapper
|
||||
{
|
||||
Message:GameMessage;
|
||||
}
|
||||
Reference in New Issue
Block a user