Browse Source

Add missing public accessibility

tags/v0.1.1.0
NGnius (Graham) 4 years ago
parent
commit
15a73ecfab
10 changed files with 10 additions and 10 deletions
  1. +1
    -1
      GamecraftModdingAPI/Blocks/MovementEngine.cs
  2. +1
    -1
      GamecraftModdingAPI/Blocks/RotationEngine.cs
  3. +1
    -1
      GamecraftModdingAPI/Commands/CommandPatch.cs
  4. +1
    -1
      GamecraftModdingAPI/Commands/SimpleCustomCommandEngine.cs
  5. +1
    -1
      GamecraftModdingAPI/Commands/SimpleCustomCommandEngine1.cs
  6. +1
    -1
      GamecraftModdingAPI/Commands/SimpleCustomCommandEngine2.cs
  7. +1
    -1
      GamecraftModdingAPI/Commands/SimpleCustomCommandEngine3.cs
  8. +1
    -1
      GamecraftModdingAPI/Main.cs
  9. +1
    -1
      GamecraftModdingAPI/Utility/ApiExclusiveGroups.cs
  10. +1
    -1
      GamecraftModdingAPI/Utility/Logging.cs

+ 1
- 1
GamecraftModdingAPI/Blocks/MovementEngine.cs 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";



+ 1
- 1
GamecraftModdingAPI/Blocks/RotationEngine.cs 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";



+ 1
- 1
GamecraftModdingAPI/Commands/CommandPatch.cs 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)
{


+ 1
- 1
GamecraftModdingAPI/Commands/SimpleCustomCommandEngine.cs 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


+ 1
- 1
GamecraftModdingAPI/Commands/SimpleCustomCommandEngine1.cs 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; }



+ 1
- 1
GamecraftModdingAPI/Commands/SimpleCustomCommandEngine2.cs 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; }



+ 1
- 1
GamecraftModdingAPI/Commands/SimpleCustomCommandEngine3.cs 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; }



+ 1
- 1
GamecraftModdingAPI/Main.cs 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;



+ 1
- 1
GamecraftModdingAPI/Utility/ApiExclusiveGroups.cs 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();



+ 1
- 1
GamecraftModdingAPI/Utility/Logging.cs 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)


Loading…
Cancel
Save