You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: MBINCompiler/Models/MBINHeader.cs
+9-4Lines changed: 9 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -1,13 +1,16 @@
1
1
usingSystem;
2
+
usingSystem.Reflection;
2
3
3
4
namespaceMBINCompiler.Models
4
5
{
5
6
publicclassMBINHeader:NMSTemplate
6
7
{
7
8
publicuintMagic;// can be 0xCCCCCCCC, or 0xDDDDDDDD for MBIN.PC files, probably used to seperate PC files from PS4
8
9
publicintVersion;// seems to be a version field, game checks this under certain conditions to make sure it's equal to 2500
9
-
publiclongBuildDateTime;// 0x0 for most files, 0xFFFF.. for TkGeometryData files, timestamp eg. 201607201542 (decimal) on global files and older MBINs, likely removed the code that set it at some stage
10
-
publiclongTemplateGUID;// seems to be unique across templates (files using the same template share the same GUID)
10
+
//public long BuildDateTime; // 0x0 for most files, 0xFFFF.. for TkGeometryData files, timestamp eg. 201607201542 (decimal) on global files and older MBINs, likely removed the code that set it at some stage
11
+
//public long TemplateGUID; // seems to be unique across templates (files using the same template share the same GUID)
12
+
[NMS(Size=0x10)]
13
+
publicstringTag;
11
14
12
15
[NMS(Size=0x40)]
13
16
publicstringTemplateName;
@@ -28,8 +31,10 @@ public void SetDefaults()
28
31
Version=2500;
29
32
30
33
// these two values aren't checked, so we can set them to whatever we like
0 commit comments