Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions libMBIN/Source/NMS/GameComponents/GcAlienPuzzleCategory.cs
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
namespace libMBIN.NMS.GameComponents
{
[NMS(GUID = 0x6EFB9CE8F381D999, NameHash = 0x6F13BCF9)]
[NMS(GUID = 0x8C24548B489A52D6, NameHash = 0x6F13BCF9)]
public class GcAlienPuzzleCategory : NMSTemplate
{
// size: 0x3C
// size: 0x3D
public enum AlienPuzzleCategoryEnum : uint {
Default,
GuildTraderNone,
Expand Down Expand Up @@ -49,6 +49,7 @@ public enum AlienPuzzleCategoryEnum : uint {
MoodVeryNegative,
Proc,
FirstAbandonedFreighter,
CompletedAbandonedFreighter,
StandardAbandonedFreighter,
BiomeSwamp,
BiomeLava,
Expand Down
2 changes: 1 addition & 1 deletion libMBIN/Source/NMS/GameComponents/GcAlienPuzzleEntry.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

namespace libMBIN.NMS.GameComponents
{
[NMS(GUID = 0x64FA488B35E2D8D4, NameHash = 0x35D4E04)]
[NMS(GUID = 0x4B669BEA18A49247, NameHash = 0x35D4E04)]
public class GcAlienPuzzleEntry : NMSTemplate
{
[NMS(Index = 2)]
Expand Down
2 changes: 1 addition & 1 deletion libMBIN/Source/NMS/GameComponents/GcAlienPuzzleTable.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

namespace libMBIN.NMS.GameComponents
{
[NMS(GUID = 0x8663429EE77474EA, NameHash = 0x3987E9FB)]
[NMS(GUID = 0xB8407E47EEBB0D7B, NameHash = 0x3987E9FB)]
public class GcAlienPuzzleTable : NMSTemplate
{
[NMS(Index = 0)]
Expand Down
46 changes: 24 additions & 22 deletions libMBIN/Source/NMS/GameComponents/GcGameTablePetData.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,46 +3,48 @@

namespace libMBIN.NMS.GameComponents
{
[NMS(GUID = 0x8457FC31F02845A2, NameHash = 0xA09640A7)]
[NMS(GUID = 0x122DCC046BC836B2, NameHash = 0xA09640A7)]
public class GcGameTablePetData : NMSTemplate
{
[NMS(Index = 14, Size = 0x5)]
/* 0x000 */ public GcPetBattlerMoveInitData[] MoveInitDataList;
[NMS(Index = 15, Size = 0x5)]
/* 0x000 */ public GcPetBattlerMoveInitData[] MoveInitDataList;
[NMS(Index = 16, Size = 0x5)]
/* 0x078 */ public NMSString0x10[] MovesList;
[NMS(Index = 4)]
[NMS(Index = 5)]
/* 0x0C8 */ public GcSeed BoneScaleSeed;
[NMS(Index = 3)]
[NMS(Index = 4)]
/* 0x0D8 */ public GcSeed ColourBaseSeed;
[NMS(Index = 7)]
[NMS(Index = 8)]
/* 0x0E8 */ public List<NMSString0x20A> Descriptors;
[NMS(Index = 9)]
[NMS(Index = 10)]
/* 0x0F8 */ public GcSeed DescriptorSecondarySeed;
[NMS(Index = 8)]
[NMS(Index = 9)]
/* 0x108 */ public GcSeed DescriptorSeed;
[NMS(Index = 0)]
/* 0x118 */ public NMSString0x10 ID;
[NMS(Index = 11)]
[NMS(Index = 12)]
/* 0x128 */ public GcSeed PetBattlerSeed;
[NMS(Index = 1)]
/* 0x138 */ public GcSeed Seed;
[NMS(Index = 18, Size = 0x3, EnumType = typeof(GcPetBattlerCoreStat.PetBattlerCoreStatEnum))]
[NMS(Index = 19, Size = 0x3, EnumType = typeof(GcPetBattlerCoreStat.PetBattlerCoreStatEnum))]
/* 0x148 */ public GcInventoryClass[] CoreStatClassOverrides;
[NMS(Index = 12, Size = 0x3, EnumType = typeof(GcPetBattlerCoreStat.PetBattlerCoreStatEnum))]
[NMS(Index = 13, Size = 0x3, EnumType = typeof(GcPetBattlerCoreStat.PetBattlerCoreStatEnum))]
/* 0x154 */ public int[] StatTreatsEaten;
[NMS(Index = 16, Size = 0x3, EnumType = typeof(GcCreaturePetTraits.PetTraitEnum))]
[NMS(Index = 17, Size = 0x3, EnumType = typeof(GcCreaturePetTraits.PetTraitEnum))]
/* 0x160 */ public float[] Traits;
[NMS(Index = 5)]
/* 0x16C */ public float Babify;
[NMS(Index = 6)]
/* 0x170 */ public float Scale;
[NMS(Index = 13)]
/* 0x174 */ public int ThumbnailIndex;
[NMS(Index = 10)]
/* 0x178 */ public NMSString0x20 Name;
/* 0x16C */ public float Babify;
[NMS(Index = 3)]
/* 0x170 */ public GcBiomeType Biome;
[NMS(Index = 7)]
/* 0x174 */ public float Scale;
[NMS(Index = 14)]
/* 0x178 */ public int ThumbnailIndex;
[NMS(Index = 11)]
/* 0x17C */ public NMSString0x20 Name;
[NMS(Index = 2)]
/* 0x198 */ public GcPetBattlerAffinity Affinity;
[NMS(Index = 17)]
/* 0x199 */ public bool UseCoreStatClassOverrides;
/* 0x19C */ public GcPetBattlerAffinity Affinity;
[NMS(Index = 18)]
/* 0x19D */ public bool UseCoreStatClassOverrides;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

namespace libMBIN.NMS.GameComponents
{
[NMS(GUID = 0x8901A0C0AD40A31E, NameHash = 0x7FD50C85)]
[NMS(GUID = 0x90039DA87C9130F5, NameHash = 0x7FD50C85)]
public class GcGenericMissionSequence : NMSTemplate
{
[NMS(Index = 24)]
Expand Down
49 changes: 26 additions & 23 deletions libMBIN/Source/NMS/GameComponents/GcMeltdownComponentData.cs
Original file line number Diff line number Diff line change
@@ -1,45 +1,48 @@
using libMBIN.NMS.GameComponents;
using System.Collections.Generic;

namespace libMBIN.NMS.GameComponents
{
[NMS(GUID = 0x2E98B0AD6595E384, NameHash = 0x993C48D6)]
[NMS(GUID = 0x537B5C780C05F15D, NameHash = 0x993C48D6)]
public class GcMeltdownComponentData : NMSTemplate
{
[NMS(Index = 11)]
[NMS(Index = 12)]
/* 0x00 */ public NMSString0x20A WarningMessage;
[NMS(Index = 10)]
[NMS(Index = 11)]
/* 0x20 */ public NMSString0x10 AreaDamage;
[NMS(Index = 10)]
/* 0x30 */ public List<NMSString0x10> BlockingMissionIds;
[NMS(Index = 0)]
/* 0x30 */ public float Duration;
/* 0x40 */ public float Duration;
[NMS(Index = 1)]
/* 0x34 */ public float DurationRandomAddition;
/* 0x44 */ public float DurationRandomAddition;
[NMS(Index = 3)]
/* 0x38 */ public float MaxArcingDelay;
/* 0x48 */ public float MaxArcingDelay;
[NMS(Index = 5)]
/* 0x3C */ public float MaxExplosionDelay;
[NMS(Index = 13)]
/* 0x40 */ public GcAudioWwiseEvents MeltdownAlarmAudio;
/* 0x4C */ public float MaxExplosionDelay;
[NMS(Index = 14)]
/* 0x50 */ public GcAudioWwiseEvents MeltdownAlarmAudio;
[NMS(Index = 8)]
/* 0x44 */ public float MeltdownMaxRoll;
/* 0x54 */ public float MeltdownMaxRoll;
[NMS(Index = 7)]
/* 0x48 */ public float MeltdownMinRoll;
[NMS(Index = 12)]
/* 0x4C */ public GcAudioWwiseEvents MeltdownStartAudio;
/* 0x58 */ public float MeltdownMinRoll;
[NMS(Index = 13)]
/* 0x5C */ public GcAudioWwiseEvents MeltdownStartAudio;
[NMS(Index = 2)]
/* 0x50 */ public float MinArcingDelay;
/* 0x60 */ public float MinArcingDelay;
[NMS(Index = 4)]
/* 0x54 */ public float MinExplosionDelay;
/* 0x64 */ public float MinExplosionDelay;
[NMS(Index = 6)]
/* 0x58 */ public float PressureDecayRate;
/* 0x68 */ public float PressureDecayRate;
[NMS(Index = 9)]
/* 0x5C */ public float WarningRadius;
[NMS(Index = 16)]
/* 0x60 */ public NMSString0x20 ArcNodeName;
/* 0x6C */ public float WarningRadius;
[NMS(Index = 17)]
/* 0x80 */ public NMSString0x20 ExplosionNodeName;
[NMS(Index = 14)]
/* 0xA0 */ public NMSString0x20 FlashLightNodeName;
/* 0x70 */ public NMSString0x20 ArcNodeName;
[NMS(Index = 18)]
/* 0x90 */ public NMSString0x20 ExplosionNodeName;
[NMS(Index = 15)]
/* 0xC0 */ public NMSString0x20 SpinLightNodeName;
/* 0xB0 */ public NMSString0x20 FlashLightNodeName;
[NMS(Index = 16)]
/* 0xD0 */ public NMSString0x20 SpinLightNodeName;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,16 @@

namespace libMBIN.NMS.GameComponents
{
[NMS(GUID = 0x2FEF87FFA629C21C, NameHash = 0xD9D7367B)]
[NMS(GUID = 0xF977893C581A9F6A, NameHash = 0xD9D7367B)]
public class GcMissionConditionHasSettlementBuilding : NMSTemplate
{
[NMS(Index = 0)]
/* 0x0 */ public GcBuildingClassification BuildingClass;
[NMS(Index = 2)]
/* 0x0 */ public GcInventoryClass MinimumClass;
[NMS(Index = 1)]
/* 0x1 */ public bool RequireComplete;
/* 0x4 */ public bool AnyBuildingClass;
[NMS(Index = 0)]
/* 0x5 */ public GcBuildingClassification BuildingClass;
[NMS(Index = 3)]
/* 0x6 */ public bool RequireComplete;
}
}
2 changes: 1 addition & 1 deletion libMBIN/Source/NMS/GameComponents/GcMissionTable.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

namespace libMBIN.NMS.GameComponents
{
[NMS(GUID = 0x41FAC06CAF38EEBA, NameHash = 0x4E2556EB)]
[NMS(GUID = 0x6330F7D240F652CB, NameHash = 0x4E2556EB)]
public class GcMissionTable : NMSTemplate
{
[NMS(Index = 0, KeyField = "MissionID")]
Expand Down
19 changes: 11 additions & 8 deletions libMBIN/Source/NMS/GameComponents/GcNetworkOwnershipPriority.cs
Original file line number Diff line number Diff line change
@@ -1,16 +1,19 @@
namespace libMBIN.NMS.GameComponents
{
[NMS(GUID = 0xBBE48213EFB37E58, NameHash = 0x94497FE7)]
[NMS(GUID = 0x63D492675A119CD5, NameHash = 0x94497FE7)]
public class GcNetworkOwnershipPriority : NMSTemplate
{
// size: 0x6
// size: 0x9
public enum NetworkOwnershipPriorityEnum : byte {
Lowest,
CargoAttractedByAttractor,
CargoInScrapyard,
CargoOnTruckBed,
CargoGrabbedByGravLaser,
Highest,
None = 0x0,
CargoAttractedByAttractor = 0x1,
CargoInScrapyard = 0x2,
CargoInVehicle = 0x4,
CargoHoveredByGravLaser = 0x8,
CargoInContactWithPlayer = 0x10,
CargoGrabbedByGravLaser = 0x20,
IsBeingInteractedWith = 0x40,
OwnedAndAbsolutelyBlocked = 0x80,
}
[NMS(Index = 0)]
/* 0x0 */ public NetworkOwnershipPriorityEnum NetworkOwnershipPriority;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

namespace libMBIN.NMS.GameComponents
{
[NMS(GUID = 0xCEF0AAE8337E4725, NameHash = 0xB0C9B25F)]
[NMS(GUID = 0xB98FC34A6CEE4743, NameHash = 0xB0C9B25F)]
public class GcPhysicsCollisionGroupCollidesWith : NMSTemplate
{
[NMS(Index = 1)]
Expand Down
6 changes: 4 additions & 2 deletions libMBIN/Source/NMS/GameComponents/GcPhysicsCollisionGroups.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@

namespace libMBIN.NMS.GameComponents
{
[NMS(GUID = 0x935DD87C50B68110, NameHash = 0x6A2D4F5A)]
[NMS(GUID = 0x5EC82AAA9D1660DB, NameHash = 0x6A2D4F5A)]
public class GcPhysicsCollisionGroups : NMSTemplate
{
// size: 0x55
// size: 0x57
[Flags]
public enum CollisionGroupEnum : uint {
Normal,
Expand All @@ -18,6 +18,7 @@ public enum CollisionGroupEnum : uint {
Asteroid,
Player,
NetworkPlayer,
NetworkPlayerNoCargoPermission,
NPC,
Ragdoll,
Vehicle,
Expand All @@ -34,6 +35,7 @@ public enum CollisionGroupEnum : uint {
Shield,
Loot,
PlayerMovableObject,
NetworkedObjectNoPermission,
SolarSystemMapObject,
CollidesWithNothing,
CollidesWithEverything,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

namespace libMBIN.NMS.GameComponents
{
[NMS(GUID = 0xEAA4605D167A807A, NameHash = 0xF5EE5140)]
[NMS(GUID = 0xB05F67CFA2D11F0C, NameHash = 0xF5EE5140)]
public class GcPhysicsCollisionTable : NMSTemplate
{
[NMS(Index = 0)]
Expand Down
10 changes: 6 additions & 4 deletions libMBIN/Source/NMS/GameComponents/GcStatDefinition.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

namespace libMBIN.NMS.GameComponents
{
[NMS(GUID = 0x21EAC944D6795ECB, NameHash = 0xFC87DBA4)]
[NMS(GUID = 0x5E22C381DC23B8C8, NameHash = 0xFC87DBA4)]
public class GcStatDefinition : NMSTemplate
{
[NMS(Index = 4)]
Expand All @@ -11,15 +11,17 @@ public class GcStatDefinition : NMSTemplate
/* 0x10 */ public GcStatValueData DefaultValue;
[NMS(Index = 2)]
/* 0x1C */ public GcStatDisplayType DisplayType;
[NMS(Index = 7)]
[NMS(Index = 8)]
/* 0x20 */ public int MissionMessageDecimals;
[NMS(Index = 1)]
/* 0x24 */ public GcStatTrackType TrackType;
[NMS(Index = 0)]
/* 0x28 */ public GcStatType Type;
[NMS(Index = 7)]
/* 0x2C */ public bool AllowRemoteRecord;
[NMS(Index = 6)]
/* 0x2C */ public bool IsProgression;
/* 0x2D */ public bool IsProgression;
[NMS(Index = 5)]
/* 0x2D */ public bool TelemetryUpload;
/* 0x2E */ public bool TelemetryUpload;
}
}
2 changes: 1 addition & 1 deletion libMBIN/Source/NMS/GameComponents/GcStatDefinitionTable.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

namespace libMBIN.NMS.GameComponents
{
[NMS(GUID = 0xA233C7964CE4F884, NameHash = 0x26731382)]
[NMS(GUID = 0x36F9C683CBE9EC0C, NameHash = 0x26731382)]
public class GcStatDefinitionTable : NMSTemplate
{
[NMS(Index = 0)]
Expand Down
7 changes: 0 additions & 7 deletions libMBIN/Source/NMS/GameComponents/GcUniqueIdComponentData.cs

This file was deleted.

2 changes: 1 addition & 1 deletion libMBIN/Source/NMS/Globals/GcCollisionTable.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

namespace libMBIN.NMS.Globals
{
[NMS(GUID = 0x8B34108E4904141D, NameHash = 0x36E3583)]
[NMS(GUID = 0xE569503D1DADCA5D, NameHash = 0x36E3583)]
public class GcCollisionTable : NMSTemplate
{
[NMS(Index = 0)]
Expand Down
Loading
Loading