Terraria v1.4.4.9
Terraria source code documentation
|
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 |
Definition at line 9 of file ChatCommandProcessor.cs.