tModLoader v2022.09
A mod to make and play Terraria mods
Terraria.Chat.ChatCommandProcessor Class Reference

Inherits Terraria.Chat.IChatProcessor.

Public Member Functions

void AddAlias (LocalizedText text, NetworkText result)
 
ChatCommandProcessor AddCommand< T > ()
 
ChatCommandProcessor AddDefaultCommand< T > ()
 
void ClearAliases ()
 
ChatMessage CreateOutgoingMessage (string text)
 
void ProcessIncomingMessage (ChatMessage message, int clientId)
 
ChatMessage CreateOutgoingMessage (string text)
 
void ProcessIncomingMessage (ChatMessage message, int clientId)
 

Member Function Documentation

◆ AddCommand< T >()

ChatCommandProcessor Terraria.Chat.ChatCommandProcessor.AddCommand< T > ( )
Type Constraints
T :IChatCommand 
T :new() 

◆ AddDefaultCommand< T >()

ChatCommandProcessor Terraria.Chat.ChatCommandProcessor.AddDefaultCommand< T > ( )
Type Constraints
T :IChatCommand 
T :new() 

◆ CreateOutgoingMessage()

ChatMessage Terraria.Chat.ChatCommandProcessor.CreateOutgoingMessage ( string  text)

◆ ProcessIncomingMessage()

void Terraria.Chat.ChatCommandProcessor.ProcessIncomingMessage ( ChatMessage  message,
int  clientId 
)