From 0620e97808d10f1c68d674165e4a356d37c8b2cc Mon Sep 17 00:00:00 2001 From: Chomp Date: Mon, 6 Dec 2021 15:16:36 +0000 Subject: [PATCH] clean up unused usings --- src/BotMonitor.cs | 6 ++---- src/Extensions.cs | 10 ++-------- src/GameConsole.cs | 2 -- src/GenericPatch`.cs | 4 ---- src/Globals.cs | 5 ----- src/Logger.cs | 7 +------ src/Module.cs | 11 ++--------- src/Utils/Emit.cs | 4 ---- src/Utils/TextUtils.cs | 6 +----- 9 files changed, 8 insertions(+), 47 deletions(-) diff --git a/src/BotMonitor.cs b/src/BotMonitor.cs index e7dc0c8..57c093c 100644 --- a/src/BotMonitor.cs +++ b/src/BotMonitor.cs @@ -1,11 +1,9 @@ -using EFT; +using astealz.BotMonitor.Utils; +using EFT; using System; using System.Collections.Generic; -using System.Linq; using System.Text; -using System.Threading.Tasks; using UnityEngine; -using astealz.BotMonitor.Utils; namespace astealz.BotMonitor { diff --git a/src/Extensions.cs b/src/Extensions.cs index 128455d..71d3d31 100644 --- a/src/Extensions.cs +++ b/src/Extensions.cs @@ -1,12 +1,6 @@ -using EFT; +using astealz.BotMonitor.Utils; +using EFT; using HarmonyLib; -using System; -using System.Collections.Generic; -using System.Linq; -using System.Reflection; -using System.Text; -using System.Threading.Tasks; -using astealz.BotMonitor.Utils; using UnityEngine; namespace astealz.BotMonitor diff --git a/src/GameConsole.cs b/src/GameConsole.cs index a643bcd..0a37ece 100644 --- a/src/GameConsole.cs +++ b/src/GameConsole.cs @@ -5,9 +5,7 @@ using System; using System.Collections.Generic; using System.Linq; using System.Reflection; -using System.Text; using System.Text.RegularExpressions; -using System.Threading.Tasks; using UnityEngine; namespace astealz.BotMonitor diff --git a/src/GenericPatch`.cs b/src/GenericPatch`.cs index a128d81..8a69f69 100644 --- a/src/GenericPatch`.cs +++ b/src/GenericPatch`.cs @@ -1,10 +1,6 @@ using HarmonyLib; using System; -using System.Collections.Generic; -using System.Linq; using System.Reflection; -using System.Text; -using System.Threading.Tasks; namespace astealz.BotMonitor { diff --git a/src/Globals.cs b/src/Globals.cs index c2e796a..a34502e 100644 --- a/src/Globals.cs +++ b/src/Globals.cs @@ -1,11 +1,6 @@ using Comfort.Common; using EFT; -using EFT.UI; -using System; using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; using UnityEngine; namespace astealz.BotMonitor diff --git a/src/Logger.cs b/src/Logger.cs index 9be450a..2ca2ea9 100644 --- a/src/Logger.cs +++ b/src/Logger.cs @@ -1,9 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; -using UnityEngine; +using UnityEngine; namespace astealz.BotMonitor { diff --git a/src/Module.cs b/src/Module.cs index 51969f0..4e7b346 100644 --- a/src/Module.cs +++ b/src/Module.cs @@ -1,13 +1,6 @@ -using System; -using System.Collections.Generic; -using System.IO; -using System.Linq; -using System.Reflection; -using System.Text; -using System.Text.RegularExpressions; -using System.Threading.Tasks; -using EFT; +using EFT; using EFT.UI; +using System.Text.RegularExpressions; using UnityEngine; namespace astealz.BotMonitor diff --git a/src/Utils/Emit.cs b/src/Utils/Emit.cs index ba057e8..f3ebee9 100644 --- a/src/Utils/Emit.cs +++ b/src/Utils/Emit.cs @@ -1,10 +1,6 @@ using System; -using System.Collections.Generic; -using System.Linq; using System.Reflection; using System.Reflection.Emit; -using System.Text; -using System.Threading.Tasks; namespace astealz.BotMonitor.Utils { diff --git a/src/Utils/TextUtils.cs b/src/Utils/TextUtils.cs index 402e572..483fcc1 100644 --- a/src/Utils/TextUtils.cs +++ b/src/Utils/TextUtils.cs @@ -1,11 +1,7 @@ -using EFT; -using HarmonyLib; +using HarmonyLib; using System; -using System.Collections.Generic; using System.Linq; using System.Reflection; -using System.Text; -using System.Threading.Tasks; namespace astealz.BotMonitor.Utils {