Skip to content

Commit 30e8139

Browse files
committed
much more updated
... still lot's to go. This should do a fair bit though!!
1 parent eb3e516 commit 30e8139

File tree

103 files changed

+1437
-638
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

103 files changed

+1437
-638
lines changed
Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,13 @@
11
namespace MBINCompiler.Models.Structs
22
{
3-
public class GcAISpaceshipComponentData : NMSTemplate
3+
public class GcAISpaceshipComponentData : NMSTemplate // size: 0x94;
44
{
55
/* 0x00 */ public GcAISpaceshipTypes Type;
66
/* 0x04 */ public GcSpaceshipClasses Class;
77
/* 0x08 */ public GcPrimaryAxis Axis;
8-
[NMS(Size = 0x10)]
9-
/* 0x10 */ public string Weapon;
10-
[NMS(Size = 0x80)]
11-
/* 0x20 */ public string Hangar;
12-
13-
//[NMS(Size = 4, Ignore = true)] this was in the wrong place, and dunno if it is needed now??
14-
//public byte[] Padding1C;
8+
/* 0x0C */ public TkTextureResource Hangar;
9+
/* 0x90 */ public bool IsSpaceAnomaly;
10+
[NMS(Size = 0x3, Ignore = true)]
11+
/* 0x91 */ public byte[] EndPadding;
1512
}
1613
}
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
namespace MBINCompiler.Models.Structs
22
{
3-
public class GcAISpaceshipManagerData : NMSTemplate
3+
public class GcAISpaceshipManagerData : NMSTemplate // size: 0x50
44
{
5-
[NMS(Size = 6)]
6-
public GcAISpaceshipMappingData[] FactionMapping;
5+
[NMS(Size = 5)]
6+
public GcAISpaceshipModelDataArray[] FactionMapping;
77
}
88
}
Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
1-
namespace MBINCompiler.Models.Structs
1+
using System.Collections.Generic;
2+
3+
namespace MBINCompiler.Models.Structs
24
{
35
public class GcAISpaceshipMappingData : NMSTemplate
46
{
5-
[NMS(Size = 3)]
6-
public GcAISpaceshipInstanceData[] ClassMap;
7+
public List<GcAISpaceshipInstanceData> ClassMap;
78
}
89
}
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
namespace MBINCompiler.Models.Structs
2+
{
3+
public class GcAISpaceshipModelData : NMSTemplate
4+
{
5+
[NMS(Size = 0x80)]
6+
public string File;
7+
public GcSpaceshipClasses Class;
8+
public GcAISpaceshipRoles AIRole;
9+
}
10+
}
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
using System.Collections.Generic;
2+
3+
namespace MBINCompiler.Models.Structs
4+
{
5+
public class GcAISpaceshipModelDataArray : NMSTemplate
6+
{
7+
public List<GcAISpaceshipModelData> Spaceships;
8+
}
9+
}
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
namespace MBINCompiler.Models.Structs
22
{
3-
public class GcAISpaceshipPreloadCacheData : NMSTemplate
3+
public class GcAISpaceshipPreloadCacheData : NMSTemplate // size: 0x20
44
{
5-
public GcAISpaceshipRoles ShipRole;
5+
/* 0x00 */ public GcRealityCommonFactions Faction;
6+
/* 0x04 */ public GcAISpaceshipRoles ShipRole;
7+
/* 0x08 */ public GcSpaceshipClasses ShipClass;
68
[NMS(Size = 4, Ignore = true)]
79
public byte[] Padding4;
810

911
public GcSeed Seed;
10-
[NMS(Size = 0x100)]
11-
public string AltId;
1212
}
1313
}
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
namespace MBINCompiler.Models.Structs
2+
{
3+
public class GcBountySpawnInfo : NMSTemplate // size: 0x188
4+
{
5+
[NMS(Size = 0x10)]
6+
/* 0x000 */ public string Id;
7+
/* 0x010 */ public GcAIShipSpawnData Data;
8+
[NMS(Size = 0x10)]
9+
/* 0x0B8 */ public string AttackData;
10+
/* 0x0C8 */ public TkTextureResource Icon;
11+
[NMS(Size = 0x4, Ignore = true)]
12+
/* 0x14C */ public byte[] Padding14C;
13+
[NMS(Size = 0x20)]
14+
/* 0x150 */ public string Label;
15+
/* 0x170 */ public int Health;
16+
/* 0x174 */ public int LaserDamage;
17+
[NMS(Size = 0x10)]
18+
/* 0x178 */ public string Gun;
19+
}
20+
}

MBINCompiler/Models/Structs/GcDebugOptions.cs

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,10 @@ public string[] RealityModeValues()
125125

126126
[NMS(Size = 0x80)]
127127
/* 0x498 */ public string RealityPresetFile; // 0x80
128+
[NMS(Size = 0x20)]
129+
public string NMSLocale; // for temperature choice?
130+
[NMS(Size = 0x20)]
131+
public string NMSUpdateVersion;
128132
/* 0x49A */ public short RealityGenerationIteration;
129133

130134
[NMS(Size = 0x80)]
@@ -201,12 +205,16 @@ public string[] ServerEnvValues()
201205
[NMS(Size = 0x20)]
202206
/* 0x869 */ public string OverrideUsernameForDev; // 0x20
203207
/* 0x88C */ public int DiscoveryAutoSyncIntervalSeconds;
208+
[NMS(Size = 0x20)]
209+
public string DummyString;
210+
public int DummyInt;
204211
/* 0x888 */ //public int DiscoveryTrimLimitOverride; // Looks like both these
205212
/* 0x88C */ //public int DiscoveryTrimTriggerOverride; // lines have been removed in exe
206213
/* 0x890 */ public bool EnableSynergy;
207214
[NMS(Size = 0x20)]
208215
/* 0x891 */ public string SynergyServer; // 0x20
209216
/* 0x8B4 */ public int SynergyPort;
217+
public int Something;
210218
/* 0x8B8 */ public int MaxNumDebugMessages;
211219
/* 0x8BC */ public bool PreloadToolbox;
212220
/* 0x8C0 */ public int DebugTextureSize;
@@ -244,6 +252,7 @@ public string[] ServerEnvValues()
244252
/* 0xC73?*/ public int ForceStarTypeTo; // unused? added
245253
/* 0xC78 */ public bool ForceBiome;
246254
/* 0xC7C?*/ public int ForceBiomeTo; // unused?
255+
public int BadValue;
247256
/* 0xC80 */ public bool ForceBuildingRace;
248257
/* 0xC81?*/ public int ForceBuildingRaceTo; // unused?
249258
/* 0xC88 */ public bool ForceLifeLevel;

MBINCompiler/Models/Structs/GcDefaultMissionItemsTable.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ public class GcDefaultMissionItemsTable : NMSTemplate // size: 0x40
66
{
77
public List<GcDefaultMissionSubstance> PrimarySubstances;
88
public List<GcDefaultMissionSubstance> SecondarySubstances;
9-
public List<GcDefaulMissionProduct> PrimaryProducts;
10-
public List<GcDefaulMissionProduct> SecondaryProducts;
9+
public List<GcDefaultMissionProduct> PrimaryProducts;
10+
public List<GcDefaultMissionProduct> SecondaryProducts;
1111
}
1212
}
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
namespace MBINCompiler.Models.Structs
2+
{
3+
public class GcDefaultMissionProduct : NMSTemplate
4+
{
5+
public gcproducttableEnum Product;
6+
}
7+
}

0 commit comments

Comments
 (0)