You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
358 B
28 lines
358 B
namespace MyGame.Example;
|
|
|
|
enum TestEnum : byte { A, B, C }
|
|
|
|
struct NestedStruct{
|
|
a:[int:2];
|
|
b:TestEnum;
|
|
c:[TestEnum:2];
|
|
d:[int64:2];
|
|
}
|
|
|
|
struct ArrayStruct{
|
|
a:float;
|
|
b:[int:0xF];
|
|
c:byte;
|
|
d:[NestedStruct:2];
|
|
e:int32;
|
|
f:[int64:2];
|
|
}
|
|
|
|
table ArrayTable{
|
|
a:ArrayStruct;
|
|
}
|
|
|
|
root_type ArrayTable;
|
|
file_identifier "ARRT";
|
|
file_extension "mon";
|