Skip to content

Commit 1a1f5fd

Browse files
committed
updated some previously unmapped structs
1 parent e429893 commit 1a1f5fd

13 files changed

+37
-23
lines changed

libMBIN/Source/NMS/GameComponents/GcCharacterCustomisationColourData.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ namespace libMBIN.NMS.GameComponents
66
[NMS(Size = 0x20, Alignment = 0x10, GUID = 0x5E7EC2D347D72B80, NameHash = 0x8AC0161286DB6A30)]
77
public class GcCharacterCustomisationColourData : NMSTemplate
88
{
9-
public TkPaletteTexture Palette;
10-
public Colour Colour;
9+
/* 0x00 */ public TkPaletteTexture Palette;
10+
/* 0x10 */ public Colour Colour;
1111
}
1212
}

libMBIN/Source/NMS/GameComponents/GcDeathStateData.cs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,12 @@
55

66
namespace libMBIN.NMS.GameComponents
77
{
8-
[NMS(Size = 0x160, GUID = 0x9EE2B8B24EB493DD, NameHash = 0x5B824AD343C4561E, Broken = true)]
8+
[NMS(Size = 0x160, GUID = 0x9EE2B8B24EB493DD, NameHash = 0x5B824AD343C4561E)]
99
public class GcDeathStateData : NMSTemplate
1010
{
11+
/* 0x00 */ public List<GcDeathQuote> Quotes;
12+
/* 0x10 */ public GcTextPreset ReasonFont;
13+
/* 0x80 */ public GcTextPreset QuoteFont;
14+
/* 0xF0 */ public GcTextPreset AuthorFont;
1115
}
1216
}

libMBIN/Source/NMS/GameComponents/GcHologramComponentData.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
namespace libMBIN.NMS.GameComponents
77
{
8-
[NMS(Size = 0x1, GUID = 0x430CE9935101F8E1, NameHash = 0x0F82082B5132B253, Broken = true)]
8+
[NMS(Size = 0x1, GUID = 0x430CE9935101F8E1, NameHash = 0x0F82082B5132B253)]
99
public class GcHologramComponentData : NMSTemplate
1010
{
1111
}
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
using System.Collections.Generic;
2-
31
using libMBIN.NMS.Toolkit;
42
using libMBIN.NMS.GameComponents;
53

64
namespace libMBIN.NMS.GameComponents
75
{
8-
[NMS(Size = 0xC, GUID = 0xB31D50FB41FDFFC1, NameHash = 0xF9B9838B50251311, Broken = true)]
6+
[NMS(Size = 0xC, GUID = 0xB31D50FB41FDFFC1, NameHash = 0xF9B9838B50251311)]
97
public class GcPlanetTerrainColour : NMSTemplate
108
{
9+
/* 0x0 */ public TkPaletteTexture Palette;
10+
/* 0x8 */ public int Index;
1111
}
1212
}

libMBIN/Source/NMS/GameComponents/GcStatsAchievements.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,10 @@
55

66
namespace libMBIN.NMS.GameComponents
77
{
8-
[NMS(Size = 0x4, GUID = 0x3831A5BA50281050, NameHash = 0xADDED46314D20DE5, Broken = true)]
8+
[NMS(Size = 0x4, GUID = 0x3831A5BA50281050, NameHash = 0xADDED46314D20DE5)]
99
public class GcStatsAchievements : NMSTemplate
1010
{
11+
public enum StatsAchievementsEnum { FirstWarp, FirstDiscovery };
12+
public StatsAchievementsEnum StatsAchievements;
1113
}
1214
}

libMBIN/Source/NMS/GameComponents/GcStatsOneShotTypes.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,10 @@
55

66
namespace libMBIN.NMS.GameComponents
77
{
8-
[NMS(Size = 0x4, GUID = 0xB1FDB156F65F0C69, NameHash = 0x32707F0D00335D4F, Broken = true)]
8+
[NMS(Size = 0x4, GUID = 0xB1FDB156F65F0C69, NameHash = 0x32707F0D00335D4F)]
99
public class GcStatsOneShotTypes : NMSTemplate
1010
{
11+
public enum StatsOneShotEnum { ShipLanded, ShipLaunched, ShipWarped, WeaponFired };
12+
public StatsOneShotEnum StatsOneShot;
1113
}
1214
}

libMBIN/Source/NMS/GameComponents/GcStatsValueTypes.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,10 @@
55

66
namespace libMBIN.NMS.GameComponents
77
{
8-
[NMS(Size = 0x4, GUID = 0xB4285EBDE23CA846, NameHash = 0x77560873BF71CDAB, Broken = true)]
8+
[NMS(Size = 0x4, GUID = 0xB4285EBDE23CA846, NameHash = 0x77560873BF71CDAB)]
99
public class GcStatsValueTypes : NMSTemplate
1010
{
11+
public enum StatsValueEnum { DistanceJetpacked, DistanceWalked, DistanceWarped, DamageSustained };
12+
public StatsValueEnum StatsValue;
1113
}
1214
}

libMBIN/Source/NMS/GameComponents/GcTerrainControls.cs

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,13 @@ namespace libMBIN.NMS.GameComponents
66
[NMS(Size = 0x78, GUID = 0x1E15DB90CA3FBF5B, NameHash = 0x2AD2911065D6EA2)]
77
public class GcTerrainControls : NMSTemplate
88
{
9-
public enum TerrainEnum { Base, Hill, Mountain, Rock, UnderWater, Texture, Elevation, Continent }
10-
[NMS(Size = 8, EnumType = typeof(TerrainEnum))]
9+
[NMS(Size = 8, EnumType = typeof(TkNoiseLayersEnum.NoiseLayerTypesEnum))]
1110
/* 0x00 */ public float[] NoiseLayers; // chance of this noise layer being active
12-
public enum ResourcesEnum { Small, Large, Resources_Heridium, Resources_Iridium, Resources_Copper, Resources_Nickel, Resources_Aluminium, Resources_Gold, Resources_Emeril }
13-
[NMS(Size = 9, EnumType = typeof(ResourcesEnum))]
11+
[NMS(Size = 9, EnumType = typeof(TkGridLayersEnum.GridLayerTypesEnum))]
1412
/* 0x20 */ public float[] GridLayers;
1513
[NMS(Size = 0x7, EnumType = typeof(TkFeaturesEnum.FeatureTypesEnum))]
1614
/* 0x44 */ public float[] Features; // chance of this kind of feature being active
17-
public enum UndergroundEnum { Underground }
18-
[NMS(Size = 1, EnumType = typeof(UndergroundEnum))]
15+
[NMS(Size = 1, EnumType = typeof(TkCavesEnum.CavesTypesEnum))]
1916
/* 0x60 */ public float[] Caves;
2017
/* 0x64 */ public float WaterActiveFrequency; // 3F4CCCCDh
2118
/* 0x68 */ public float HighWaterActiveFrequency; // 3E800000h

libMBIN/Source/NMS/GameComponents/GcValueData.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
namespace libMBIN.NMS.GameComponents
77
{
8-
[NMS(Size = 0x1, GUID = 0xD6C4FA9E090C6E6B, NameHash = 0x0D6E3107661FC336, Broken = true)]
8+
[NMS(Size = 0x1, GUID = 0xD6C4FA9E090C6E6B, NameHash = 0x0D6E3107661FC336)]
99
public class GcValueData : NMSTemplate
1010
{
1111
}

libMBIN/Source/NMS/Toolkit/TkCavesEnum.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,10 @@
55

66
namespace libMBIN.NMS.Toolkit
77
{
8-
[NMS(Size = 0x4, GUID = 0x12F71A6BF5C28E17, NameHash = 0x380AC5FAFC25FE69, Broken = true)]
8+
[NMS(Size = 0x4, GUID = 0x12F71A6BF5C28E17, NameHash = 0x380AC5FAFC25FE69)]
99
public class TkCavesEnum : NMSTemplate
1010
{
11+
public enum CavesTypesEnum { Underground }
12+
public CavesTypesEnum CavesTypes;
1113
}
1214
}

0 commit comments

Comments
 (0)