0
0
mirror of https://github.com/sp-tarkov/modules.git synced 2025-02-13 05:30:43 -05:00

Update patches - 34720

This commit is contained in:
Archangel 2025-01-30 13:58:29 +01:00
parent a892e6d04a
commit dd2cdd09e8
5 changed files with 6 additions and 6 deletions

View File

@ -11,7 +11,7 @@ namespace SPT.Custom.Patches
{
protected override MethodBase GetTargetMethod()
{
return typeof(GClass2452).GetProperty(nameof(GClass2454.Int32_0)).GetGetMethod();
return typeof(GClass2454).GetProperty(nameof(GClass2454.Int32_0)).GetGetMethod();
}
[PatchPrefix]

View File

@ -22,7 +22,7 @@ namespace SPT.SinglePlayer.Patches.Progression
return AccessTools.Method(
typeof(SessionResultExitStatus),
nameof(SessionResultExitStatus.Show),
[typeof(Profile), typeof(GClass1945), typeof(ESideType), typeof(ExitStatus), typeof(TimeSpan), typeof(ISession), typeof(bool)
[typeof(Profile), typeof(GClass1947), typeof(ESideType), typeof(ExitStatus), typeof(TimeSpan), typeof(ISession), typeof(bool)
]);
}

View File

@ -11,7 +11,7 @@ namespace SPT.SinglePlayer.Patches.RaidFix
{
protected override MethodBase GetTargetMethod()
{
return typeof(Player.FirearmController.GClass1775).GetMethod(nameof(Player.FirearmController.GClass1777.ShowIncompatibleNotification));
return typeof(Player.FirearmController.GClass1777).GetMethod(nameof(Player.FirearmController.GClass1777.ShowIncompatibleNotification));
}
[PatchPrefix]

View File

@ -32,7 +32,7 @@ namespace SPT.SinglePlayer.Patches.ScavMode
_ = MatchmakerPlayerControllerClass.MAX_SCAV_COUNT; // UPDATE REFS TO THIS CLASS BELOW !!!
// `MatchmakerInsuranceScreen` OnShowNextScreen
_onReadyScreenMethod = AccessTools.Method(typeof(MainMenuControllerClass), nameof(MainMenuControllerClass.method_47));
_onReadyScreenMethod = AccessTools.Method(typeof(MainMenuControllerClass), nameof(MainMenuControllerClass.method_48));
_isLocalField = AccessTools.Field(typeof(MainMenuControllerClass), "bool_0");
_menuControllerField = typeof(TarkovApplication).GetFields(PatchConstants.PrivateFlags).FirstOrDefault(x => x.FieldType == typeof(MainMenuControllerClass));
@ -46,7 +46,7 @@ namespace SPT.SinglePlayer.Patches.ScavMode
protected override MethodBase GetTargetMethod()
{
// `MatchMakerSelectionLocationScreen` OnShowNextScreen
return AccessTools.Method(typeof(MainMenuControllerClass), nameof(MainMenuControllerClass.method_74));
return AccessTools.Method(typeof(MainMenuControllerClass), nameof(MainMenuControllerClass.method_75));
}
[PatchTranspiler]

View File

@ -17,7 +17,7 @@ public class ScavPrestigeFixPatch : ModulePatch
{
protected override MethodBase GetTargetMethod()
{
return AccessTools.Constructor(typeof(GClass3693), new Type[] { typeof(Profile), typeof(InventoryController), typeof(GClass3865), typeof(ISession) }, false);
return AccessTools.Constructor(typeof(GClass3693), new Type[] { typeof(Profile), typeof(InventoryController), typeof(GClass3868), typeof(ISession) }, false);
}
[PatchPrefix]