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/ICommandHelper.cs | 26 -------------------------- 1 file changed, 26 deletions(-) delete mode 100644 src/StardewModdingAPI/ICommandHelper.cs (limited to 'src/StardewModdingAPI/ICommandHelper.cs') diff --git a/src/StardewModdingAPI/ICommandHelper.cs b/src/StardewModdingAPI/ICommandHelper.cs deleted file mode 100644 index fb562e32..00000000 --- a/src/StardewModdingAPI/ICommandHelper.cs +++ /dev/null @@ -1,26 +0,0 @@ -using System; - -namespace StardewModdingAPI -{ - /// Provides an API for managing console commands. - public interface ICommandHelper : IModLinked - { - /********* - ** Public methods - *********/ - /// Add a console 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. - /// The or is null or empty. - /// The is not a valid format. - /// There's already a command with that name. - ICommandHelper Add(string name, string documentation, Action callback); - - /// Trigger a command. - /// The command name. - /// The command arguments. - /// Returns whether a matching command was triggered. - bool Trigger(string name, string[] arguments); - } -} -- cgit