Add missing public accessibility

This commit is contained in:
NGnius (Graham) 2019-12-19 15:42:50 -05:00
parent f13d634a2c
commit 15a73ecfab
10 changed files with 10 additions and 10 deletions

View file

@ -26,7 +26,7 @@ namespace GamecraftModdingAPI.Blocks
/// <summary> /// <summary>
/// Engine which executes block movement actions /// Engine which executes block movement actions
/// </summary> /// </summary>
class MovementEngine : IApiEngine public class MovementEngine : IApiEngine
{ {
public string Name { get; } = "GamecraftModdingAPIMovementGameEngine"; public string Name { get; } = "GamecraftModdingAPIMovementGameEngine";

View file

@ -26,7 +26,7 @@ namespace GamecraftModdingAPI.Blocks
/// <summary> /// <summary>
/// Engine which executes block movement actions /// Engine which executes block movement actions
/// </summary> /// </summary>
class RotationEngine : IApiEngine public class RotationEngine : IApiEngine
{ {
public string Name { get; } = "GamecraftModdingAPIRotationGameEngine"; public string Name { get; } = "GamecraftModdingAPIRotationGameEngine";

View file

@ -24,7 +24,7 @@ namespace GamecraftModdingAPI.Commands
//[HarmonyPatch] //[HarmonyPatch]
//[HarmonyPatch(typeof(RobocraftX.GUI.CommandLine.CommandLineCompositionRoot))] //[HarmonyPatch(typeof(RobocraftX.GUI.CommandLine.CommandLineCompositionRoot))]
//[HarmonyPatch("Compose", new Type[] { typeof(UnityContext<FullGameCompositionRoot>), typeof(EnginesRoot), typeof(World), typeof(Action), typeof(MultiplayerInitParameters), typeof(StateSyncRegistrationHelper)})] //[HarmonyPatch("Compose", new Type[] { typeof(UnityContext<FullGameCompositionRoot>), 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) public static void Postfix(object contextHolder, EnginesRoot enginesRoot, World physicsWorld, Action reloadGame, MultiplayerInitParameters multiplayerParameters, StateSyncRegistrationHelper stateSyncReg)
{ {

View file

@ -12,7 +12,7 @@ namespace GamecraftModdingAPI.Commands
/// A simple implementation of ICustomCommandEngine sufficient for most commands. /// A simple implementation of ICustomCommandEngine sufficient for most commands.
/// This version is for commands which take 0 argument(s) /// This version is for commands which take 0 argument(s)
/// </summary> /// </summary>
class SimpleCustomCommandEngine : ICustomCommandEngine public class SimpleCustomCommandEngine : ICustomCommandEngine
{ {
/// <summary> /// <summary>
/// The name of the command /// The name of the command

View file

@ -12,7 +12,7 @@ namespace GamecraftModdingAPI.Commands
/// A simple implementation of ICustomCommandEngine sufficient for most commands. /// A simple implementation of ICustomCommandEngine sufficient for most commands.
/// This version is for commands which take 1 argument(s) /// This version is for commands which take 1 argument(s)
/// </summary> /// </summary>
class SimpleCustomCommandEngine<A> : ICustomCommandEngine public class SimpleCustomCommandEngine<A> : ICustomCommandEngine
{ {
public string Name { get; } public string Name { get; }

View file

@ -12,7 +12,7 @@ namespace GamecraftModdingAPI.Commands
/// A simple implementation of ICustomCommandEngine sufficient for most commands. /// A simple implementation of ICustomCommandEngine sufficient for most commands.
/// This version is for commands which take 2 argument(s) /// This version is for commands which take 2 argument(s)
/// </summary> /// </summary>
class SimpleCustomCommandEngine<A,B> : ICustomCommandEngine public class SimpleCustomCommandEngine<A,B> : ICustomCommandEngine
{ {
public string Name { get; } public string Name { get; }

View file

@ -12,7 +12,7 @@ namespace GamecraftModdingAPI.Commands
/// A simple implementation of ICustomCommandEngine sufficient for most commands. /// A simple implementation of ICustomCommandEngine sufficient for most commands.
/// This version is for commands which take 3 argument(s) /// This version is for commands which take 3 argument(s)
/// </summary> /// </summary>
class SimpleCustomCommandEngine<A,B,C> : ICustomCommandEngine public class SimpleCustomCommandEngine<A,B,C> : ICustomCommandEngine
{ {
public string Name { get; } public string Name { get; }

View file

@ -16,7 +16,7 @@ namespace GamecraftModdingAPI
/// The main class of the GamecraftModdingAPI. /// The main class of the GamecraftModdingAPI.
/// Use this to initialize the API before calling it. /// Use this to initialize the API before calling it.
/// </summary> /// </summary>
static class Main public static class Main
{ {
private static HarmonyInstance harmony; private static HarmonyInstance harmony;

View file

@ -8,7 +8,7 @@ using Svelto.ECS;
namespace GamecraftModdingAPI.Utility namespace GamecraftModdingAPI.Utility
{ {
static class ApiExclusiveGroups public static class ApiExclusiveGroups
{ {
public static readonly ExclusiveGroup eventsExclusiveGroup = new ExclusiveGroup(); public static readonly ExclusiveGroup eventsExclusiveGroup = new ExclusiveGroup();

View file

@ -12,7 +12,7 @@ namespace GamecraftModdingAPI.Utility
/// Utility class to access Gamecraft's built-in logging capabilities. /// Utility class to access Gamecraft's built-in logging capabilities.
/// The log is saved to %APPDATA%\..\LocalLow\FreeJam\Gamecraft\Player.Log /// The log is saved to %APPDATA%\..\LocalLow\FreeJam\Gamecraft\Player.Log
/// </summary> /// </summary>
static class Logging public static class Logging
{ {
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
public static void Log(string msg) public static void Log(string msg)