Skip to content

Commit c827324

Browse files
committed
Got the Customisation UI file decompiling. Also animation files will now show the correct data.
1 parent 26cbacf commit c827324

23 files changed

+271
-93
lines changed

libMBIN/Source/Models/Structs/GcAtlasMonument.cs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
1-
using System.Collections.Generic;
2-
3-
namespace libMBIN.Models.Structs
1+
namespace libMBIN.Models.Structs
42
{
5-
[NMS(Size = 0x110)]
3+
[NMS(Size = 0x190)]
64
public class GcAtlasMonument : NMSTemplate
75
{
86
/* 0x000 */ public GcUniverseAddressData UniverseAddress;
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
namespace libMBIN.Models.Structs
2+
{
3+
[NMS(Size = 0x1A0)]
4+
public class GcAtlasRecvMonumentList : NMSTemplate
5+
{
6+
public ulong ClientUserdata;
7+
public int NumberOfThings;
8+
[NMS(Size = 0x4, Ignore = true)]
9+
public byte[] PaddingC;
10+
public GcAtlasMonument Mounments;
11+
}
12+
}
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
using System.Collections.Generic;
2+
3+
namespace libMBIN.Models.Structs
4+
{
5+
[NMS(Size = 0x40)]
6+
public class GcCustomisationBoneScales : NMSTemplate
7+
{
8+
[NMS(Size = 0x20)]
9+
public string GroupTitle;
10+
[NMS(Size = 0x10)]
11+
public string ScaleBoneName;
12+
public List<float> Positions;
13+
}
14+
}
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
namespace libMBIN.Models.Structs
2+
{
3+
[NMS(Size = 0x34)]
4+
public class GcCustomisationCameraData : NMSTemplate
5+
{
6+
public int InteractionCameraIndex;
7+
[NMS(Size = 0x20)]
8+
public string InteracttionCameraFocusJoint;
9+
public float MinPitch;
10+
public float MaxPitch;
11+
public float MinYaw;
12+
public float MaxYaw;
13+
}
14+
}

libMBIN/Source/Models/Structs/GcCustomisationDescriptorGroups.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@ namespace libMBIN.Models.Structs
55
[NMS(Size = 0x10)]
66
public class GcCustomisationDescriptorGroups : NMSTemplate
77
{
8-
public List<GcCustomisationDescriptorGroup> DescriptorGroups;
8+
public List<GcCustomisationDescriptorGroupOptions> DescriptorGroups;
99
}
1010
}
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
using System.Collections.Generic;
2+
3+
namespace libMBIN.Models.Structs
4+
{
5+
[NMS(Size = 0xA8)]
6+
public class GcCustomisationGroup : NMSTemplate
7+
{
8+
[NMS(Size = 0x10)]
9+
/* 0x00 */ public string GroupID;
10+
[NMS(Size = 0x20)]
11+
/* 0x10 */ public string GroupTitle;
12+
/* 0x30 */ public GcCustomisationCameraData CameraData;
13+
[NMS(Size = 0x4, Ignore = true)]
14+
/* 0x64 */ public byte[] Padding64;
15+
/* 0x68 */ public GcCustomisationDescriptorGroups DescriptorOptions;
16+
/* 0x78 */ public List<GcCustomisationTextureGroup> TextureGroups;
17+
/* 0x88 */ public List<GcCustomisationColourGroup> ColourGroups;
18+
/* 0x98 */ public List<GcCustomisationBoneScales> BoneScales;
19+
}
20+
}
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
using System.Collections.Generic;
2+
3+
namespace libMBIN.Models.Structs
4+
{
5+
[NMS(Size = 0x10)]
6+
public class GcCustomisationGroups : NMSTemplate
7+
{
8+
public List<GcCustomisationGroup> CustomisationGroups;
9+
}
10+
}
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
using System.Collections.Generic;
2+
3+
namespace libMBIN.Models.Structs
4+
{
5+
[NMS(Size = 0x38)]
6+
public class GcCustomisationRace : NMSTemplate
7+
{
8+
[NMS(Size = 0x10)]
9+
/* 0x00 */ public string DescriptorGroupOption;
10+
/* 0x10 */ public bool IsGek;
11+
/* 0x14 */ public float Scale;
12+
/* 0x18 */ public GcCustomisationGroups CustomisationGroups;
13+
/* 0x28 */ public List<NMSString0x10> Presets;
14+
}
15+
}
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
using System.Collections.Generic;
2+
3+
namespace libMBIN.Models.Structs
4+
{
5+
[NMS(Size = 0xD3A0)]
6+
public class GcCustomisationUI : NMSTemplate
7+
{
8+
/* 0x00 */ public GcCustomisationCameraData RacesCameraData;
9+
[NMS(Size = 0x4, Ignore = true)]
10+
/* 0x34 */ public byte[] Padding34;
11+
/* 0x38 */ public List<GcCustomisationRace> Races;
12+
/* 0x48 */ public GcCustomisationGroups Common;
13+
[NMS(Size = 0x8, Ignore = true)]
14+
/* 0x58 */ public byte[] Padding58;
15+
/* 0x60 */ public GcPaletteList CustomisationColours; // maybe??
16+
}
17+
}
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
namespace libMBIN.Models.Structs
2+
{
3+
[NMS(Size = 0x770A0)]
4+
public class GcCustomisationUIData : NMSTemplate
5+
{
6+
[NMS(Size = 0x9)]
7+
public GcCustomisationUI[] CustomisationUIData;
8+
}
9+
}

0 commit comments

Comments
 (0)