mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-31 21:03:43 +01:00
explicitly make ICommandInfo => IReadOnlyCommandInfo
This commit is contained in:
parent
29f951c309
commit
d628be9536
3 changed files with 21 additions and 21 deletions
|
|
@ -12,7 +12,7 @@ public interface ICommandManager
|
|||
/// <summary>
|
||||
/// Gets a read-only list of all registered commands.
|
||||
/// </summary>
|
||||
public ReadOnlyDictionary<string, ICommandInfo> Commands { get; }
|
||||
public ReadOnlyDictionary<string, IReadOnlyCommandInfo> Commands { get; }
|
||||
|
||||
/// <summary>
|
||||
/// Process a command in full.
|
||||
|
|
@ -27,7 +27,7 @@ public interface ICommandManager
|
|||
/// <param name="command">The command to dispatch.</param>
|
||||
/// <param name="argument">The provided arguments.</param>
|
||||
/// <param name="info">A <see cref="CommandInfo"/> object describing this command.</param>
|
||||
public void DispatchCommand(string command, string argument, CommandInfo info);
|
||||
public void DispatchCommand(string command, string argument, IReadOnlyCommandInfo info);
|
||||
|
||||
/// <summary>
|
||||
/// Add a command handler, which you can use to add your own custom commands to the in-game chat.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue