terraria-cpp2il-methodrecon v1.4.4.9
Terraria mobile dump, with reconstructed method body. Dump with CallAnalysis: https://infinitynichto.github.io/terraria-cpp2il
Loading...
Searching...
No Matches

◆ AddCommand< T >()

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

Definition at line 13 of file ChatCommandProcessor.cs.

13 : IChatCommand, new()
14 {
16 string text;
17 bool flag = Language.Exists(text);
20 bool flag2 = text == "ChatCommand.Playing";
22 return "ChatCommand.Playing_0";
23 }
class f__AnonymousType0<< Count > j__TPar
readonly Dictionary< ChatCommandId, IChatCommand > _commands
readonly Dictionary< LocalizedText, ChatCommandId > _localizedCommands
static LocalizedText GetText(string key)
Definition Language.cs:44
static bool Exists(string key)
Definition Language.cs:124

References Terraria.Chat.ChatCommandProcessor._commands, Terraria.Chat.ChatCommandProcessor._localizedCommands, Terraria.Localization.Language.Exists(), Terraria.Localization.Language.GetText(), j__TPar, and System.text.