Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
EmoteCommand.cs
Go to the documentation of this file.
3
5
6[ChatCommand("Emote")]
8{
9 private static readonly Color RESPONSE_COLOR = new Color(200, 100, 0);
10
11 public void ProcessIncomingMessage(string text, byte clientId)
12 {
13 if (text != "")
14 {
15 text = $"*{Main.player[clientId].name} {text}";
17 }
18 }
19
21 {
22 }
23}
static void BroadcastChatMessage(NetworkText text, Color color, int excludedPlayer=-1)
Definition ChatHelper.cs:46
void ProcessOutgoingMessage(ChatMessage message)
void ProcessIncomingMessage(string text, byte clientId)
static readonly Color RESPONSE_COLOR
static NetworkText FromLiteral(string text)