Skip to content

Commit

Permalink
-Moved MPModCheck files to new Location
Browse files Browse the repository at this point in the history
  • Loading branch information
DragonFire47 committed Aug 21, 2022
1 parent d37ad9c commit c335397
Show file tree
Hide file tree
Showing 4 changed files with 51 additions and 26 deletions.
22 changes: 0 additions & 22 deletions PulsarModLoader/MPFunction.cs

This file was deleted.

47 changes: 47 additions & 0 deletions PulsarModLoader/MPModChecks/MPFunction.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
using System;

namespace PulsarModLoader
{
[Obsolete]
public enum MPFunction
{
/// <summary>
/// No MP Requirements
/// </summary>
None, //0 No mp requirements
/// <summary>
/// Only the host is required to have it installed
/// </summary>
HostOnly, //1 Only the host is required to have it installed
/// <summary>
/// Host must have installed for clients to use
/// </summary>
HostRequired, //2 Host must have installed for clients to use
/// <summary>
/// All clients must have installed
/// </summary>
All //3 All clients must have installed
}
}
namespace PulsarModLoader.MPModChecks
{
public enum MPFunction
{
/// <summary>
/// No MP Requirements
/// </summary>
None, //0 No mp requirements
/// <summary>
/// Only the host is required to have it installed
/// </summary>
HostOnly, //1 Only the host is required to have it installed
/// <summary>
/// Host must have installed for clients to use
/// </summary>
HostRequired, //2 Host must have installed for clients to use
/// <summary>
/// All clients must have installed
/// </summary>
All //3 All clients must have installed
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
using Steamworks;
using System.Collections.Generic;

namespace PulsarModLoader
namespace PulsarModLoader.MPModChecks
{
class MPModChecks
{
Expand Down Expand Up @@ -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
{
Expand Down
4 changes: 2 additions & 2 deletions PulsarModLoader/PulsarModLoader.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -192,8 +192,8 @@
<Compile Include="CustomGUI\PMLSettings.cs" />
<Compile Include="ModMessage\ModMessage.cs" />
<Compile Include="ModMessage\ModMessageHelper.cs" />
<Compile Include="MPModChecks.cs" />
<Compile Include="MPFunction.cs" />
<Compile Include="MPModChecks\MPModChecks.cs" />
<Compile Include="MPModChecks\MPFunction.cs" />
<Compile Include="Events\PlayerAddedEvent.cs" />
<Compile Include="Events\Event.cs" />
<Compile Include="Events\EventHelper.cs" />
Expand Down

0 comments on commit c335397

Please sign in to comment.