|
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 11 of file ChatCommandCaller.cs.
References Terraria.Main.NewText().
Here is the call graph for this function: