terraria-cpp2il-methodrecon v1.4.4.9
Terraria mobile dump, with reconstructed method body. Dump with CallAnalysis: https://infinitynichto.github.io/terraria-cpp2il
Loading...
Searching...
No Matches
WorkshopIssueReporter.cs
Go to the documentation of this file.
1using System;
7
9{
10 // Token: 0x02000534 RID: 1332
12 {
13 // Token: 0x14000033 RID: 51
14 // (add) Token: 0x0600320E RID: 12814 RVA: 0x001F91FC File Offset: 0x001F73FC
15 // (remove) Token: 0x0600320F RID: 12815 RVA: 0x001F9220 File Offset: 0x001F7420
17 {
19 add
20 {
21 if (Delegate.Combine(this.OnNeedToOpenUI, value) != null)
22 {
23 }
24 }
26 remove
27 {
28 if (Delegate.Remove(this.OnNeedToOpenUI, value) != null)
29 {
30 }
31 }
32 }
33
34 // Token: 0x14000034 RID: 52
35 // (add) Token: 0x06003210 RID: 12816 RVA: 0x001F9244 File Offset: 0x001F7444
36 // (remove) Token: 0x06003211 RID: 12817 RVA: 0x001F9268 File Offset: 0x001F7468
38 {
40 add
41 {
42 if (Delegate.Combine(this.OnNeedToNotifyUI, value) != null)
43 {
44 }
45 }
47 remove
48 {
49 if (Delegate.Remove(this.OnNeedToNotifyUI, value) != null)
50 {
51 }
52 }
53 }
54
55 // Token: 0x06003212 RID: 12818 RVA: 0x000021DB File Offset: 0x000003DB
56 private void AddReport(string reportText)
57 {
58 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
59 }
60
61 // Token: 0x06003213 RID: 12819 RVA: 0x001F928C File Offset: 0x001F748C
63 {
64 return this._reports;
65 }
66
67 // Token: 0x06003214 RID: 12820 RVA: 0x001F92A0 File Offset: 0x001F74A0
68 private void OpenReportsScreen()
69 {
71 if (onNeedToOpenUI != null)
72 {
73 IntPtr invoke_impl = onNeedToOpenUI.invoke_impl;
74 IntPtr method_code = onNeedToOpenUI.method_code;
75 IntPtr method = onNeedToOpenUI.method;
76 return;
77 }
78 }
79
80 // Token: 0x06003215 RID: 12821 RVA: 0x001F92D0 File Offset: 0x001F74D0
81 private void NotifyReportsScreen()
82 {
84 if (onNeedToNotifyUI != null)
85 {
86 IntPtr invoke_impl = onNeedToNotifyUI.invoke_impl;
87 IntPtr method_code = onNeedToNotifyUI.method_code;
88 IntPtr method = onNeedToNotifyUI.method;
89 return;
90 }
91 }
92
93 // Token: 0x06003216 RID: 12822 RVA: 0x001F9300 File Offset: 0x001F7500
95 {
97 this.AddReport(textValue);
99 if (onNeedToOpenUI != null)
100 {
101 IntPtr invoke_impl = onNeedToOpenUI.invoke_impl;
102 IntPtr method_code = onNeedToOpenUI.method_code;
103 IntPtr method = onNeedToOpenUI.method;
104 return;
105 }
106 }
107
108 // Token: 0x06003217 RID: 12823 RVA: 0x001F933C File Offset: 0x001F753C
110 {
111 this.AddReport(text);
113 if (onNeedToOpenUI != null)
114 {
115 IntPtr invoke_impl = onNeedToOpenUI.invoke_impl;
116 IntPtr method_code = onNeedToOpenUI.method_code;
117 IntPtr method = onNeedToOpenUI.method;
118 return;
119 }
120 }
121
122 // Token: 0x06003218 RID: 12824 RVA: 0x001F9370 File Offset: 0x001F7570
124 {
126 this.AddReport(textValue);
128 if (onNeedToNotifyUI != null)
129 {
130 IntPtr invoke_impl = onNeedToNotifyUI.invoke_impl;
131 IntPtr method_code = onNeedToNotifyUI.method_code;
132 IntPtr method = onNeedToNotifyUI.method;
133 return;
134 }
135 }
136
137 // Token: 0x06003219 RID: 12825 RVA: 0x001F93AC File Offset: 0x001F75AC
139 {
140 string text;
141 this.AddReport(text);
143 if (onNeedToNotifyUI != null)
144 {
145 IntPtr invoke_impl = onNeedToNotifyUI.invoke_impl;
146 IntPtr method_code = onNeedToNotifyUI.method_code;
147 IntPtr method = onNeedToNotifyUI.method;
148 return;
149 }
150 }
151
152 // Token: 0x0600321A RID: 12826 RVA: 0x001F93E4 File Offset: 0x001F75E4
153 public void ReportDownloadProblem(string textKey, string path, Exception exception)
154 {
155 string text;
156 this.AddReport(text);
158 if (onNeedToNotifyUI != null)
159 {
160 IntPtr invoke_impl = onNeedToNotifyUI.invoke_impl;
161 IntPtr method_code = onNeedToNotifyUI.method_code;
162 IntPtr method = onNeedToNotifyUI.method;
163 return;
164 }
165 }
166
167 // Token: 0x0600321B RID: 12827 RVA: 0x001F941C File Offset: 0x001F761C
169 {
170 string text;
171 this.AddReport(text);
173 if (onNeedToNotifyUI != null)
174 {
175 IntPtr invoke_impl = onNeedToNotifyUI.invoke_impl;
176 IntPtr method_code = onNeedToNotifyUI.method_code;
177 IntPtr method = onNeedToNotifyUI.method;
178 return;
179 }
180 }
181
182 // Token: 0x0600321C RID: 12828 RVA: 0x001F9454 File Offset: 0x001F7654
184 {
185 }
186
187 // Token: 0x04003B70 RID: 15216
189 private Action OnNeedToOpenUI;
190
191 // Token: 0x04003B71 RID: 15217
193 private Action OnNeedToNotifyUI;
194
195 // Token: 0x04003B72 RID: 15218
196 private int _maxReports = 1000;
197
198 // Token: 0x04003B73 RID: 15219
200 }
201}
class f__AnonymousType0<< Count > j__TPar
static Delegate Combine(Delegate a, Delegate b)
Definition Delegate.cs:255
static Delegate Remove(Delegate source, Delegate value)
Definition Delegate.cs:278
static string GetTextValue(string key)
Definition Language.cs:54
void ReportManifestCreationProblem(string textKey, Exception exception)
void ReportDownloadProblem(string textKey, string path, Exception exception)
void ReportDelayedUploadProblemWithoutKnownReason(string textKey, string reasonValue)