|
TModLoader v1.4.4.9
TModLoader source code documentation
|
|
inline |
Use this to respond to the Player that invoked this command. This method handles writing to the console, writing to chat, or sending messages over the network for you depending on the CommandType used. Avoid using Main.NewText, Console.WriteLine, or NetMessage.SendChatMessageToClient directly because the logic would change depending on CommandType.
| text | |
| color |
Implements Terraria.ModLoader.CommandCaller.
Definition at line 12 of file ConsoleCommandCaller.cs.
References Terraria.ModLoader.Console.