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
XnaContentSource.cs
Go to the documentation of this file.
1using System;
3using System.IO;
9
11{
12 [global::Cpp2ILInjected.Token(Token = "0x2000B4F")]
14 {
15 [global::Cpp2ILInjected.Token(Token = "0x17000928")]
17 {
19 [global::Cpp2ILInjected.Token(Token = "0x6005432")]
20 [global::Cpp2ILInjected.Address(RVA = "0x947D6C", Offset = "0x947D6C", Length = "0x8")]
21 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
22 get
23 {
24 throw null;
25 }
27 [global::Cpp2ILInjected.Token(Token = "0x6005433")]
28 [global::Cpp2ILInjected.Address(RVA = "0x947D74", Offset = "0x947D74", Length = "0x8")]
29 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
30 set
31 {
32 throw null;
33 }
34 }
35
36 [global::Cpp2ILInjected.Token(Token = "0x6005434")]
37 [global::Cpp2ILInjected.Address(RVA = "0x947D7C", Offset = "0x947D7C", Length = "0xD0")]
38 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
39 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(HashSet<object>), Member = ".ctor", ReturnType = typeof(void))]
40 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(RejectedAssetCollection), Member = ".ctor", ReturnType = typeof(void))]
41 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
42 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "Replace", MemberParameters = new object[]
43 {
44 typeof(char),
45 typeof(char)
46 }, ReturnType = typeof(string))]
47 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 5)]
49 {
50 throw null;
51 }
52
53 [global::Cpp2ILInjected.Token(Token = "0x6005435")]
54 [global::Cpp2ILInjected.Address(RVA = "0x947E4C", Offset = "0x947E4C", Length = "0xE0")]
55 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
56 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
57 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(HashSet<object>), Member = "Clear", ReturnType = typeof(void))]
58 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Directory), Member = "GetFiles", MemberParameters = new object[]
59 {
60 typeof(string),
61 typeof(string),
63 }, ReturnType = typeof(string[]))]
64 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "ToLower", ReturnType = typeof(string))]
65 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(HashSet<object>), Member = "Add", MemberParameters = new object[] { typeof(object) }, ReturnType = typeof(bool))]
66 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 3)]
67 private void BuildFileMap()
68 {
69 throw null;
70 }
71
72 [global::Cpp2ILInjected.Token(Token = "0x6005436")]
73 [global::Cpp2ILInjected.Address(RVA = "0x947F2C", Offset = "0x947F2C", Length = "0xEC")]
74 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
75 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Path), Member = "Combine", MemberParameters = new object[]
76 {
77 typeof(string),
78 typeof(string)
79 }, ReturnType = typeof(string))]
80 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "Concat", MemberParameters = new object[]
81 {
82 typeof(string),
83 typeof(string)
84 }, ReturnType = typeof(string))]
85 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(RejectedAssetCollection), Member = "IsRejected", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(bool))]
86 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "ToLower", ReturnType = typeof(string))]
87 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(HashSet<object>), Member = "Contains", MemberParameters = new object[] { typeof(object) }, ReturnType = typeof(bool))]
88 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 4)]
89 public bool HasAsset(string assetName)
90 {
91 throw null;
92 }
93
94 [global::Cpp2ILInjected.Token(Token = "0x6005437")]
95 [global::Cpp2ILInjected.Address(RVA = "0x948018", Offset = "0x948018", Length = "0x40")]
96 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
97 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
98 public string GetExtension(string assetName)
99 {
100 throw null;
101 }
102
103 [global::Cpp2ILInjected.Token(Token = "0x6005438")]
104 [global::Cpp2ILInjected.Address(RVA = "0x948058", Offset = "0x948058", Length = "0x130")]
105 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
106 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
107 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Path), Member = "Combine", MemberParameters = new object[]
108 {
109 typeof(string),
110 typeof(string)
111 }, ReturnType = typeof(string))]
112 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "Concat", MemberParameters = new object[]
113 {
114 typeof(string),
115 typeof(string)
116 }, ReturnType = typeof(string))]
117 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(TitleContainer), Member = "OpenStream", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(Stream))]
118 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(AssetLoadException), Member = "FromMissingAsset", MemberParameters = new object[]
119 {
120 typeof(string),
122 }, ReturnType = typeof(AssetLoadException))]
123 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 14)]
125 {
126 throw null;
127 }
128
129 [global::Cpp2ILInjected.Token(Token = "0x6005439")]
130 [global::Cpp2ILInjected.Address(RVA = "0x948188", Offset = "0x948188", Length = "0xD8")]
131 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
132 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
133 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Assembly), Member = "GetEntryAssembly", ReturnType = typeof(Assembly))]
134 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Assembly), Member = "op_Equality", MemberParameters = new object[]
135 {
138 }, ReturnType = typeof(bool))]
139 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Assembly), Member = "GetCallingAssembly", ReturnType = typeof(Assembly))]
140 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Assembly), Member = "op_Inequality", MemberParameters = new object[]
141 {
144 }, ReturnType = typeof(bool))]
145 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Path), Member = "GetDirectoryName", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(string))]
146 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 3)]
147 public static string GetTitleLocationPath()
148 {
149 throw null;
150 }
151
152 [global::Cpp2ILInjected.Token(Token = "0x600543A")]
153 [global::Cpp2ILInjected.Address(RVA = "0x948260", Offset = "0x948260", Length = "0x8")]
154 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
155 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(RejectedAssetCollection), Member = "Reject", MemberParameters = new object[]
156 {
157 typeof(string),
159 }, ReturnType = typeof(void))]
160 public void RejectAsset(string assetName, IRejectionReason reason)
161 {
162 throw null;
163 }
164
165 [global::Cpp2ILInjected.Token(Token = "0x600543B")]
166 [global::Cpp2ILInjected.Address(RVA = "0x948268", Offset = "0x948268", Length = "0x8")]
167 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
168 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(RejectedAssetCollection), Member = "Clear", ReturnType = typeof(void))]
169 public void ClearRejections()
170 {
171 throw null;
172 }
173
174 [global::Cpp2ILInjected.Token(Token = "0x600543C")]
175 [global::Cpp2ILInjected.Address(RVA = "0x948270", Offset = "0x948270", Length = "0x8")]
176 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
177 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(RejectedAssetCollection), Member = "TryGetRejections", MemberParameters = new object[] { typeof(List<string>) }, ReturnType = typeof(bool))]
179 {
180 throw null;
181 }
182
183 [global::Cpp2ILInjected.Token(Token = "0x4008D18")]
184 [global::Cpp2ILInjected.FieldOffset(Offset = "0x10")]
185 private readonly string _rootDirectory;
186
187 [global::Cpp2ILInjected.Token(Token = "0x4008D19")]
188 [global::Cpp2ILInjected.FieldOffset(Offset = "0x18")]
190
192 [global::Cpp2ILInjected.Token(Token = "0x4008D1A")]
193 [global::Cpp2ILInjected.FieldOffset(Offset = "0x20")]
194 private IContentValidator <ContentValidator>k__BackingField;
195
196 [global::Cpp2ILInjected.Token(Token = "0x4008D1B")]
197 [global::Cpp2ILInjected.FieldOffset(Offset = "0x28")]
199 }
200}
class f__AnonymousType0<< Count > j__TPar
readonly RejectedAssetCollection _rejections
bool TryGetRejections(List< string > rejectionReasons)
IContentValidator< ContentValidator > k__BackingField
void RejectAsset(string assetName, IRejectionReason reason)