mirror of
https://github.com/sp-tarkov/modules.git
synced 2025-02-12 20:50:44 -05:00
Update for 29197
This commit is contained in:
parent
73db17ea78
commit
fa423cb9be
@ -22,7 +22,7 @@ git config --local user.email "USERNAME@SOMETHING.com"
|
||||
```
|
||||
|
||||
## Requirements
|
||||
- Escape From Tarkov 28476
|
||||
- Escape From Tarkov 29197
|
||||
- Visual Studio Code -OR- Visual Studio 2022
|
||||
- .NET 6 SDK
|
||||
- [PowerShell v7](https://learn.microsoft.com/en-us/powershell/scripting/install/installing-powershell-on-windows)
|
||||
|
@ -6,7 +6,7 @@ using EFT.Vehicle;
|
||||
using HarmonyLib;
|
||||
using System;
|
||||
using System.Reflection;
|
||||
using BTRDialog = EFT.UI.TraderDialogScreen.GClass3137;
|
||||
using BTRDialog = EFT.UI.TraderDialogScreen.GClass3132;
|
||||
|
||||
namespace Aki.Custom.BTR.Patches
|
||||
{
|
||||
|
@ -31,7 +31,7 @@ namespace Aki.Custom.Patches
|
||||
var player = Singleton<GameWorld>.Instance.MainPlayer;
|
||||
if (profileId == player?.Profile.Id)
|
||||
{
|
||||
GClass3112.Instance.CloseAllScreensForced();
|
||||
GClass3107.Instance.CloseAllScreensForced();
|
||||
}
|
||||
|
||||
return true;
|
||||
|
@ -17,8 +17,8 @@ namespace Aki.Custom.Patches
|
||||
public RagfairFeePatch()
|
||||
{
|
||||
// Remember to update prefix parameter if below lines are broken
|
||||
_ = nameof(GClass3074.IsAllSelectedItemSame);
|
||||
_ = nameof(GClass3074.AutoSelectSimilar);
|
||||
_ = nameof(GClass3069.IsAllSelectedItemSame);
|
||||
_ = nameof(GClass3069.AutoSelectSimilar);
|
||||
}
|
||||
|
||||
protected override MethodBase GetTargetMethod()
|
||||
@ -34,7 +34,7 @@ namespace Aki.Custom.Patches
|
||||
/// <param name="___double_0">RequirementsPrice</param>
|
||||
/// <param name="___bool_0">SellInOnePiece</param>
|
||||
[PatchPrefix]
|
||||
private static void PatchPrefix(ref Item ___item_0, ref GClass3074 ___gclass3074_0, ref double ___double_0, ref bool ___bool_0)
|
||||
private static void PatchPrefix(ref Item ___item_0, ref GClass3069 ___gclass3074_0, ref double ___double_0, ref bool ___bool_0)
|
||||
{
|
||||
RequestHandler.PutJson("/client/ragfair/offerfees", new
|
||||
{
|
||||
|
@ -123,7 +123,7 @@ namespace Aki.SinglePlayer.Patches.ScavMode
|
||||
.Single(field => field.FieldType == typeof(MatchmakerPlayerControllerClass))
|
||||
?.GetValue(menuController) as MatchmakerPlayerControllerClass;
|
||||
|
||||
var gclass = new MatchmakerOfflineRaidScreen.GClass3160(profile?.Info, ref raidSettings, matchmakerPlayersController);
|
||||
var gclass = new MatchmakerOfflineRaidScreen.GClass3155(profile?.Info, ref raidSettings, matchmakerPlayersController);
|
||||
|
||||
gclass.OnShowNextScreen += LoadOfflineRaidNextScreen;
|
||||
|
||||
|
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user