Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
DeathCommand.cs
Go to the documentation of this file.
3
5
6[ChatCommand("Death")]
8{
9 private static readonly Color RESPONSE_COLOR = new Color(255, 25, 25);
10
11 public void ProcessIncomingMessage(string text, byte clientId)
12 {
13 NetworkText text2 = NetworkText.FromKey("LegacyMultiplayer.23", Main.player[clientId].name, Main.player[clientId].numberOfDeathsPVE);
14 if (Main.player[clientId].numberOfDeathsPVE == 1)
15 {
16 text2 = NetworkText.FromKey("LegacyMultiplayer.25", Main.player[clientId].name, Main.player[clientId].numberOfDeathsPVE);
17 }
19 }
20
22 {
23 }
24}
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 FromKey(string key, params object[] substitutions)
static Player[] player
Definition Main.cs:1803