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>
/// Engine which executes block movement actions
/// </summary>
class MovementEngine : IApiEngine
public class MovementEngine : IApiEngine
{
public string Name { get; } = "GamecraftModdingAPIMovementGameEngine";

View file

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

View file

@ -24,7 +24,7 @@ namespace GamecraftModdingAPI.Commands
//[HarmonyPatch]
//[HarmonyPatch(typeof(RobocraftX.GUI.CommandLine.CommandLineCompositionRoot))]
//[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)
{

View file

@ -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)
/// </summary>
class SimpleCustomCommandEngine : ICustomCommandEngine
public class SimpleCustomCommandEngine : ICustomCommandEngine
{
/// <summary>
/// The name of the command

View file

@ -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)
/// </summary>
class SimpleCustomCommandEngine<A> : ICustomCommandEngine
public class SimpleCustomCommandEngine<A> : ICustomCommandEngine
{
public string Name { get; }

View file

@ -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)
/// </summary>
class SimpleCustomCommandEngine<A,B> : ICustomCommandEngine
public class SimpleCustomCommandEngine<A,B> : ICustomCommandEngine
{
public string Name { get; }

View file

@ -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)
/// </summary>
class SimpleCustomCommandEngine<A,B,C> : ICustomCommandEngine
public class SimpleCustomCommandEngine<A,B,C> : ICustomCommandEngine
{
public string Name { get; }

View file

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

View file

@ -8,7 +8,7 @@ using Svelto.ECS;
namespace GamecraftModdingAPI.Utility
{
static class ApiExclusiveGroups
public static class ApiExclusiveGroups
{
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.
/// The log is saved to %APPDATA%\..\LocalLow\FreeJam\Gamecraft\Player.Log
/// </summary>
static class Logging
public static class Logging
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public static void Log(string msg)