Interface ICommandActor
Represents an actor that can execute commands.
Inherited Members
Namespace: OpenMod.API.Commands
Assembly: OpenMod.API.dll
Syntax
public interface ICommandActor : IPermissionActor
Methods
| Improve this Doc View SourcePrintMessageAsync(String)
Prints a message to the actor.
Declaration
Task PrintMessageAsync(string message)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | The message to print. |
Returns
Type | Description |
---|---|
Task |
PrintMessageAsync(String, Color)
Prints a colored message to the actor.
Declaration
Task PrintMessageAsync(string message, Color color)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | The message to print. |
Color | color | The color of the message. |
Returns
Type | Description |
---|---|
Task |