From c335397f2d1d5f611442abcd4119758d156d3f9c Mon Sep 17 00:00:00 2001 From: DragonFire47 <46509577+DragonFire47@users.noreply.github.com> Date: Sun, 21 Aug 2022 13:49:09 -0700 Subject: [PATCH] -Moved MPModCheck files to new Location --- PulsarModLoader/MPFunction.cs | 22 --------- PulsarModLoader/MPModChecks/MPFunction.cs | 47 +++++++++++++++++++ .../{ => MPModChecks}/MPModChecks.cs | 4 +- PulsarModLoader/PulsarModLoader.csproj | 4 +- 4 files changed, 51 insertions(+), 26 deletions(-) delete mode 100644 PulsarModLoader/MPFunction.cs create mode 100644 PulsarModLoader/MPModChecks/MPFunction.cs rename PulsarModLoader/{ => MPModChecks}/MPModChecks.cs (98%) diff --git a/PulsarModLoader/MPFunction.cs b/PulsarModLoader/MPFunction.cs deleted file mode 100644 index d3c50ea..0000000 --- a/PulsarModLoader/MPFunction.cs +++ /dev/null @@ -1,22 +0,0 @@ -namespace PulsarModLoader -{ - public enum MPFunction - { - /// - /// No MP Requirements - /// - None, //0 No mp requirements - /// - /// Only the host is required to have it installed - /// - HostOnly, //1 Only the host is required to have it installed - /// - /// Host must have installed for clients to use - /// - HostRequired, //2 Host must have installed for clients to use - /// - /// All clients must have installed - /// - All //3 All clients must have installed - } -} diff --git a/PulsarModLoader/MPModChecks/MPFunction.cs b/PulsarModLoader/MPModChecks/MPFunction.cs new file mode 100644 index 0000000..7916887 --- /dev/null +++ b/PulsarModLoader/MPModChecks/MPFunction.cs @@ -0,0 +1,47 @@ +using System; + +namespace PulsarModLoader +{ + [Obsolete] + public enum MPFunction + { + /// + /// No MP Requirements + /// + None, //0 No mp requirements + /// + /// Only the host is required to have it installed + /// + HostOnly, //1 Only the host is required to have it installed + /// + /// Host must have installed for clients to use + /// + HostRequired, //2 Host must have installed for clients to use + /// + /// All clients must have installed + /// + All //3 All clients must have installed + } +} +namespace PulsarModLoader.MPModChecks +{ + public enum MPFunction + { + /// + /// No MP Requirements + /// + None, //0 No mp requirements + /// + /// Only the host is required to have it installed + /// + HostOnly, //1 Only the host is required to have it installed + /// + /// Host must have installed for clients to use + /// + HostRequired, //2 Host must have installed for clients to use + /// + /// All clients must have installed + /// + All //3 All clients must have installed + } +} diff --git a/PulsarModLoader/MPModChecks.cs b/PulsarModLoader/MPModChecks/MPModChecks.cs similarity index 98% rename from PulsarModLoader/MPModChecks.cs rename to PulsarModLoader/MPModChecks/MPModChecks.cs index 43aa541..b7560ce 100644 --- a/PulsarModLoader/MPModChecks.cs +++ b/PulsarModLoader/MPModChecks/MPModChecks.cs @@ -3,7 +3,7 @@ using Steamworks; using System.Collections.Generic; -namespace PulsarModLoader +namespace PulsarModLoader.MPModChecks { class MPModChecks { @@ -187,7 +187,7 @@ static bool Prefix(ref PhotonMessageInfo pmi) } } - Logger.Info("Modcheck passed, proceding ondwards"); + Logger.Info("Modcheck passed, proceding onwards"); } else //client wasn't found in mod list { diff --git a/PulsarModLoader/PulsarModLoader.csproj b/PulsarModLoader/PulsarModLoader.csproj index 55c4956..86a0459 100644 --- a/PulsarModLoader/PulsarModLoader.csproj +++ b/PulsarModLoader/PulsarModLoader.csproj @@ -192,8 +192,8 @@ - - + +