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

Renamed various patches to better describe their purpose

This commit is contained in:
Dev 2024-07-12 09:32:49 +01:00
parent 24de63b705
commit c81a409922
5 changed files with 9 additions and 9 deletions

View File

@ -11,7 +11,7 @@ namespace SPT.Custom.Patches
/// Copy over scav-only quests from PMC profile to scav profile on pre-raid screen
/// Allows scavs to see and complete quests
/// </summary>
public class ScavQuestPatch : ModulePatch
public class CopyPmcQuestsToPlayerScavPatch : ModulePatch
{
protected override MethodBase GetTargetMethod()
{

View File

@ -10,7 +10,7 @@ using System.Reflection;
namespace SPT.Custom.Patches
{
public class HalloweenExtractPatch : ModulePatch
public class DisableNonHalloweenExitsDuringEventPatch : ModulePatch
{
protected override MethodBase GetTargetMethod()
{

View File

@ -11,7 +11,7 @@ using HarmonyLib;
namespace SPT.Custom.Patches
{
public class ScavItemCheckmarkPatch : ModulePatch
public class MergeScavPmcQuestsOnInventoryLoadPatch : ModulePatch
{
/// <summary>
/// This patch runs both inraid and on main Menu everytime the inventory is loaded

View File

@ -12,9 +12,9 @@ namespace SPT.Custom.Patches
/// Send the tax amount for listing an item for sale on flea by player to server for later use when charging player
/// Client doesnt send this data and calculating it server-side isn't accurate
/// </summary>
public class RagfairFeePatch : ModulePatch
public class SendFleaListingTaxAmountToServerPatch : ModulePatch
{
public RagfairFeePatch()
public SendFleaListingTaxAmountToServerPatch()
{
// Remember to update prefix parameter if below lines are broken
_ = nameof(RagfairOfferSellHelperClass.IsAllSelectedItemSame);

View File

@ -33,10 +33,10 @@ namespace SPT.Custom
new PmcTakesAgesToHealLimbsPatch().Enable();
new SaveSettingsToSptFolderPatch().Enable();
//new SetLocationIdOnRaidStartPatch().Enable();
new RagfairFeePatch().Enable();
new ScavQuestPatch().Enable();
new ScavItemCheckmarkPatch().Enable();
new HalloweenExtractPatch().Enable();
new SendFleaListingTaxAmountToServerPatch().Enable();
new CopyPmcQuestsToPlayerScavPatch().Enable();
new MergeScavPmcQuestsOnInventoryLoadPatch().Enable();
new DisableNonHalloweenExitsDuringEventPatch().Enable();
// Needed but needs editing
new IsEnemyPatch().Enable();