blob: 40bce66e76b625c475b0915ab753716bf79c3fb9 [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];
9}
10
11struct ArrayStruct{
12 a:float;
13 b:[int:0xF];
14 c:byte;
15 d:[NestedStruct:2];
16}
17
18table ArrayTable{
19 a:ArrayStruct;
20}
21
22root_type ArrayTable;
23file_identifier "ARRT";
24file_extension "mon";