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

Fix namespaces based on their current file location

This commit is contained in:
CWX 2024-07-12 15:20:47 +01:00
parent 946ae3655f
commit f8ce8129e6
6 changed files with 14 additions and 12 deletions

View File

@ -1,5 +1,8 @@
public struct LoggingLevelResponse namespace SPT.Custom.Models
{ {
public int verbosity { get; set; } public struct LoggingLevelResponse
public bool sendToServer {get; set; } {
public int verbosity { get; set; }
public bool sendToServer { get; set; }
}
} }

View File

@ -3,12 +3,12 @@ using EFT.UI;
using EFT; using EFT;
using HarmonyLib; using HarmonyLib;
using System.Reflection; using System.Reflection;
using SPT.SinglePlayer.Utils.MainMenu;
using TMPro; using TMPro;
using UnityEngine; using UnityEngine;
using System.Threading.Tasks; using System.Threading.Tasks;
using SPT.Custom.Utils;
namespace SPT.SinglePlayer.Patches.MainMenu namespace SPT.Custom.Patches
{ {
public class BetaLogoPatch : ModulePatch public class BetaLogoPatch : ModulePatch
{ {

View File

@ -3,13 +3,13 @@ using System.Collections.Generic;
using System.Linq; using System.Linq;
using System.Reflection; using System.Reflection;
using SPT.Reflection.Patching; using SPT.Reflection.Patching;
using SPT.SinglePlayer.Utils.MainMenu;
using BepInEx.Bootstrap; using BepInEx.Bootstrap;
using BepInEx.Logging; using BepInEx.Logging;
using EFT; using EFT;
using HarmonyLib; using HarmonyLib;
using SPT.Custom.Utils;
namespace SPT.SinglePlayer.Patches.MainMenu namespace SPT.Custom.Patches
{ {
/// <summary> /// <summary>
/// Prevents loading of non-whitelisted client mods to minimize the amount of false issue reports being made during the public BE phase /// Prevents loading of non-whitelisted client mods to minimize the amount of false issue reports being made during the public BE phase

View File

@ -3,7 +3,6 @@ using SPT.Common;
using SPT.Custom.Patches; using SPT.Custom.Patches;
using SPT.Custom.Utils; using SPT.Custom.Utils;
using SPT.Reflection.Utils; using SPT.Reflection.Utils;
using SPT.SinglePlayer.Utils.MainMenu;
using BepInEx; using BepInEx;
using UnityEngine; using UnityEngine;
@ -45,8 +44,7 @@ namespace SPT.Custom
new QTEPatch().Enable(); new QTEPatch().Enable();
new FileCachePatch().Enable(); new FileCachePatch().Enable();
new BotSelfEnemyPatch().Enable(); new BotSelfEnemyPatch().Enable();
new DisablePvEPatch().Enable(); new DisableGamemodeButtonPatch().Enable();
new ClampRagdollPatch().Enable();
new PMCSpawnParamPatch().Enable(); new PMCSpawnParamPatch().Enable();
new SetPreRaidSettingsScreenDefaultsPatch().Enable(); new SetPreRaidSettingsScreenDefaultsPatch().Enable();
new CoreDifficultyPatch().Enable(); new CoreDifficultyPatch().Enable();

View File

@ -1,7 +1,6 @@
using SPT.Common.Http; using SPT.Common.Http;
using SPT.Common.Utils; using SPT.Common.Utils;
using SPT.Custom.Models; using SPT.Custom.Models;
using SPT.SinglePlayer.Patches.MainMenu;
using BepInEx.Bootstrap; using BepInEx.Bootstrap;
using BepInEx.Logging; using BepInEx.Logging;
using Comfort.Common; using Comfort.Common;
@ -9,9 +8,10 @@ using EFT.UI;
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.Linq; using System.Linq;
using SPT.Custom.Patches;
using UnityEngine; using UnityEngine;
namespace SPT.SinglePlayer.Utils.MainMenu namespace SPT.Custom.Utils
{ {
public class MenuNotificationManager : MonoBehaviour public class MenuNotificationManager : MonoBehaviour
{ {

View File

@ -4,6 +4,7 @@ using SPT.Common.Http;
using SPT.Common.Utils; using SPT.Common.Utils;
using SPT.Debugging.Patches; using SPT.Debugging.Patches;
using BepInEx; using BepInEx;
using SPT.Custom.Models;
namespace SPT.Debugging namespace SPT.Debugging
{ {