blob: bae136941015d0905040ffc7964cc97e37cc39a3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
using System;
namespace StardewModdingAPI.Events
{
/// <summary>Event arguments for a <see cref="StardewModdingAPI.Command.CommandFired"/> event.</summary>
[Obsolete("Use " + nameof(IModHelper) + "." + nameof(IModHelper.ConsoleCommands))]
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)
{
this.Command = command;
}
}
}
|