Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
XmlTextAttribute.cs
Go to the documentation of this file.
2
4
5[AttributeUsage(AttributeTargets.Property | AttributeTargets.Field | AttributeTargets.Parameter | AttributeTargets.ReturnValue)]
7{
8 private Type _type;
9
10 private string _dataType;
11
12 public Type? Type
13 {
14 get
15 {
16 return _type;
17 }
18 set
19 {
20 _type = value;
21 }
22 }
23
24 public string DataType
25 {
26 get
27 {
28 if (_dataType != null)
29 {
30 return _dataType;
31 }
32 return string.Empty;
33 }
35 set
36 {
38 }
39 }
40
42 {
43 }
44
46 {
47 _type = type;
48 }
49}