Skip to content
This repository has been archived by the owner on Oct 16, 2024. It is now read-only.

Commit

Permalink
The warnings just dont stop
Browse files Browse the repository at this point in the history
  • Loading branch information
misandrie committed Nov 4, 2023
1 parent 2d5aa4f commit a4b913b
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 8 deletions.
2 changes: 1 addition & 1 deletion Marsey/FileHandler.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ namespace Marsey;
/// <summary>
/// Handles file operations in the patch folder
/// </summary>
public class FileHandler
public abstract class FileHandler
{
/// <summary>
/// Move "Enabled" assemblies to the "Enabled" folder.
Expand Down
2 changes: 1 addition & 1 deletion Marsey/GameAssemblyManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ namespace Marsey;
/// <summary>
/// Manages game's assemblies, this includes patching.
/// </summary>
public class GameAssemblyManager
public abstract class GameAssemblyManager
{
private static Harmony? _harmony;

Expand Down
2 changes: 1 addition & 1 deletion Marsey/MarseyPatcher.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public class MarseyPatcher
/// </summary>
/// <param name="robClientAssembly">Robust.Client assembly as *loaded* by the *loader*</param>
/// <exception cref="Exception">Excepts if Robust.Client assembly is null</exception>
public void Boot(Assembly? robClientAssembly)
public static void Boot(Assembly? robClientAssembly)
{
if (robClientAssembly == null) throw new Exception("Robust.Client was null.");

Expand Down
2 changes: 1 addition & 1 deletion Marsey/MarseyVars.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
namespace Marsey;

public class MarseyVars
public abstract class MarseyVars
{
// Namespace identifier for Harmony
public const string Identifier = "com.validhunters.marseyloader";
Expand Down
2 changes: 1 addition & 1 deletion Marsey/PatchAssemblyManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ namespace Marsey;
/// <summary>
/// Initializes, validates and manages patch assemblies.
/// </summary>
public class PatchAssemblyManager
public abstract class PatchAssemblyManager
{
private static Assembly? _robustAss;
private static Assembly? _clientAss;
Expand Down
2 changes: 1 addition & 1 deletion Marsey/Utility.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

namespace Marsey;

public class Utility
public abstract class Utility
{
public enum LogType
{
Expand Down
3 changes: 1 addition & 2 deletions SS14.Loader/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,7 @@ private bool Run()

SQLitePCL.Batteries_V2.Init();

MarseyPatcher marsey = new MarseyPatcher();
Thread t = new Thread(() => marsey.Boot(clientAssembly));
Thread t = new Thread(() => MarseyPatcher.Boot(clientAssembly));
t.Start();

var launcher = Environment.GetEnvironmentVariable("SS14_LAUNCHER_PATH");
Expand Down

0 comments on commit a4b913b

Please sign in to comment.