tModLoader v2023.01
A mod to make and play Terraria mods
Terraria.Chat.ChatHelper Class Reference

Static Public Member Functions

static void BroadcastChatMessage (NetworkText text, Color color, int excludedPlayer=-1)
 
static void BroadcastChatMessageAs (byte messageAuthor, NetworkText text, Color color, int excludedPlayer=-1)
 
static void ClearDelayedMessagesCache ()
 
static void DisplayMessage (NetworkText text, Color color, byte messageAuthor)
 
static void DisplayMessageOnClient (NetworkText text, Color color, int playerId)
 
static bool OnlySendToPlayersWhoAreLoggedIn (int clientIndex)
 
static void SendChatMessageFromClient (ChatMessage message)
 
static void SendChatMessageToClient (NetworkText text, Color color, int playerId)
 
static void SendChatMessageToClientAs (byte messageAuthor, NetworkText text, Color color, int playerId)
 
static void ShowCachedMessages ()