terraria-cpp2il v1.4.4.9
Terraria mobile dump, with CallAnalysis (see source code). Dump with reconstucted method: https://infinitynichto.github.io/terraria-cpp2il-methodrecon
Loading...
Searching...
No Matches
FileSystemContentSource.cs
Go to the documentation of this file.
1using System;
3using System.IO;
7using Terraria.IO;
8
10{
11 [global::Cpp2ILInjected.Token(Token = "0x2000B4D")]
13 {
14 [global::Cpp2ILInjected.Token(Token = "0x17000925")]
16 {
18 [global::Cpp2ILInjected.Token(Token = "0x600541F")]
19 [global::Cpp2ILInjected.Address(RVA = "0x947790", Offset = "0x947790", Length = "0x8")]
20 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
21 get
22 {
23 throw null;
24 }
26 [global::Cpp2ILInjected.Token(Token = "0x6005420")]
27 [global::Cpp2ILInjected.Address(RVA = "0x947798", Offset = "0x947798", Length = "0x8")]
28 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
29 set
30 {
31 throw null;
32 }
33 }
34
35 [global::Cpp2ILInjected.Token(Token = "0x17000926")]
36 public int FileCount
37 {
38 [global::Cpp2ILInjected.Token(Token = "0x6005421")]
39 [global::Cpp2ILInjected.Address(RVA = "0x9477A0", Offset = "0x9477A0", Length = "0x48")]
40 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
41 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Dictionary<object, object>), Member = "get_Count", ReturnType = typeof(int))]
42 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
43 get
44 {
45 throw null;
46 }
47 }
48
49 [global::Cpp2ILInjected.Token(Token = "0x6005422")]
50 [global::Cpp2ILInjected.Address(RVA = "0x9477E8", Offset = "0x9477E8", Length = "0x18C")]
51 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
52 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ResourcePack), Member = "GetContentSource", ReturnType = typeof(IContentSource))]
53 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
54 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Dictionary<object, object>), Member = ".ctor", ReturnType = typeof(void))]
55 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(RejectedAssetCollection), Member = ".ctor", ReturnType = typeof(void))]
56 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
57 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Path), Member = "GetFullPath", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(string))]
58 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "EndsWith", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(bool))]
59 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(char), Member = "ToString", ReturnType = typeof(string))]
60 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "Concat", MemberParameters = new object[]
61 {
62 typeof(string),
63 typeof(string)
64 }, ReturnType = typeof(string))]
65 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(FileSystemContentSource), Member = "BuildNameToAbsolutePathDictionary", ReturnType = typeof(void))]
66 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 10)]
68 {
69 throw null;
70 }
71
72 [global::Cpp2ILInjected.Token(Token = "0x6005423")]
73 [global::Cpp2ILInjected.Address(RVA = "0x947AD8", Offset = "0x947AD8", Length = "0x70")]
74 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
75 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(RejectedAssetCollection), Member = "IsRejected", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(bool))]
76 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Dictionary<object, object>), Member = "ContainsKey", MemberParameters = new object[] { typeof(object) }, ReturnType = typeof(bool))]
77 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
78 public bool HasAsset(string assetName)
79 {
80 throw null;
81 }
82
83 [global::Cpp2ILInjected.Token(Token = "0x6005424")]
84 [global::Cpp2ILInjected.Address(RVA = "0x947B48", Offset = "0x947B48", Length = "0xE4")]
85 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
86 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
87 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Dictionary<object, object>), Member = "TryGetValue", MemberParameters = new object[]
88 {
89 typeof(object),
90 typeof(ref object)
91 }, ReturnType = typeof(bool))]
92 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Path), Member = "GetExtension", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(string))]
93 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(AssetLoadException), Member = "FromMissingAsset", MemberParameters = new object[]
94 {
95 typeof(string),
97 }, ReturnType = typeof(AssetLoadException))]
98 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 6)]
99 public string GetExtension(string assetName)
100 {
101 throw null;
102 }
103
104 [global::Cpp2ILInjected.Token(Token = "0x6005425")]
105 [global::Cpp2ILInjected.Address(RVA = "0x947C2C", Offset = "0x947C2C", Length = "0x128")]
106 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
107 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
108 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Dictionary<object, object>), Member = "TryGetValue", MemberParameters = new object[]
109 {
110 typeof(object),
111 typeof(ref object)
112 }, ReturnType = typeof(bool))]
113 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(File), Member = "Exists", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(bool))]
114 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(File), Member = "OpenRead", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(FileStream))]
115 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(AssetLoadException), Member = "FromMissingAsset", MemberParameters = new object[]
116 {
117 typeof(string),
119 }, ReturnType = typeof(AssetLoadException))]
120 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 12)]
122 {
123 throw null;
124 }
125
126 [global::Cpp2ILInjected.Token(Token = "0x6005426")]
127 [global::Cpp2ILInjected.Address(RVA = "0x947974", Offset = "0x947974", Length = "0x164")]
128 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
129 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(FileSystemContentSource), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
130 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
131 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Directory), Member = "Exists", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(bool))]
132 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Directory), Member = "GetFiles", MemberParameters = new object[]
133 {
134 typeof(string),
135 typeof(string),
137 }, ReturnType = typeof(string[]))]
138 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Path), Member = "GetFullPath", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(string))]
139 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Path), Member = "GetExtension", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(string))]
140 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "Substring", MemberParameters = new object[]
141 {
142 typeof(int),
143 typeof(int)
144 }, ReturnType = typeof(string))]
145 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "Replace", MemberParameters = new object[]
146 {
147 typeof(char),
148 typeof(char)
149 }, ReturnType = typeof(string))]
150 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Dictionary<object, object>), Member = "set_Item", MemberParameters = new object[]
151 {
152 typeof(object),
153 typeof(object)
154 }, ReturnType = typeof(void))]
155 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 5)]
157 {
158 throw null;
159 }
160
161 [global::Cpp2ILInjected.Token(Token = "0x6005427")]
162 [global::Cpp2ILInjected.Address(RVA = "0x947D54", Offset = "0x947D54", Length = "0x8")]
163 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
164 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(RejectedAssetCollection), Member = "Reject", MemberParameters = new object[]
165 {
166 typeof(string),
168 }, ReturnType = typeof(void))]
169 public void RejectAsset(string assetName, IRejectionReason reason)
170 {
171 throw null;
172 }
173
174 [global::Cpp2ILInjected.Token(Token = "0x6005428")]
175 [global::Cpp2ILInjected.Address(RVA = "0x947D5C", Offset = "0x947D5C", Length = "0x8")]
176 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
177 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(RejectedAssetCollection), Member = "Clear", ReturnType = typeof(void))]
178 public void ClearRejections()
179 {
180 throw null;
181 }
182
183 [global::Cpp2ILInjected.Token(Token = "0x6005429")]
184 [global::Cpp2ILInjected.Address(RVA = "0x947D64", Offset = "0x947D64", Length = "0x8")]
185 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
186 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(RejectedAssetCollection), Member = "TryGetRejections", MemberParameters = new object[] { typeof(List<string>) }, ReturnType = typeof(bool))]
188 {
189 throw null;
190 }
191
193 [global::Cpp2ILInjected.Token(Token = "0x4008D14")]
194 [global::Cpp2ILInjected.FieldOffset(Offset = "0x10")]
195 private IContentValidator <ContentValidator>k__BackingField;
196
197 [global::Cpp2ILInjected.Token(Token = "0x4008D15")]
198 [global::Cpp2ILInjected.FieldOffset(Offset = "0x18")]
199 private readonly string _basePath;
200
201 [global::Cpp2ILInjected.Token(Token = "0x4008D16")]
202 [global::Cpp2ILInjected.FieldOffset(Offset = "0x20")]
204
205 [global::Cpp2ILInjected.Token(Token = "0x4008D17")]
206 [global::Cpp2ILInjected.FieldOffset(Offset = "0x28")]
208 }
209}
class f__AnonymousType0<< Count > j__TPar
bool TryGetRejections(List< string > rejectionReasons)
readonly Dictionary< string, string > _nameToAbsolutePath
void RejectAsset(string assetName, IRejectionReason reason)
IContentValidator< ContentValidator > k__BackingField