tModLoader  0.12 Alpha
A mod to make and play Terraria mods
Terraria.Chat.ChatMessage Class Reference

Public Member Functions

 ChatMessage (string message)
 
void Consume ()
 
int GetMaxSerializedSize ()
 
void Serialize (BinaryWriter writer)
 
void SetCommand (ChatCommandId commandId)
 
void SetCommand< T > ()
 

Static Public Member Functions

static ChatMessage Deserialize (BinaryReader reader)
 

Properties

ChatCommandId CommandId [get]
 
bool IsConsumed [get]
 
string Text [get, set]