Skip to content

Commit e429893

Browse files
HolterPhylomonkeyman192
authored andcommitted
Updated GcRealityManagerData
Updated GcRealityManagerData
1 parent e7a9dd4 commit e429893

7 files changed

Lines changed: 43 additions & 39 deletions

File tree

libMBIN/Source/NMS/GameComponents/GcDamageMultiplier.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33

44
namespace libMBIN.NMS.GameComponents
55
{
6-
[NMS(GUID = 0x14E7F177E598645, NameHash = 0xB387E3560FAA5681)]
6+
[NMS(Size = 0x8, GUID = 0x014E7F177E598645, NameHash = 0xB387E3560FAA5681)]
77
public class GcDamageMultiplier : NMSTemplate
88
{
9-
public GcDamageType Type;
10-
public float Multiplier;
9+
/* 0x00 */ public GcDamageType Type;
10+
/* 0x04 */ public float Multiplier;
1111
}
1212
}

libMBIN/Source/NMS/GameComponents/GcDamageMultiplierLookup.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@ public class GcDamageMultiplierLookup : NMSTemplate
1010
{
1111

1212
[NMS(Size = 0x10)]
13-
public string Id;
14-
public float Default;
13+
/* 0x00 */ public string Id;
14+
/* 0x10 */ public float Default;
1515
[NMS(Size = 0x4, Ignore = true)]
16-
public byte[] Padding14;
17-
public List<GcDamageMultiplier> Multipliers;
16+
/* 0x14 */ public byte[] Padding14;
17+
/* 0x18 */ public List<GcDamageMultiplier> Multipliers;
1818
}
1919
}

libMBIN/Source/NMS/GameComponents/GcDamageType.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@ namespace libMBIN.NMS.GameComponents
66
[NMS(GUID = 0xF03F99B8CA594022, NameHash = 0xCD0F83EA324443E1)]
77
public class GcDamageType : NMSTemplate
88
{
9-
public enum DamageTypeEnum { Gun, Laser, Shotgun, Burst, Rail, Explosion, Melee, ShipGun, ShipLaser, ShipShotgun, ShipMinigun, ShipRockets,
9+
// 0x14 entries
10+
public enum DamageTypeEnum { Gun, Laser, Shotgun, Burst, Rail, Explosion, Melee, ShipGun, ShipLaser, ShipShotgun, ShipMinigun, ShipRockets,
1011
ShipPlasma, VehicleGun, VehicleLaser, SentinelLaser, PlayerDamage, PlayerWeapons, ShipWeapons, VehicleWeapons }
1112
public DamageTypeEnum DamageType;
1213
}

libMBIN/Source/NMS/GameComponents/GcRealityIcon.cs

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

44
namespace libMBIN.NMS.GameComponents
55
{
6-
[NMS(Size = 0xA8, GUID = 0xB7E4C05058F97337, NameHash = 0x28AB5E6C29FCA8E5)]
6+
[NMS(Alignment = 0x8, Size = 0xA8, GUID = 0xB7E4C05058F97337, NameHash = 0x28AB5E6C29FCA8E5)]
77
public class GcRealityIcon : NMSTemplate
88
{
99
[NMS(Size = 0x20)]

libMBIN/Source/NMS/GameComponents/GcRealityManagerData.cs

Lines changed: 31 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -48,68 +48,68 @@ public class GcRealityManagerData : NMSTemplate
4848
[NMS(Size = 0x80)]
4949
/* 0x0798 */ public string AlienWordsTable;
5050
/* 0x0818 */ public List<NMSString0x80> AlienPuzzlesTables;
51-
[NMS(Size = 0x64, EnumType = typeof(GcInteractionType.InteractionTypeEnum))]
51+
[NMS(Size = 0x65, EnumType = typeof(GcInteractionType.InteractionTypeEnum))]
5252
/* 0x0828 */ public bool[] LoopInteractionPuzzles;
53-
[NMS(Size = 0x64, EnumType = typeof(GcInteractionType.InteractionTypeEnum))]
54-
/* 0x088C */ public int[] InteractionPuzzlesIndexTypes;
53+
[NMS(Size = 0x65, EnumType = typeof(GcInteractionType.InteractionTypeEnum))]
54+
/* 0x0890 */ public int[] InteractionPuzzlesIndexTypes;
5555
[NMS(Size = 0x7, EnumType = typeof(GcWeightingCurve.WeightingCurveEnum))]
56-
/* 0x0A1C */ public TkCurveType[] WeightingCurves;
57-
/* 0x0A38 */ public List<GcDamageMultiplierLookup> DamageMultiplierTable;
56+
/* 0x0A24 */ public TkCurveType[] WeightingCurves;
57+
/* 0x0A40 */ public List<GcDamageMultiplierLookup> DamageMultiplierTable;
5858
[NMS(Size = 0x80)]
59-
/* 0x0A48 */ public string RewardTable;
59+
/* 0x0A50 */ public string RewardTable;
6060
[NMS(Size = 0x80)]
61-
/* 0x0AC8 */ public string DiscoveryRewardTable;
61+
/* 0x0AD0 */ public string DiscoveryRewardTable;
6262
[NMS(Size = 0x80)]
63-
/* 0x0B48 */ public string InventoryTable;
63+
/* 0x0B50 */ public string InventoryTable;
6464
[NMS(Size = 0x80)]
65-
/* 0x0BC8 */ public string DamageTable;
65+
/* 0x0BD0 */ public string DamageTable;
6666
[NMS(Size = 0x80)]
67-
/* 0x0C48 */ public string PurchaseableBuildingBlueprintsTable;
67+
/* 0x0C50 */ public string PurchaseableBuildingBlueprintsTable;
6868
[NMS(Size = 0x80)]
69-
/* 0x0CC8 */ public string PurchaseableSpecialsTable;
69+
/* 0x0CD0 */ public string PurchaseableSpecialsTable;
7070
[NMS(Size = 0x80)]
71-
/* 0x0D48 */ public string CostTable;
71+
/* 0x0D50 */ public string CostTable;
7272
[NMS(Size = 0x80)]
73-
/* 0x0DC8 */ public string TradingCostTable;
73+
/* 0x0DD0 */ public string TradingCostTable;
7474
[NMS(Size = 0x80)]
75-
/* 0x0E48 */ public string TradingClassDataTable;
75+
/* 0x0E50 */ public string TradingClassDataTable;
7676
[NMS(Size = 0x80)]
77-
/* 0x0EC8 */ public string MaintenanceGroupsTable;
77+
/* 0x0ED0 */ public string MaintenanceGroupsTable;
7878
[NMS(Size = 0x80)]
79-
/* 0x0F48 */ public string UnlockableItemTrees;
80-
/* 0x0FC8 */ public List<GcFreighterCargoOption> FreighterCargoOptions;
79+
/* 0x0F50 */ public string UnlockableItemTrees;
80+
/* 0x0FD0 */ public List<GcFreighterCargoOption> FreighterCargoOptions;
8181

8282
[NMS(Size = 0x7, EnumType = typeof(GcShipWeapons.ShipWeaponEnum))]
83-
/* 0x0FD8 */ public GcShipWeaponData[] ShipWeapons;
83+
/* 0x0FE0 */ public GcShipWeaponData[] ShipWeapons;
8484

8585
[NMS(Size = 0xA, EnumType = typeof(GcPlayerWeapons.WeaponModeEnum))]
86-
/* 0x1198 */ public GcPlayerWeaponData[] PlayerWeapons;
86+
/* 0x11A0 */ public GcPlayerWeaponData[] PlayerWeapons;
8787

8888
[NMS(Size = 0x6, EnumType = typeof(GcVehicleType.VehicleTypeEnum))]
89-
/* 0x1238 */ public TkIDArray[] DefaultVehicleLoadout;
89+
/* 0x1240 */ public TkIDArray[] DefaultVehicleLoadout;
9090

9191
[NMS(Size = 0x8, EnumType = typeof(GcAlienRace.AlienRaceEnum))]
92-
/* 0x1298 */ public NMSString0x10[] FactionStandingIDs;
92+
/* 0x12A0 */ public NMSString0x10[] FactionStandingIDs;
9393

9494
[NMS(Size = 0x8, EnumType = typeof(GcAlienRace.AlienRaceEnum))]
95-
/* 0x1318 */ public NMSString0x20[] FactionNames;
95+
/* 0x1320 */ public NMSString0x20[] FactionNames;
9696

9797
[NMS(Size = 0x8, EnumType = typeof(GcAlienRace.AlienRaceEnum))]
98-
/* 0x1418 */ public GcNumberedTextList[] FactionClients;
98+
/* 0x1420 */ public GcNumberedTextList[] FactionClients;
9999

100100
[NMS(Size = 0xB, EnumType = typeof(GcMissionType.MissionTypeEnum))]
101-
/* 0x1538 */ public GcNumberedTextList[] MissionNameFormats;
101+
/* 0x1540 */ public GcNumberedTextList[] MissionNameFormats;
102102

103103
[NMS(Size = 0xB, EnumType = typeof(GcMissionType.MissionTypeEnum))]
104-
/* 0x16C4 */ public GcNumberedTextList[] MissionNameAdjectives;
104+
/* 0x16CC */ public GcNumberedTextList[] MissionNameAdjectives;
105105

106106
[NMS(Size = 0xB, EnumType = typeof(GcMissionType.MissionTypeEnum))]
107-
/* 0x1850 */ public GcNumberedTextList[] MissionNameNouns;
107+
/* 0x1858 */ public GcNumberedTextList[] MissionNameNouns;
108108

109109
[NMS(Size = 0x3, EnumType = typeof(GcRarity.RarityEnum))]
110-
/* 0x19DC */ public float[] WeightedTextWeights;
110+
/* 0x19E4 */ public float[] WeightedTextWeights;
111111

112-
/* 0x19E8 */ public GcRealityIconTable Icons;
112+
/* 0x19F0 */ public GcRealityIconTable Icons;
113113

114114
[NMS(Size = 0x6, EnumType = typeof(GcPlayerHazardType.HazardEnum))]
115115
/* 0x63F0 */ public Colour[] HazardColours;
@@ -126,6 +126,9 @@ public class GcRealityManagerData : NMSTemplate
126126
[NMS(Size = 0x92, EnumType = typeof(GcStatsTypes.StatsTypeEnum))]
127127
/* 0x69B4 */ public TkTextureResource[] StatCategoryIcons;
128128

129+
[NMS(Size = 0x4, Ignore = true)]
130+
/* 0xB4FC */ public byte[] PaddingB4FC;
131+
129132
public enum PossessionEnum { Suit, Weapon, Ship, Freighter, Vehicle }
130133
[NMS(Size = 0x5, EnumType = typeof(PossessionEnum))]
131134
/* 0xB500 */ public GcStats[] Stats;

libMBIN/Source/NMS/GameComponents/GcWeightingCurve.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ namespace libMBIN.NMS.GameComponents
66
[NMS(GUID = 0xC3B3509D53536EAB, NameHash = 0xB33B21B3131CD08D)]
77
public class GcWeightingCurve : NMSTemplate
88
{
9-
9+
// 0x07 entries
1010
public enum WeightingCurveEnum { NoWeighting, MaxIsUncommon, MaxIsRare, MaxIsSuperRare, MinIsUncommon, MinIsRare, MinIsSuperRare }
1111
public WeightingCurveEnum WeightingCurve;
1212
}

libMBIN/Source/NMS/Toolkit/TkCurveType.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ namespace libMBIN.NMS.Toolkit
66
[NMS(GUID = 0x1A6FF072DB629119, NameHash = 0x48849654049904EA)]
77
public class TkCurveType : NMSTemplate
88
{
9-
9+
// 0x28 entries
1010
public enum CurveEnum { Linear, SmoothInOut, FastInSlowOut, BellSquared, Squared, Cubed, Logarithmic, SlowIn, SlowOut, ReallySlowOut, SmootherStep, SmoothFastInSlowOut, SmoothSlowInFastOut, EaseInSine, EaseOutSine, EaseInOutSine, EaseInQuad, EaseOutQuad, EaseInOutQuad, EaseInQuart, EaseOutQuart, EaseInOutQuart, EaseInQuint, EaseOutQuint, EaseInOutQuint, EaseInExpo, EaseOutExpo, EaseInOutExpo, EaseInCirc, EaseOutCirc, EaseInOutCirc, EaseInBack, EaseOutBack, EaseInOutBack, EaseInElastic, EaseOutElastic, EaseInOutElastic, EaseInBounce, EaseOutBounce, EaseInOutBounce }
1111
public CurveEnum Curve;
1212
}

0 commit comments

Comments
 (0)