2019-06-17 22:15:13 +00:00
|
|
|
namespace MyGame.Example;
|
|
|
|
|
|
|
|
enum TestEnum : byte { A, B, C }
|
|
|
|
|
|
|
|
struct NestedStruct{
|
|
|
|
a:[int:2];
|
|
|
|
b:TestEnum;
|
|
|
|
c:[TestEnum:2];
|
2019-08-23 17:46:47 +00:00
|
|
|
d:[int64:2];
|
2019-06-17 22:15:13 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
struct ArrayStruct{
|
|
|
|
a:float;
|
|
|
|
b:[int:0xF];
|
|
|
|
c:byte;
|
|
|
|
d:[NestedStruct:2];
|
2019-08-23 17:46:47 +00:00
|
|
|
e:int32;
|
|
|
|
f:[int64:2];
|
2019-06-17 22:15:13 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
table ArrayTable{
|
|
|
|
a:ArrayStruct;
|
|
|
|
}
|
|
|
|
|
|
|
|
root_type ArrayTable;
|
|
|
|
file_identifier "ARRT";
|
|
|
|
file_extension "mon";
|