Add missing public accessibility
This commit is contained in:
parent
f13d634a2c
commit
15a73ecfab
10 changed files with 10 additions and 10 deletions
|
@ -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";
|
||||||
|
|
||||||
|
|
|
@ -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";
|
||||||
|
|
||||||
|
|
|
@ -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)
|
||||||
{
|
{
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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; }
|
||||||
|
|
||||||
|
|
|
@ -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; }
|
||||||
|
|
||||||
|
|
|
@ -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; }
|
||||||
|
|
||||||
|
|
|
@ -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;
|
||||||
|
|
||||||
|
|
|
@ -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();
|
||||||
|
|
||||||
|
|
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue