From 929dccb75a1405737975d76648e015a3e7c00177 Mon Sep 17 00:00:00 2001 From: Jesse Plamondon-Willard Date: Sat, 7 Oct 2017 23:07:10 -0400 Subject: reorganise repo structure --- src/StardewModdingAPI/Framework/Command.cs | 40 ------------------------------ 1 file changed, 40 deletions(-) delete mode 100644 src/StardewModdingAPI/Framework/Command.cs (limited to 'src/StardewModdingAPI/Framework/Command.cs') diff --git a/src/StardewModdingAPI/Framework/Command.cs b/src/StardewModdingAPI/Framework/Command.cs deleted file mode 100644 index 943e018d..00000000 --- a/src/StardewModdingAPI/Framework/Command.cs +++ /dev/null @@ -1,40 +0,0 @@ -using System; - -namespace StardewModdingAPI.Framework -{ - /// A command that can be submitted through the SMAPI console to interact with SMAPI. - internal class Command - { - /********* - ** Accessor - *********/ - /// The friendly name for the mod that registered the command. - public string ModName { get; } - - /// The command name, which the user must type to trigger it. - public string Name { get; } - - /// The human-readable documentation shown when the player runs the built-in 'help' command. - public string Documentation { get; } - - /// The method to invoke when the command is triggered. This method is passed the command name and arguments submitted by the user. - public Action Callback { get; } - - - /********* - ** Public methods - *********/ - /// Construct an instance. - /// The friendly name for the mod that registered the command. - /// The command name, which the user must type to trigger it. - /// The human-readable documentation shown when the player runs the built-in 'help' command. - /// The method to invoke when the command is triggered. This method is passed the command name and arguments submitted by the user. - public Command(string modName, string name, string documentation, Action callback) - { - this.ModName = modName; - this.Name = name; - this.Documentation = documentation; - this.Callback = callback; - } - } -} -- cgit