diff --git a/project/SPT.Custom/Models/BsgLoggingResponse.cs b/project/SPT.Custom/Models/BsgLoggingResponse.cs index 5c3fab9..3660209 100644 --- a/project/SPT.Custom/Models/BsgLoggingResponse.cs +++ b/project/SPT.Custom/Models/BsgLoggingResponse.cs @@ -1,5 +1,8 @@ -public struct LoggingLevelResponse +namespace SPT.Custom.Models { - public int verbosity { get; set; } - public bool sendToServer {get; set; } + public struct LoggingLevelResponse + { + public int verbosity { get; set; } + public bool sendToServer { get; set; } + } } \ No newline at end of file diff --git a/project/SPT.Custom/Patches/BetaLogoPatch.cs b/project/SPT.Custom/Patches/BetaLogoPatch.cs index aa81abe..d85cb56 100644 --- a/project/SPT.Custom/Patches/BetaLogoPatch.cs +++ b/project/SPT.Custom/Patches/BetaLogoPatch.cs @@ -3,12 +3,12 @@ using EFT.UI; using EFT; using HarmonyLib; using System.Reflection; -using SPT.SinglePlayer.Utils.MainMenu; using TMPro; using UnityEngine; using System.Threading.Tasks; +using SPT.Custom.Utils; -namespace SPT.SinglePlayer.Patches.MainMenu +namespace SPT.Custom.Patches { public class BetaLogoPatch : ModulePatch { diff --git a/project/SPT.Custom/Patches/PreventClientModsPatch.cs b/project/SPT.Custom/Patches/PreventClientModsPatch.cs index 980142a..fb37344 100644 --- a/project/SPT.Custom/Patches/PreventClientModsPatch.cs +++ b/project/SPT.Custom/Patches/PreventClientModsPatch.cs @@ -3,13 +3,13 @@ using System.Collections.Generic; using System.Linq; using System.Reflection; using SPT.Reflection.Patching; -using SPT.SinglePlayer.Utils.MainMenu; using BepInEx.Bootstrap; using BepInEx.Logging; using EFT; using HarmonyLib; +using SPT.Custom.Utils; -namespace SPT.SinglePlayer.Patches.MainMenu +namespace SPT.Custom.Patches { /// /// Prevents loading of non-whitelisted client mods to minimize the amount of false issue reports being made during the public BE phase diff --git a/project/SPT.Custom/SPTCustomPlugin.cs b/project/SPT.Custom/SPTCustomPlugin.cs index 6692fe2..d43fe6d 100644 --- a/project/SPT.Custom/SPTCustomPlugin.cs +++ b/project/SPT.Custom/SPTCustomPlugin.cs @@ -3,7 +3,6 @@ using SPT.Common; using SPT.Custom.Patches; using SPT.Custom.Utils; using SPT.Reflection.Utils; -using SPT.SinglePlayer.Utils.MainMenu; using BepInEx; using UnityEngine; @@ -45,8 +44,7 @@ namespace SPT.Custom new QTEPatch().Enable(); new FileCachePatch().Enable(); new BotSelfEnemyPatch().Enable(); - new DisablePvEPatch().Enable(); - new ClampRagdollPatch().Enable(); + new DisableGamemodeButtonPatch().Enable(); new PMCSpawnParamPatch().Enable(); new SetPreRaidSettingsScreenDefaultsPatch().Enable(); new CoreDifficultyPatch().Enable(); diff --git a/project/SPT.Custom/Utils/MenuNotificationManager.cs b/project/SPT.Custom/Utils/MenuNotificationManager.cs index b9d2d8c..bd8449c 100644 --- a/project/SPT.Custom/Utils/MenuNotificationManager.cs +++ b/project/SPT.Custom/Utils/MenuNotificationManager.cs @@ -1,7 +1,6 @@ using SPT.Common.Http; using SPT.Common.Utils; using SPT.Custom.Models; -using SPT.SinglePlayer.Patches.MainMenu; using BepInEx.Bootstrap; using BepInEx.Logging; using Comfort.Common; @@ -9,9 +8,10 @@ using EFT.UI; using System; using System.Collections.Generic; using System.Linq; +using SPT.Custom.Patches; using UnityEngine; -namespace SPT.SinglePlayer.Utils.MainMenu +namespace SPT.Custom.Utils { public class MenuNotificationManager : MonoBehaviour { diff --git a/project/SPT.Debugging/SPTDebuggingPlugin.cs b/project/SPT.Debugging/SPTDebuggingPlugin.cs index 7a231ef..19185c5 100644 --- a/project/SPT.Debugging/SPTDebuggingPlugin.cs +++ b/project/SPT.Debugging/SPTDebuggingPlugin.cs @@ -4,6 +4,7 @@ using SPT.Common.Http; using SPT.Common.Utils; using SPT.Debugging.Patches; using BepInEx; +using SPT.Custom.Models; namespace SPT.Debugging {