Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
LabelTarget.cs
Go to the documentation of this file.
2
3public sealed class LabelTarget
4{
5 public string? Name { get; }
6
7 public Type Type { get; }
8
9 internal LabelTarget(Type type, string name)
10 {
11 Type = type;
12 Name = name;
13 }
14
15 public override string ToString()
16 {
17 if (!string.IsNullOrEmpty(Name))
18 {
19 return Name;
20 }
21 return "UnamedLabel";
22 }
23}
LabelTarget(Type type, string name)
Definition LabelTarget.cs:9