diff --git a/GamecraftModdingAPI/Blocks/MovementEngine.cs b/GamecraftModdingAPI/Blocks/MovementEngine.cs index 133dcd0..f51002b 100644 --- a/GamecraftModdingAPI/Blocks/MovementEngine.cs +++ b/GamecraftModdingAPI/Blocks/MovementEngine.cs @@ -26,7 +26,7 @@ namespace GamecraftModdingAPI.Blocks /// /// Engine which executes block movement actions /// - class MovementEngine : IApiEngine + public class MovementEngine : IApiEngine { public string Name { get; } = "GamecraftModdingAPIMovementGameEngine"; diff --git a/GamecraftModdingAPI/Blocks/RotationEngine.cs b/GamecraftModdingAPI/Blocks/RotationEngine.cs index 09f61e2..20a56df 100644 --- a/GamecraftModdingAPI/Blocks/RotationEngine.cs +++ b/GamecraftModdingAPI/Blocks/RotationEngine.cs @@ -26,7 +26,7 @@ namespace GamecraftModdingAPI.Blocks /// /// Engine which executes block movement actions /// - class RotationEngine : IApiEngine + public class RotationEngine : IApiEngine { public string Name { get; } = "GamecraftModdingAPIRotationGameEngine"; diff --git a/GamecraftModdingAPI/Commands/CommandPatch.cs b/GamecraftModdingAPI/Commands/CommandPatch.cs index 2e9955a..e88887c 100644 --- a/GamecraftModdingAPI/Commands/CommandPatch.cs +++ b/GamecraftModdingAPI/Commands/CommandPatch.cs @@ -24,7 +24,7 @@ namespace GamecraftModdingAPI.Commands //[HarmonyPatch] //[HarmonyPatch(typeof(RobocraftX.GUI.CommandLine.CommandLineCompositionRoot))] //[HarmonyPatch("Compose", new Type[] { typeof(UnityContext), typeof(EnginesRoot), typeof(World), typeof(Action), typeof(MultiplayerInitParameters), typeof(StateSyncRegistrationHelper)})] - public static class CommandPatch + static class CommandPatch { public static void Postfix(object contextHolder, EnginesRoot enginesRoot, World physicsWorld, Action reloadGame, MultiplayerInitParameters multiplayerParameters, StateSyncRegistrationHelper stateSyncReg) { diff --git a/GamecraftModdingAPI/Commands/SimpleCustomCommandEngine.cs b/GamecraftModdingAPI/Commands/SimpleCustomCommandEngine.cs index e1c7817..1f3ce79 100644 --- a/GamecraftModdingAPI/Commands/SimpleCustomCommandEngine.cs +++ b/GamecraftModdingAPI/Commands/SimpleCustomCommandEngine.cs @@ -12,7 +12,7 @@ namespace GamecraftModdingAPI.Commands /// A simple implementation of ICustomCommandEngine sufficient for most commands. /// This version is for commands which take 0 argument(s) /// - class SimpleCustomCommandEngine : ICustomCommandEngine + public class SimpleCustomCommandEngine : ICustomCommandEngine { /// /// The name of the command diff --git a/GamecraftModdingAPI/Commands/SimpleCustomCommandEngine1.cs b/GamecraftModdingAPI/Commands/SimpleCustomCommandEngine1.cs index dd8e43c..eec29ad 100644 --- a/GamecraftModdingAPI/Commands/SimpleCustomCommandEngine1.cs +++ b/GamecraftModdingAPI/Commands/SimpleCustomCommandEngine1.cs @@ -12,7 +12,7 @@ namespace GamecraftModdingAPI.Commands /// A simple implementation of ICustomCommandEngine sufficient for most commands. /// This version is for commands which take 1 argument(s) /// - class SimpleCustomCommandEngine : ICustomCommandEngine + public class SimpleCustomCommandEngine : ICustomCommandEngine { public string Name { get; } diff --git a/GamecraftModdingAPI/Commands/SimpleCustomCommandEngine2.cs b/GamecraftModdingAPI/Commands/SimpleCustomCommandEngine2.cs index e21df26..0d602e3 100644 --- a/GamecraftModdingAPI/Commands/SimpleCustomCommandEngine2.cs +++ b/GamecraftModdingAPI/Commands/SimpleCustomCommandEngine2.cs @@ -12,7 +12,7 @@ namespace GamecraftModdingAPI.Commands /// A simple implementation of ICustomCommandEngine sufficient for most commands. /// This version is for commands which take 2 argument(s) /// - class SimpleCustomCommandEngine : ICustomCommandEngine + public class SimpleCustomCommandEngine : ICustomCommandEngine { public string Name { get; } diff --git a/GamecraftModdingAPI/Commands/SimpleCustomCommandEngine3.cs b/GamecraftModdingAPI/Commands/SimpleCustomCommandEngine3.cs index c3bf6a8..a48f9e7 100644 --- a/GamecraftModdingAPI/Commands/SimpleCustomCommandEngine3.cs +++ b/GamecraftModdingAPI/Commands/SimpleCustomCommandEngine3.cs @@ -12,7 +12,7 @@ namespace GamecraftModdingAPI.Commands /// A simple implementation of ICustomCommandEngine sufficient for most commands. /// This version is for commands which take 3 argument(s) /// - class SimpleCustomCommandEngine : ICustomCommandEngine + public class SimpleCustomCommandEngine : ICustomCommandEngine { public string Name { get; } diff --git a/GamecraftModdingAPI/Main.cs b/GamecraftModdingAPI/Main.cs index 6da21e3..8c56df2 100644 --- a/GamecraftModdingAPI/Main.cs +++ b/GamecraftModdingAPI/Main.cs @@ -16,7 +16,7 @@ namespace GamecraftModdingAPI /// The main class of the GamecraftModdingAPI. /// Use this to initialize the API before calling it. /// - static class Main + public static class Main { private static HarmonyInstance harmony; diff --git a/GamecraftModdingAPI/Utility/ApiExclusiveGroups.cs b/GamecraftModdingAPI/Utility/ApiExclusiveGroups.cs index 984fd2a..df32418 100644 --- a/GamecraftModdingAPI/Utility/ApiExclusiveGroups.cs +++ b/GamecraftModdingAPI/Utility/ApiExclusiveGroups.cs @@ -8,7 +8,7 @@ using Svelto.ECS; namespace GamecraftModdingAPI.Utility { - static class ApiExclusiveGroups + public static class ApiExclusiveGroups { public static readonly ExclusiveGroup eventsExclusiveGroup = new ExclusiveGroup(); diff --git a/GamecraftModdingAPI/Utility/Logging.cs b/GamecraftModdingAPI/Utility/Logging.cs index 751136c..c7ac989 100644 --- a/GamecraftModdingAPI/Utility/Logging.cs +++ b/GamecraftModdingAPI/Utility/Logging.cs @@ -12,7 +12,7 @@ namespace GamecraftModdingAPI.Utility /// Utility class to access Gamecraft's built-in logging capabilities. /// The log is saved to %APPDATA%\..\LocalLow\FreeJam\Gamecraft\Player.Log /// - static class Logging + public static class Logging { [MethodImpl(MethodImplOptions.AggressiveInlining)] public static void Log(string msg)