MinecraftConsoles/Minecraft.Server.FourKit/Command/CommandSender.cs
sylvessa f5f9aa1cf5 finish rewrite; port to cmake, loads of other changes
Theres documentation at https://sylvessa.zip/fourkit/ now. And a bunch of other changes. Check the discord server for a more comprehensive list
2026-03-21 14:01:49 -05:00

26 lines
708 B
C#

namespace Minecraft.Server.FourKit.Command;
/// <summary>
/// Represents something that can send commands and receive messages.
/// </summary>
public interface CommandSender
{
/// <summary>
/// Sends this sender a message.
/// </summary>
/// <param name="message">Message to be displayed.</param>
void sendMessage(string message);
/// <summary>
/// Sends this sender multiple messages.
/// </summary>
/// <param name="messages">An array of messages to be displayed.</param>
void sendMessage(string[] messages);
/// <summary>
/// Gets the name of this command sender.
/// </summary>
/// <returns>Name of the sender.</returns>
string getName();
}