mirror of
https://github.com/sp-tarkov/modules.git
synced 2025-02-13 09:50:43 -05:00
Updated to 34644
This commit is contained in:
parent
bd03049673
commit
249123bb48
@ -24,7 +24,7 @@ git config --local user.email "USERNAME@SOMETHING.com"
|
|||||||
|
|
||||||
|
|
||||||
## Requirements
|
## Requirements
|
||||||
- Escape From Tarkov 34568
|
- Escape From Tarkov 34644
|
||||||
- Visual Studio Code -OR- Visual Studio 2022
|
- Visual Studio Code -OR- Visual Studio 2022
|
||||||
- .NET 6 SDK
|
- .NET 6 SDK
|
||||||
- [PowerShell v7](https://learn.microsoft.com/en-us/powershell/scripting/install/installing-powershell-on-windows)
|
- [PowerShell v7](https://learn.microsoft.com/en-us/powershell/scripting/install/installing-powershell-on-windows)
|
||||||
|
@ -13,11 +13,11 @@ namespace SPT.Custom.Patches
|
|||||||
{
|
{
|
||||||
protected override MethodBase GetTargetMethod()
|
protected override MethodBase GetTargetMethod()
|
||||||
{
|
{
|
||||||
return AccessTools.Method(typeof(InventoryScreen.Class2754), nameof(InventoryScreen.Class2754.MoveNext));
|
return AccessTools.Method(typeof(InventoryScreen.Class2751), nameof(InventoryScreen.Class2751.MoveNext));
|
||||||
}
|
}
|
||||||
|
|
||||||
[PatchPostfix]
|
[PatchPostfix]
|
||||||
public static void Postfix(InventoryScreen.Class2754 __instance)
|
public static void Postfix(InventoryScreen.Class2751 __instance)
|
||||||
{
|
{
|
||||||
var inventoryScreen = __instance.inventoryScreen_0;
|
var inventoryScreen = __instance.inventoryScreen_0;
|
||||||
var tabDictionary = Traverse.Create(inventoryScreen).Field<IReadOnlyDictionary<EInventoryTab, Tab>>("_tabDictionary").Value;
|
var tabDictionary = Traverse.Create(inventoryScreen).Field<IReadOnlyDictionary<EInventoryTab, Tab>>("_tabDictionary").Value;
|
||||||
|
@ -12,7 +12,7 @@ namespace SPT.SinglePlayer.Patches.MainMenu
|
|||||||
{
|
{
|
||||||
protected override MethodBase GetTargetMethod()
|
protected override MethodBase GetTargetMethod()
|
||||||
{
|
{
|
||||||
return AccessTools.Method(typeof(MerchantsList.Class2909), nameof(MerchantsList.Class2909.method_0));
|
return AccessTools.Method(typeof(MerchantsList.Class2906), nameof(MerchantsList.Class2906.method_0));
|
||||||
}
|
}
|
||||||
|
|
||||||
[PatchPrefix]
|
[PatchPrefix]
|
||||||
|
@ -20,7 +20,7 @@ public class DisableDevMaskCheckPatch : ModulePatch
|
|||||||
{
|
{
|
||||||
protected override MethodBase GetTargetMethod()
|
protected override MethodBase GetTargetMethod()
|
||||||
{
|
{
|
||||||
return AccessTools.Method(typeof(LocalPlayer.Struct520), nameof(LocalPlayer.Struct520.MoveNext));
|
return AccessTools.Method(typeof(LocalPlayer.Struct521), nameof(LocalPlayer.Struct521.MoveNext));
|
||||||
}
|
}
|
||||||
|
|
||||||
[PatchTranspiler]
|
[PatchTranspiler]
|
||||||
|
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user