Skip to content

Commit

Permalink
defaultsave and defaultreality now decompile
Browse files Browse the repository at this point in the history
  • Loading branch information
monkeyman192 committed Oct 31, 2018
1 parent 80f925d commit fb8b8c8
Show file tree
Hide file tree
Showing 8 changed files with 221 additions and 213 deletions.
5 changes: 3 additions & 2 deletions libMBIN/Source/NMS/GameComponents/GcFiendCrimeSpawnData.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,10 @@ public class GcFiendCrimeSpawnData : NMSTemplate
/* 0x00 */ public GcCreatureTypes Type;
/* 0x04 */ public float MinDist;
/* 0x08 */ public float MaxDist;
[NMS(Size = 0x6)]
// I *think* these are the enums...
[NMS(Size = 0x6, EnumValue = new string[] { "None", "EggDamaged", "EggDestroyed", "EggCollected", "UnderwaterPropDamaged", "UnderwaterPropCollected" })]
/* 0x0C */ public int[] MinNum;
[NMS(Size = 0x6)]
[NMS(Size = 0x6, EnumValue = new string[] { "None", "EggDamaged", "EggDestroyed", "EggCollected", "UnderwaterPropDamaged", "UnderwaterPropCollected" })]
/* 0x24 */ public int[] MaxNum;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

namespace libMBIN.NMS.GameComponents
{
[NMS(Size = 0x1E0, GUID = 0xA1B11503216EE29)]
[NMS(Size = 0x1E0, GUID = 0x401E6C503B86AA63)]
public class GcInteractionComponentData : NMSTemplate
{
public enum InteractionActionEnum { PressButton, HoldButton, Shoot }
Expand Down
21 changes: 11 additions & 10 deletions libMBIN/Source/NMS/GameComponents/GcInteractionType.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,19 @@

namespace libMBIN.NMS.GameComponents
{
[NMS(GUID = 0x18F9EA403B5B0C73)]
[NMS(GUID = 0x947696F2527572A3)]
public class GcInteractionType : NMSTemplate
{
public enum InteractionTypeEnum { None, Shop, NPC, NPC_Secondary, NPC_Anomaly, NPC_Anomaly_Secondary, Ship, Outpost, SpaceStation, RadioTower, Monolith,
Factory, AbandonedShip, Harvester, Observatory, TradingPost, DistressBeacon, Portal, Plaque, AtlasStation, AbandonedBuildings,WeaponTerminal,
SuitTerminal, SignalScanner, Teleporter_Base, Teleporter_Station, ClaimBase, NPC_Freighter_Captain, NPC_HIRE_Weapons,NPC_HIRE_Weapons_Wait,
NPC_HIRE_Farmer, NPC_HIRE_Farmer_Wait, NPC_HIRE_Builder, NPC_HIRE_Builder_Wait, NPC_HIRE_Vehicles,NPC_HIRE_Vehicles_Wait, MessageBeacon,
NPC_HIRE_Scientist, NPC_HIRE_Scientist_Wait, NPC_Recruit, NPC_Freighter_Captain_Secondary, NPC_Recruit_Secondary, Vehicle, MessageModule,
TechShop, VehicleRaseStart, BuildingShop, MissionGiver, HoloHub, HoloExplorer, HoloSceptic, HoloNoone, PortalRunEntry, PortalActivate, CrashedFreighter,
GraveInCave, GlitchyStroyBox, NetworkPlayer, NetworkMonument, AnomalyComputer, AtlasPlinth, Epilogue, GuildEnvoy, ManageFleet, ManageExpeditions,
Frigate, CustomiseCharacter, CustomiseShip, CustomiseWeapon, CustomiseVehicle, ClaimBaseAnywhere, FleetNavigator, FleetCommandPost, StoryUtility,
MPMissionGiver, SpecialsShop, CUSTOMINTERACTION1, CUSTOMINTERACTION2, CUSTOMINTERACTION3, CUSTOMINTERACTION4, CUSTOMINTERACTION5 }
public enum InteractionTypeEnum { None, Shop, NPC, NPC_Secondary, NPC_Anomaly, NPC_Anomaly_Secondary, Ship, Outpost, SpaceStation,
RadioTower, Monolith, Factory, AbandonedShip, Harvester, Observatory, TradingPost, DistressBeacon, Portal, Plaque, AtlasStation,
AbandonedBuildings, WeaponTerminal, SuitTerminal, SignalScanner, Teleporter_Base, Teleporter_Station, ClaimBase, NPC_Freighter_Captain,
NPC_HIRE_Weapons, NPC_HIRE_Weapons_Wait, NPC_HIRE_Farmer, NPC_HIRE_Farmer_Wait, NPC_HIRE_Builder, NPC_HIRE_Builder_Wait, NPC_HIRE_Vehicles,
NPC_HIRE_Vehicles_Wait, MessageBeacon, NPC_HIRE_Scientist, NPC_HIRE_Scientist_Wait, NPC_Recruit, NPC_Freighter_Captain_Secondary,
NPC_Recruit_Secondary, Vehicle, MessageModule, TechShop, VehicleRaceStart, BuildingShop, MissionGiver, HoloHub, HoloExplorer,
HoloSceptic, HoloNoone, PortalRuneEntry, PortalActivate, CrashedFreighter, GraveInCave, GlitchyStoryBox, NetworkPlayer,
NetworkMonument, AnomalyComputer, AtlasPlinth, Epilogue, GuildEnvoy, ManageFleet, ManageExpeditions, Frigate, CustomiseCharacter,
CustomiseShip, CustomiseWeapon, CustomiseVehicle, ClaimBaseAnywhere, FleetNavigator, FleetCommandPost, StoryUtility, MPMissionGiver,
SpecialsShop, WaterRuin, CUSTOMINTERACTION1, CUSTOMINTERACTION2, CUSTOMINTERACTION3, CUSTOMINTERACTION4, CUSTOMINTERACTION5 }
public InteractionTypeEnum InteractionType;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,12 @@

namespace libMBIN.NMS.GameComponents
{
[NMS(Size = 0x618, GUID = 0x1AF5AACC7C3221AB)]
[NMS(Size = 0x690, GUID = 0xA444343A8262A49C)]
public class GcPlayerCharacterStateTable : NMSTemplate
{
[NMS(Size = 0xA, EnumValue = new[] { "Idle", "Jog", "JogUphill", "JogDownhill", "SteepSlope", "Sliding", "Run", "Airborne", "JetpackBoost", "RocketBoost", "Swimming", "Death", "FullBodyOverride" })]
// enum struct: GcPlayerCharacterStateType
[NMS(Size = 0xB, EnumValue = new[] { "Idle", "Jog", "JogUphill", "JogDownhill", "SteepSlope", "Sliding", "Run", "Airborne", "JetpackBoost",
"RocketBoost", "Swimming", "SwimmingJetpack", "Death", "FullBodyOverride" })]
public GcPlayerCharacterState[] CharacterStates;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,11 @@

namespace libMBIN.NMS.GameComponents
{
[NMS(GUID = 0x1A1581EE742BF23E, Broken = true)]
[NMS(GUID = 0x891E4FD66AF8A242)]
public class GcPlayerCharacterStateType : NMSTemplate
{
public enum CharacterStateEnum { Idle, Jog, JogUphill, JogDownhill, SteepSlope, Sliding, Run, Airborne, JetpackBoost, RocketBoost, Swimming, Death, FullBodyOverride }
public enum CharacterStateEnum { Idle, Jog, JogUphill, JogDownhill, SteepSlope, Sliding, Run, Airborne, JetpackBoost, RocketBoost,
Swimming, SwimmingJetpack, Death, FullBodyOverride }
public CharacterStateEnum CharacterState;
}
}
Loading

0 comments on commit fb8b8c8

Please sign in to comment.