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

◆ GetMapObjectName()

static string Terraria.Lang.GetMapObjectName ( int id)
inlinestatic

Definition at line 65 of file Lang.cs.

66 {
67 if (_mapLegendCache != null)
68 {
69 return _mapLegendCache[id].Value;
70 }
71 return string.Empty;
72 }
static LocalizedText[] _mapLegendCache
Definition Lang.cs:47

References Terraria.Lang._mapLegendCache.

Referenced by Terraria.Main.DrawGuideCraftText(), Terraria.Main.DrawGuideCraftText_Old(), Terraria.Main.DrawInfoAccs(), and Terraria.Main.DrawMap().