summaryrefslogtreecommitdiff
path: root/src/SMAPI.Mods.ConsoleCommands/Framework/Commands/ITrainerCommand.cs
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2021-01-22 20:29:08 -0500
committerJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2021-01-22 20:29:08 -0500
commit4b5dd0f2c9ed530e97a783aedb3de73425d24516 (patch)
treee0f10f631f6858c4abe6fe50e2631a9e12b90553 /src/SMAPI.Mods.ConsoleCommands/Framework/Commands/ITrainerCommand.cs
parentcea8e557efef1be5466cbb7102b4e163c34394c2 (diff)
downloadSMAPI-4b5dd0f2c9ed530e97a783aedb3de73425d24516.tar.gz
SMAPI-4b5dd0f2c9ed530e97a783aedb3de73425d24516.tar.bz2
SMAPI-4b5dd0f2c9ed530e97a783aedb3de73425d24516.zip
rename TrainerCommand to ConsoleCommand to match the rest of the code
Diffstat (limited to 'src/SMAPI.Mods.ConsoleCommands/Framework/Commands/ITrainerCommand.cs')
-rw-r--r--src/SMAPI.Mods.ConsoleCommands/Framework/Commands/ITrainerCommand.cs40
1 files changed, 0 insertions, 40 deletions
diff --git a/src/SMAPI.Mods.ConsoleCommands/Framework/Commands/ITrainerCommand.cs b/src/SMAPI.Mods.ConsoleCommands/Framework/Commands/ITrainerCommand.cs
deleted file mode 100644
index d4d36e5d..00000000
--- a/src/SMAPI.Mods.ConsoleCommands/Framework/Commands/ITrainerCommand.cs
+++ /dev/null
@@ -1,40 +0,0 @@
-namespace StardewModdingAPI.Mods.ConsoleCommands.Framework.Commands
-{
- /// <summary>A console command to register.</summary>
- internal interface ITrainerCommand
- {
- /*********
- ** Accessors
- *********/
- /// <summary>The command name the user must type.</summary>
- string Name { get; }
-
- /// <summary>The command description.</summary>
- string Description { get; }
-
- /// <summary>Whether the command may need to perform logic when the game updates. This value shouldn't change.</summary>
- bool MayNeedUpdate { get; }
-
- /// <summary>Whether the command may need to perform logic when the player presses a button. This value shouldn't change.</summary>
- bool MayNeedInput { get; }
-
-
- /*********
- ** Public methods
- *********/
- /// <summary>Handle the command.</summary>
- /// <param name="monitor">Writes messages to the console and log file.</param>
- /// <param name="command">The command name.</param>
- /// <param name="args">The command arguments.</param>
- void Handle(IMonitor monitor, string command, ArgumentParser args);
-
- /// <summary>Perform any logic needed on update tick.</summary>
- /// <param name="monitor">Writes messages to the console and log file.</param>
- void OnUpdated(IMonitor monitor);
-
- /// <summary>Perform any logic when input is received.</summary>
- /// <param name="monitor">Writes messages to the console and log file.</param>
- /// <param name="button">The button that was pressed.</param>
- void OnButtonPressed(IMonitor monitor, SButton button);
- }
-}