tModLoader v2025.03
A mod to make and play Terraria mods
All Classes Namespaces Functions Variables Enumerations Enumerator Properties Events Pages
ChatCommandProcessor Class Reference

Inherits 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 ChatCommandProcessor.AddCommand< T > ( )
Type Constraints
T :IChatCommand 
T :new() 

◆ AddDefaultCommand< T >()

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

◆ CreateOutgoingMessage()

ChatMessage ChatCommandProcessor.CreateOutgoingMessage ( string  text)

Implements IChatProcessor.

◆ ProcessIncomingMessage()

void ChatCommandProcessor.ProcessIncomingMessage ( ChatMessage  message,
int  clientId 
)

Implements IChatProcessor.