Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ Register< T >()

static void Terraria.UI.Chat.ChatManager.Register< T > ( params string[] names)
inlinestatic
Type Constraints
T :ITagHandler 
T :new() 

Definition at line 53 of file ChatManager.cs.

53 : ITagHandler, new()
54 {
55 T val = new T();
56 for (int i = 0; i < names.Length; i++)
57 {
58 _handlers[names[i].ToLower()] = val;
59 }
60 }
static ConcurrentDictionary< string, ITagHandler > _handlers

References Terraria.UI.Chat.ChatManager._handlers, System.Text.RegularExpressions.i, and System.T.