Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
ImportContext.cs
Go to the documentation of this file.
3
5
6public class ImportContext
7{
8 private readonly bool _shareTypes;
9
11
13
15
17
18 internal SchemaObjectCache Cache
19 {
20 get
21 {
22 if (_cache == null)
23 {
25 }
26 return _cache;
27 }
28 }
29
30 internal Hashtable Elements
31 {
32 get
33 {
34 if (_elements == null)
35 {
36 _elements = new Hashtable();
37 }
38 return _elements;
39 }
40 }
41
43 {
44 get
45 {
46 if (_mappings == null)
47 {
48 _mappings = new Hashtable();
49 }
50 return _mappings;
51 }
52 }
53
55 {
56 get
57 {
58 if (_typeIdentifiers == null)
59 {
61 }
62 return _typeIdentifiers;
63 }
64 }
65
66 public bool ShareTypes => _shareTypes;
67
68 public StringCollection Warnings => Cache.Warnings;
69
75
76 internal ImportContext()
78 {
79 }
80}
ImportContext(CodeIdentifiers? identifiers, bool shareTypes)