diff options
Diffstat (limited to 'src/StardewModdingAPI/Events/EventArgsCommand.cs')
-rw-r--r-- | src/StardewModdingAPI/Events/EventArgsCommand.cs | 19 |
1 files changed, 15 insertions, 4 deletions
diff --git a/src/StardewModdingAPI/Events/EventArgsCommand.cs b/src/StardewModdingAPI/Events/EventArgsCommand.cs index fd2d4a51..ddf644fb 100644 --- a/src/StardewModdingAPI/Events/EventArgsCommand.cs +++ b/src/StardewModdingAPI/Events/EventArgsCommand.cs @@ -2,13 +2,24 @@ namespace StardewModdingAPI.Events { + /// <summary>Event arguments for a <see cref="StardewModdingAPI.Command.CommandFired"/> event.</summary> public class EventArgsCommand : EventArgs { + /********* + ** Accessors + *********/ + /// <summary>The triggered command.</summary> + public Command Command { get; private set; } + + + /********* + ** Public methods + *********/ + /// <summary>Construct an instance.</summary> + /// <param name="command">The triggered command.</param> public EventArgsCommand(Command command) { - Command = command; + this.Command = command; } - - public Command Command { get; private set; } } -}
\ No newline at end of file +} |