Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
Terraria.Chat.ChatCommandProcessor Class Reference

Public Member Functions

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

Static Private Member Functions

static bool HasLocalizedCommand (ChatMessage message, LocalizedText command)
 
static string RemoveCommandPrefix (string messageText, LocalizedText command)
 

Private Attributes

readonly Dictionary< LocalizedText, ChatCommandId_localizedCommands = new Dictionary<LocalizedText, ChatCommandId>()
 
readonly Dictionary< ChatCommandId, IChatCommand_commands = new Dictionary<ChatCommandId, IChatCommand>()
 
readonly Dictionary< LocalizedText, NetworkText_aliases = new Dictionary<LocalizedText, NetworkText>()
 
IChatCommand _defaultCommand
 

Detailed Description

Definition at line 9 of file ChatCommandProcessor.cs.


The documentation for this class was generated from the following file: