forked from emoose/MBINCompiler
-
Notifications
You must be signed in to change notification settings - Fork 50
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
... still lot's to go. This should do a fair bit though!!
- Loading branch information
1 parent
eb3e516
commit 30e8139
Showing
103 changed files
with
1,437 additions
and
638 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,13 @@ | ||
namespace MBINCompiler.Models.Structs | ||
{ | ||
public class GcAISpaceshipComponentData : NMSTemplate | ||
public class GcAISpaceshipComponentData : NMSTemplate // size: 0x94; | ||
{ | ||
/* 0x00 */ public GcAISpaceshipTypes Type; | ||
/* 0x04 */ public GcSpaceshipClasses Class; | ||
/* 0x08 */ public GcPrimaryAxis Axis; | ||
[NMS(Size = 0x10)] | ||
/* 0x10 */ public string Weapon; | ||
[NMS(Size = 0x80)] | ||
/* 0x20 */ public string Hangar; | ||
|
||
//[NMS(Size = 4, Ignore = true)] this was in the wrong place, and dunno if it is needed now?? | ||
//public byte[] Padding1C; | ||
/* 0x0C */ public TkTextureResource Hangar; | ||
/* 0x90 */ public bool IsSpaceAnomaly; | ||
[NMS(Size = 0x3, Ignore = true)] | ||
/* 0x91 */ public byte[] EndPadding; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
namespace MBINCompiler.Models.Structs | ||
{ | ||
public class GcAISpaceshipManagerData : NMSTemplate | ||
public class GcAISpaceshipManagerData : NMSTemplate // size: 0x50 | ||
{ | ||
[NMS(Size = 6)] | ||
public GcAISpaceshipMappingData[] FactionMapping; | ||
[NMS(Size = 5)] | ||
public GcAISpaceshipModelDataArray[] FactionMapping; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,9 @@ | ||
namespace MBINCompiler.Models.Structs | ||
using System.Collections.Generic; | ||
|
||
namespace MBINCompiler.Models.Structs | ||
{ | ||
public class GcAISpaceshipMappingData : NMSTemplate | ||
{ | ||
[NMS(Size = 3)] | ||
public GcAISpaceshipInstanceData[] ClassMap; | ||
public List<GcAISpaceshipInstanceData> ClassMap; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
namespace MBINCompiler.Models.Structs | ||
{ | ||
public class GcAISpaceshipModelData : NMSTemplate | ||
{ | ||
[NMS(Size = 0x80)] | ||
public string File; | ||
public GcSpaceshipClasses Class; | ||
public GcAISpaceshipRoles AIRole; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
using System.Collections.Generic; | ||
|
||
namespace MBINCompiler.Models.Structs | ||
{ | ||
public class GcAISpaceshipModelDataArray : NMSTemplate | ||
{ | ||
public List<GcAISpaceshipModelData> Spaceships; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
namespace MBINCompiler.Models.Structs | ||
{ | ||
public class GcAISpaceshipPreloadCacheData : NMSTemplate | ||
public class GcAISpaceshipPreloadCacheData : NMSTemplate // size: 0x20 | ||
{ | ||
public GcAISpaceshipRoles ShipRole; | ||
/* 0x00 */ public GcRealityCommonFactions Faction; | ||
/* 0x04 */ public GcAISpaceshipRoles ShipRole; | ||
/* 0x08 */ public GcSpaceshipClasses ShipClass; | ||
[NMS(Size = 4, Ignore = true)] | ||
public byte[] Padding4; | ||
|
||
public GcSeed Seed; | ||
[NMS(Size = 0x100)] | ||
public string AltId; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
namespace MBINCompiler.Models.Structs | ||
{ | ||
public class GcBountySpawnInfo : NMSTemplate // size: 0x188 | ||
{ | ||
[NMS(Size = 0x10)] | ||
/* 0x000 */ public string Id; | ||
/* 0x010 */ public GcAIShipSpawnData Data; | ||
[NMS(Size = 0x10)] | ||
/* 0x0B8 */ public string AttackData; | ||
/* 0x0C8 */ public TkTextureResource Icon; | ||
[NMS(Size = 0x4, Ignore = true)] | ||
/* 0x14C */ public byte[] Padding14C; | ||
[NMS(Size = 0x20)] | ||
/* 0x150 */ public string Label; | ||
/* 0x170 */ public int Health; | ||
/* 0x174 */ public int LaserDamage; | ||
[NMS(Size = 0x10)] | ||
/* 0x178 */ public string Gun; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
namespace MBINCompiler.Models.Structs | ||
{ | ||
public class GcDefaultMissionProduct : NMSTemplate | ||
{ | ||
public gcproducttableEnum Product; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
namespace MBINCompiler.Models.Structs | ||
{ | ||
public class GcFactionSelectOptions : NMSTemplate | ||
{ | ||
public int FactionOption; | ||
public string[] FactionOptionValues() | ||
{ | ||
return new[] { "DataDefined", "CurrentMission", "CurrentSystem" }; | ||
} | ||
public GcMissionFaction Faction; | ||
} | ||
} |
13 changes: 13 additions & 0 deletions
13
MBINCompiler/Models/Structs/GcGalaxySolarSystemOrbitParams.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
namespace MBINCompiler.Models.Structs | ||
{ | ||
public class GcGalaxySolarSystemOrbitParams : NMSTemplate // size: 0x1C // used in global? | ||
{ | ||
/* 0x00 */ public float FirstOrbitRadiusMin; // 42480000h | ||
/* 0x00 */ public float FirstOrbitRadiusMax; // 42480000h | ||
/* 0x38 */ public float OrbitRadiusOffsetMin; // 42480000h | ||
/* 0x48 */ public float OrbitRadiusOffsetMax; // 42480000h | ||
/* 0x4C */ public float OrbitRotationSpeedMin; // 40A00000h | ||
/* 0x50 */ public float OrbitRotationSpeedMax; // 42480000h | ||
/* 0x54 */ public float OrbitLineWidth; // 3F800000h | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
namespace MBINCompiler.Models.Structs | ||
{ | ||
public class GcGalaxySolarSystemParams : NMSTemplate // size: 0x58 // used in global? cf. 0000000140258EAA in 1.30 exe | ||
{ | ||
/* 0x00 */ public GcGalaxySolarSystemOrbitParams PlanetParameters; | ||
/* 0x1C */ public GcGalaxySolarSystemOrbitParams MoonParameters; | ||
[NMS(Size = 0x4, EnumValue = new[] { "Large", "Medium", "Small", "Moon" })] | ||
/* 0x38 */ public float[] PlanetRadii; | ||
/* 0x48 */ public float SystemTilt; // 41700000h | ||
/* 0x4C */ public float DefaultDistance; // 41200000h | ||
/* 0x50 */ public float VisitedPlanetAlpha; // 3F800000h | ||
/* 0x54 */ public float NonVisitedPlanetAlpha; // 3ECCCCCDh | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
namespace MBINCompiler.Models.Structs | ||
{ | ||
public class GcMissionGalacticPoint : NMSTemplate // size: 0x4 | ||
{ | ||
public int GalacticPoint; | ||
public string[] GalacticPointValues() | ||
{ | ||
return new[] { "Atlas", "BlackHole" }; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,15 @@ | ||
namespace MBINCompiler.Models.Structs | ||
{ | ||
public class GcMissionSequenceBuild : NMSTemplate | ||
public class GcMissionSequenceBuild : NMSTemplate // size: 0x118 | ||
{ | ||
[NMS(Size = 0x80)] | ||
/* 0x000 */ public string Message; | ||
[NMS(Size = 0x80)] | ||
/* 0x080 */ public string DebugText; | ||
[NMS(Size = 0x10)] | ||
/* 0x100 */ public string Part; | ||
/* 0x110 */ public bool BaseOnly; | ||
/* 0x114 */ public GcPersistentBaseTypes Base; | ||
/* 0x080 */ public string Part; | ||
/* 0x090 */ public GcPersistentBaseTypes Base; | ||
[NMS(Size = 0x80)] | ||
/* 0x094 */ public string DebugText; | ||
[NMS(Size = 0x4, Ignore = true)] | ||
public byte[] EndPadding; | ||
} | ||
} |
21 changes: 21 additions & 0 deletions
21
MBINCompiler/Models/Structs/GcMissionSequenceCollectProduct.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
namespace MBINCompiler.Models.Structs | ||
{ | ||
public class GcMissionSequenceCollectProduct : NMSTemplate // size: 0x138 | ||
{ | ||
[NMS(Size = 0x80)] | ||
/* 0x000 */ public string Message; | ||
/* 0x080 */ public GcDefaultMissionProductEnum Default; | ||
/* 0x084 */ public gcproducttableEnum Product; | ||
/* 0x088 */ public int AmountMin; | ||
/* 0x08C */ public int AmountMax; | ||
/* 0x090 */ public bool WaitForSelected; | ||
[NMS(Size = 0x7, Ignore = true)] | ||
/* 0x091 */ public byte[] Padding91; | ||
[NMS(Size = 0x10)] | ||
/* 0x098 */ public string ForBuild; | ||
[NMS(Size = 0x10)] | ||
/* 0x0A0 */ public string ForRepair; | ||
[NMS(Size = 0x80)] | ||
/* 0x0B0 */ public string DebugText; | ||
} | ||
} |
21 changes: 21 additions & 0 deletions
21
MBINCompiler/Models/Structs/GcMissionSequenceCollectSubstance.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
namespace MBINCompiler.Models.Structs | ||
{ | ||
public class GcMissionSequenceCollectSubstance : NMSTemplate // size: 0x138 | ||
{ | ||
[NMS(Size = 0x80)] | ||
/* 0x000 */ public string Message; | ||
/* 0x080 */ public GcDefaultMissionSubstanceEnum Default; | ||
/* 0x084 */ public gcsubstancetableEnum Product; | ||
/* 0x088 */ public int AmountMin; | ||
/* 0x08C */ public int AmountMax; | ||
/* 0x090 */ public bool WaitForSelected; | ||
[NMS(Size = 0x7, Ignore = true)] | ||
/* 0x091 */ public byte[] Padding91; | ||
[NMS(Size = 0x10)] | ||
/* 0x098 */ public string ForBuild; | ||
[NMS(Size = 0x10)] | ||
/* 0x0A0 */ public string ForRepair; | ||
[NMS(Size = 0x80)] | ||
/* 0x0B0 */ public string DebugText; | ||
} | ||
} |
16 changes: 16 additions & 0 deletions
16
MBINCompiler/Models/Structs/GcMissionSequenceCommunicator.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
namespace MBINCompiler.Models.Structs | ||
{ | ||
public class GcMissionSequenceCommunicator : NMSTemplate // size: 0x1B0 | ||
{ | ||
[NMS(Size = 0x80)] | ||
/* 0x000 */ public string Message; | ||
[NMS(Size = 0x80)] | ||
/* 0x080 */ public string OSTMessage; | ||
/* 0x100 */ public GcPlayerCommunicatorMessage Comms; | ||
/* 0x128 */ public bool AutoOpen; | ||
[NMS(Size = 0x80)] | ||
/* 0x129 */ public string DebugText; | ||
[NMS(Size = 0x7, Ignore = true)] | ||
/* 0x1A9 */ public byte[] EndPadding; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
namespace MBINCompiler.Models.Structs | ||
{ | ||
public class GcMissionSequenceDiscover : NMSTemplate // size: 0x110 | ||
{ | ||
[NMS(Size = 0x80)] | ||
/* 0x000 */ public string Message; | ||
/* 0x080 */ public bool PerPlanet; | ||
/* 0x084 */ public int DiscoverTarget; | ||
public string[] DiscoverTargetValues() | ||
{ | ||
return new[] { "Animal", "Vegetable", "Mineral"}; | ||
} | ||
/* 0x088 */ public int AmountMin; | ||
/* 0x08C */ public int AmountMax; | ||
[NMS(Size = 0x80)] | ||
/* 0x090 */ public string DebugText; | ||
} | ||
} |
14 changes: 14 additions & 0 deletions
14
MBINCompiler/Models/Structs/GcMissionSequenceDoMissionsForFaction.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
namespace MBINCompiler.Models.Structs | ||
{ | ||
public class GcMissionSequenceDoMissionsForFaction : NMSTemplate // size: 0x110 | ||
{ | ||
[NMS(Size = 0x80)] | ||
/* 0x000 */ public string MessageGetToSpace; | ||
/* 0x080 */ public GcFactionSelectOptions SelectFrom; | ||
|
||
/* 0x088 */ public int AmountMine; | ||
/* 0x08C */ public int AmountMax; | ||
[NMS(Size = 0x80)] | ||
/* 0x190 */ public string DebugText; | ||
} | ||
} |
Oops, something went wrong.