Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
NameTagHandler.cs
Go to the documentation of this file.
3
5
7{
8 TextSnippet ITagHandler.Parse(string text, Color baseColor, string options)
9 {
10 return new TextSnippet("<" + text.Replace("\\[", "[").Replace("\\]", "]") + ">", baseColor);
11 }
12
13 public static string GenerateTag(string name)
14 {
15 return "[n:" + name.Replace("[", "\\[").Replace("]", "\\]") + "]";
16 }
17}
TextSnippet Parse(string text, Color baseColor=default(Color), string options=null)