Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
CollectionDataContractAttribute.cs
Go to the documentation of this file.
2
3[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct, Inherited = false, AllowMultiple = false)]
5{
6 private string _name;
7
8 private string _ns;
9
10 private string _itemName;
11
12 private string _keyName;
13
14 private string _valueName;
15
16 private bool _isReference;
17
19
21
23
25
27
29
30 public string? Namespace
31 {
32 get
33 {
34 return _ns;
35 }
36 set
37 {
38 _ns = value;
40 }
41 }
42
44
45 public string? Name
46 {
47 get
48 {
49 return _name;
50 }
51 set
52 {
53 _name = value;
55 }
56 }
57
59
60 public string? ItemName
61 {
62 get
63 {
64 return _itemName;
65 }
66 set
67 {
70 }
71 }
72
74
75 public string? KeyName
76 {
77 get
78 {
79 return _keyName;
80 }
81 set
82 {
85 }
86 }
87
89
90 public bool IsReference
91 {
92 get
93 {
94 return _isReference;
95 }
96 set
97 {
100 }
101 }
102
104
105 public string? ValueName
106 {
107 get
108 {
109 return _valueName;
110 }
111 set
112 {
115 }
116 }
117
119}