From a806db5424234fb2de501971d0022ad5895789ac Mon Sep 17 00:00:00 2001 From: Mister_Nebula <41904486+misternebula@users.noreply.github.com> Date: Sun, 11 Apr 2021 17:08:18 +0100 Subject: [PATCH] move probe events --- QSB/Events/QSBEvent.cs | 1 - QSB/Events/QSBEventManager.cs | 1 + QSB/Player/PlayerInfo.cs | 1 + QSB/Player/QSBPlayerManager.cs | 1 - QSB/Player/TransformSync/PlayerCameraSync.cs | 1 - QSB/Player/TransformSync/PlayerTransformSync.cs | 1 - QSB/{Tools => ProbeSync}/Events/PlayerProbeEvent.cs | 2 +- QSB/{Tools => ProbeSync}/Events/PlayerProbeLauncherEvent.cs | 2 +- QSB/{Tools => ProbeSync}/QSBProbe.cs | 2 +- QSB/QSB.csproj | 6 +++--- QSB/QSBCore.cs | 1 - QSB/QSBNetworkManager.cs | 1 - .../TransformSync/RoastingStickTransformSync.cs | 1 - QSB/Tools/PlayerToolsManager.cs | 1 + QSB/Utility/DebugActions.cs | 1 - QSB/Utility/Extensions.cs | 1 - QSB/WorldSync/QSBWorldSync.cs | 1 - 17 files changed, 9 insertions(+), 16 deletions(-) rename QSB/{Tools => ProbeSync}/Events/PlayerProbeEvent.cs (97%) rename QSB/{Tools => ProbeSync}/Events/PlayerProbeLauncherEvent.cs (97%) rename QSB/{Tools => ProbeSync}/QSBProbe.cs (91%) diff --git a/QSB/Events/QSBEvent.cs b/QSB/Events/QSBEvent.cs index ff9d8796..4f16c4b6 100644 --- a/QSB/Events/QSBEvent.cs +++ b/QSB/Events/QSBEvent.cs @@ -2,7 +2,6 @@ using QSB.Messaging; using QSB.Player; using QSB.Player.TransformSync; -using QSB.TransformSync; using QSB.Utility; using QuantumUNET; using QuantumUNET.Components; diff --git a/QSB/Events/QSBEventManager.cs b/QSB/Events/QSBEventManager.cs index 4f98cc97..fbb51fc5 100644 --- a/QSB/Events/QSBEventManager.cs +++ b/QSB/Events/QSBEventManager.cs @@ -10,6 +10,7 @@ using QSB.ItemSync.Events; using QSB.LogSync.Events; using QSB.OrbSync.Events; using QSB.Player.Events; +using QSB.ProbeSync.Events; using QSB.QuantumSync.Events; using QSB.RoastingSync.Events; using QSB.StatueSync.Events; diff --git a/QSB/Player/PlayerInfo.cs b/QSB/Player/PlayerInfo.cs index 933c3d65..d4e3665a 100644 --- a/QSB/Player/PlayerInfo.cs +++ b/QSB/Player/PlayerInfo.cs @@ -1,5 +1,6 @@ using QSB.Animation; using QSB.CampfireSync.WorldObjects; +using QSB.ProbeSync; using QSB.QuantumSync; using QSB.RoastingSync; using QSB.Tools; diff --git a/QSB/Player/QSBPlayerManager.cs b/QSB/Player/QSBPlayerManager.cs index 65318dd2..34da4f85 100644 --- a/QSB/Player/QSBPlayerManager.cs +++ b/QSB/Player/QSBPlayerManager.cs @@ -2,7 +2,6 @@ using QSB.Player.Events; using QSB.Player.TransformSync; using QSB.Tools; -using QSB.TransformSync; using QSB.Utility; using System; using System.Collections.Generic; diff --git a/QSB/Player/TransformSync/PlayerCameraSync.cs b/QSB/Player/TransformSync/PlayerCameraSync.cs index 6095d349..abece828 100644 --- a/QSB/Player/TransformSync/PlayerCameraSync.cs +++ b/QSB/Player/TransformSync/PlayerCameraSync.cs @@ -1,5 +1,4 @@ using QSB.Events; -using QSB.Player; using QSB.Tools; using QSB.TransformSync; using QSB.Utility; diff --git a/QSB/Player/TransformSync/PlayerTransformSync.cs b/QSB/Player/TransformSync/PlayerTransformSync.cs index 73ddf067..539e2766 100644 --- a/QSB/Player/TransformSync/PlayerTransformSync.cs +++ b/QSB/Player/TransformSync/PlayerTransformSync.cs @@ -1,6 +1,5 @@ using QSB.Animation; using QSB.Instruments; -using QSB.Player; using QSB.TransformSync; using UnityEngine; diff --git a/QSB/Tools/Events/PlayerProbeEvent.cs b/QSB/ProbeSync/Events/PlayerProbeEvent.cs similarity index 97% rename from QSB/Tools/Events/PlayerProbeEvent.cs rename to QSB/ProbeSync/Events/PlayerProbeEvent.cs index bda5b516..973b8df0 100644 --- a/QSB/Tools/Events/PlayerProbeEvent.cs +++ b/QSB/ProbeSync/Events/PlayerProbeEvent.cs @@ -2,7 +2,7 @@ using QSB.Messaging; using QSB.Player; -namespace QSB.Tools.Events +namespace QSB.ProbeSync.Events { public class PlayerProbeEvent : QSBEvent { diff --git a/QSB/Tools/Events/PlayerProbeLauncherEvent.cs b/QSB/ProbeSync/Events/PlayerProbeLauncherEvent.cs similarity index 97% rename from QSB/Tools/Events/PlayerProbeLauncherEvent.cs rename to QSB/ProbeSync/Events/PlayerProbeLauncherEvent.cs index d744b191..ed6c707d 100644 --- a/QSB/Tools/Events/PlayerProbeLauncherEvent.cs +++ b/QSB/ProbeSync/Events/PlayerProbeLauncherEvent.cs @@ -2,7 +2,7 @@ using QSB.Messaging; using QSB.Player; -namespace QSB.Tools.Events +namespace QSB.ProbeSync.Events { public class PlayerProbeLauncherEvent : QSBEvent { diff --git a/QSB/Tools/QSBProbe.cs b/QSB/ProbeSync/QSBProbe.cs similarity index 91% rename from QSB/Tools/QSBProbe.cs rename to QSB/ProbeSync/QSBProbe.cs index d7ce49fc..212adc51 100644 --- a/QSB/Tools/QSBProbe.cs +++ b/QSB/ProbeSync/QSBProbe.cs @@ -1,7 +1,7 @@ using QSB.Utility; using UnityEngine; -namespace QSB.Tools +namespace QSB.ProbeSync { public class QSBProbe : MonoBehaviour { diff --git a/QSB/QSB.csproj b/QSB/QSB.csproj index 7992f6d3..9c0a9055 100644 --- a/QSB/QSB.csproj +++ b/QSB/QSB.csproj @@ -242,7 +242,7 @@ - + @@ -252,7 +252,7 @@ - + @@ -286,7 +286,7 @@ - + diff --git a/QSB/QSBCore.cs b/QSB/QSBCore.cs index 3b173e58..eb3b97eb 100644 --- a/QSB/QSBCore.cs +++ b/QSB/QSBCore.cs @@ -16,7 +16,6 @@ using QSB.QuantumSync.WorldObjects; using QSB.SectorSync; using QSB.StatueSync; using QSB.TimeSync; -using QSB.TransformSync; using QSB.TranslationSync; using QSB.Utility; using QSB.WorldSync; diff --git a/QSB/QSBNetworkManager.cs b/QSB/QSBNetworkManager.cs index ba2a92a3..a0fa5687 100644 --- a/QSB/QSBNetworkManager.cs +++ b/QSB/QSBNetworkManager.cs @@ -13,7 +13,6 @@ using QSB.ProbeSync.TransformSync; using QSB.RoastingSync.TransformSync; using QSB.ShipSync.TransformSync; using QSB.TimeSync; -using QSB.TransformSync; using QSB.Utility; using QSB.WorldSync; using QuantumUNET; diff --git a/QSB/RoastingSync/TransformSync/RoastingStickTransformSync.cs b/QSB/RoastingSync/TransformSync/RoastingStickTransformSync.cs index ab94f769..e3545720 100644 --- a/QSB/RoastingSync/TransformSync/RoastingStickTransformSync.cs +++ b/QSB/RoastingSync/TransformSync/RoastingStickTransformSync.cs @@ -1,6 +1,5 @@ using OWML.Utils; using QSB.Player; -using QSB.RoastingSync; using QSB.TransformSync; using QSB.Utility; using System.Linq; diff --git a/QSB/Tools/PlayerToolsManager.cs b/QSB/Tools/PlayerToolsManager.cs index 2e82f252..a1e80d52 100644 --- a/QSB/Tools/PlayerToolsManager.cs +++ b/QSB/Tools/PlayerToolsManager.cs @@ -1,5 +1,6 @@ using OWML.Utils; using QSB.Player; +using QSB.ProbeSync; using QSB.Utility; using System.Linq; using UnityEngine; diff --git a/QSB/Utility/DebugActions.cs b/QSB/Utility/DebugActions.cs index d2a1310e..db350b41 100644 --- a/QSB/Utility/DebugActions.cs +++ b/QSB/Utility/DebugActions.cs @@ -1,7 +1,6 @@ using OWML.Utils; using QSB.Player; using QSB.Player.TransformSync; -using QSB.TransformSync; using System.Linq; using UnityEngine; diff --git a/QSB/Utility/Extensions.cs b/QSB/Utility/Extensions.cs index f614345c..0f2f5659 100644 --- a/QSB/Utility/Extensions.cs +++ b/QSB/Utility/Extensions.cs @@ -1,6 +1,5 @@ using OWML.Common; using QSB.Player.TransformSync; -using QSB.TransformSync; using QuantumUNET; using System; using System.Reflection; diff --git a/QSB/WorldSync/QSBWorldSync.cs b/QSB/WorldSync/QSBWorldSync.cs index 4c5a5ffe..830cee88 100644 --- a/QSB/WorldSync/QSBWorldSync.cs +++ b/QSB/WorldSync/QSBWorldSync.cs @@ -1,7 +1,6 @@ using OWML.Common; using QSB.OrbSync.TransformSync; using QSB.OrbSync.WorldObjects; -using QSB.TransformSync; using QSB.Utility; using System; using System.Collections.Generic;