blob: 90cb0d7267c58c58ce28c103e899173c67df8ab5 [file] [log] [blame]
Austin Schuhe89fa2d2019-08-14 20:24:23 -07001namespace MyGame.Example;
2
3enum TestEnum : byte { A, B, C }
4
5struct NestedStruct{
6 a:[int:2];
7 b:TestEnum;
8 c:[TestEnum:2];
Austin Schuh272c6132020-11-14 16:37:52 -08009 d:[int64:2];
Austin Schuhe89fa2d2019-08-14 20:24:23 -070010}
11
12struct ArrayStruct{
13 a:float;
14 b:[int:0xF];
15 c:byte;
16 d:[NestedStruct:2];
Austin Schuh272c6132020-11-14 16:37:52 -080017 e:int32;
18 f:[int64:2];
Austin Schuhe89fa2d2019-08-14 20:24:23 -070019}
20
21table ArrayTable{
22 a:ArrayStruct;
23}
24
25root_type ArrayTable;
26file_identifier "ARRT";
27file_extension "mon";