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
NetDiagnosticsUI.cs
Go to the documentation of this file.
1using System;
7
8namespace Terraria.UI
9{
10 [global::Cpp2ILInjected.Token(Token = "0x2000718")]
12 {
13 [global::Cpp2ILInjected.Token(Token = "0x6003C1A")]
14 [global::Cpp2ILInjected.Address(RVA = "0x148D464", Offset = "0x148D464", Length = "0x94")]
15 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
16 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
17 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Dictionary<int, NetDiagnosticsUI.CounterForMessage>), Member = "Clear", ReturnType = typeof(void))]
18 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
19 public void Reset()
20 {
21 throw null;
22 }
23
24 [global::Cpp2ILInjected.Token(Token = "0x6003C1B")]
25 [global::Cpp2ILInjected.Address(RVA = "0x148D500", Offset = "0x148D500", Length = "0x28")]
26 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
27 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
29 {
30 throw null;
31 }
32
33 [global::Cpp2ILInjected.Token(Token = "0x6003C1C")]
34 [global::Cpp2ILInjected.Address(RVA = "0x148D544", Offset = "0x148D544", Length = "0x28")]
35 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
36 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
38 {
39 throw null;
40 }
41
42 [global::Cpp2ILInjected.Token(Token = "0x6003C1D")]
43 [global::Cpp2ILInjected.Address(RVA = "0x148D588", Offset = "0x148D588", Length = "0xCC")]
44 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
45 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
46 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Dictionary<int, NetDiagnosticsUI.CounterForMessage>), Member = "TryGetValue", MemberParameters = new object[]
47 {
48 typeof(int),
50 }, ReturnType = typeof(bool))]
51 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Dictionary<int, NetDiagnosticsUI.CounterForMessage>), Member = "set_Item", MemberParameters = new object[]
52 {
53 typeof(int),
54 typeof(NetDiagnosticsUI.CounterForMessage)
55 }, ReturnType = typeof(void))]
56 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
58 {
59 throw null;
60 }
61
62 [global::Cpp2ILInjected.Token(Token = "0x6003C1E")]
63 [global::Cpp2ILInjected.Address(RVA = "0x148D654", Offset = "0x148D654", Length = "0xC8")]
64 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
65 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
66 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Dictionary<int, NetDiagnosticsUI.CounterForMessage>), Member = "TryGetValue", MemberParameters = new object[]
67 {
68 typeof(int),
70 }, ReturnType = typeof(bool))]
71 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Dictionary<int, NetDiagnosticsUI.CounterForMessage>), Member = "set_Item", MemberParameters = new object[]
72 {
73 typeof(int),
74 typeof(NetDiagnosticsUI.CounterForMessage)
75 }, ReturnType = typeof(void))]
76 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
78 {
79 throw null;
80 }
81
82 [global::Cpp2ILInjected.Token(Token = "0x6003C1F")]
83 [global::Cpp2ILInjected.Address(RVA = "0x148D71C", Offset = "0x148D71C", Length = "0x39C")]
84 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
85 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
86 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Dictionary<int, NetDiagnosticsUI.CounterForMessage>), Member = "get_Count", ReturnType = typeof(int))]
87 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Utils), Member = "DrawInvBG", MemberParameters = new object[]
88 {
90 typeof(int),
91 typeof(int),
92 typeof(int),
93 typeof(int),
95 }, ReturnType = typeof(void))]
96 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(int), Member = "ToString", ReturnType = typeof(string))]
97 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(NetDiagnosticsUI), Member = "DrawCounter", MemberParameters = new object[]
98 {
100 typeof(ref NetDiagnosticsUI.CounterForMessage),
101 typeof(string),
103 }, ReturnType = typeof(void))]
104 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Dictionary<int, NetDiagnosticsUI.CounterForMessage>), Member = "GetEnumerator", ReturnType = "Enumerator<TKey, TValue>")]
105 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Dictionary<int, NetDiagnosticsUI.CounterForMessage>.Enumerator), Member = "MoveNext", ReturnType = typeof(bool))]
106 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "Concat", MemberParameters = new object[]
107 {
108 typeof(string),
109 typeof(string)
110 }, ReturnType = typeof(string))]
111 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Dictionary<int, NetDiagnosticsUI.CounterForMessage>.Enumerator), Member = "Dispose", ReturnType = typeof(void))]
112 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 16)]
113 public void Draw(SpriteBatch spriteBatch)
114 {
115 throw null;
116 }
117
118 [global::Cpp2ILInjected.Token(Token = "0x6003C20")]
119 [global::Cpp2ILInjected.Address(RVA = "0x148DAB8", Offset = "0x148DAB8", Length = "0x378")]
120 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
121 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(NetDiagnosticsUI), Member = "Draw", MemberParameters = new object[] { typeof(SpriteBatch) }, ReturnType = typeof(void))]
122 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
123 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "Concat", MemberParameters = new object[]
124 {
125 typeof(string),
126 typeof(string)
127 }, ReturnType = typeof(string))]
128 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Utils), Member = "Remap", MemberParameters = new object[]
129 {
130 typeof(float),
131 typeof(float),
132 typeof(float),
133 typeof(float),
134 typeof(float),
135 typeof(bool)
136 }, ReturnType = typeof(float))]
137 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "hslToRgb", MemberParameters = new object[]
138 {
139 typeof(float),
140 typeof(float),
141 typeof(float),
142 typeof(byte)
143 }, ReturnType = typeof(Color))]
144 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(NetDiagnosticsUI), Member = "DrawText", MemberParameters = new object[]
145 {
147 typeof(string),
150 }, ReturnType = typeof(void))]
151 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "Format", MemberParameters = new object[]
152 {
153 typeof(string),
154 typeof(object)
155 }, ReturnType = typeof(string))]
156 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 16)]
157 private void DrawCounter(SpriteBatch spriteBatch, ref NetDiagnosticsUI.CounterForMessage counter, string title, Vector2 position)
158 {
159 throw null;
160 }
161
162 [global::Cpp2ILInjected.Token(Token = "0x6003C21")]
163 [global::Cpp2ILInjected.Address(RVA = "0x148DE30", Offset = "0x148DE30", Length = "0x124")]
164 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(NetDiagnosticsUI), Member = "DrawCounter", MemberParameters = new object[]
165 {
168 typeof(string),
170 }, ReturnType = typeof(void))]
171 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 6)]
172 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(SpriteBatch), Member = "DrawString", MemberParameters = new object[]
173 {
175 typeof(string),
177 typeof(Color),
178 typeof(float),
180 typeof(float),
182 typeof(float)
183 }, ReturnType = typeof(void))]
184 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 7)]
185 private void DrawText(SpriteBatch spriteBatch, string text, Vector2 pos, Color color)
186 {
187 throw null;
188 }
189
190 [global::Cpp2ILInjected.Token(Token = "0x6003C22")]
191 [global::Cpp2ILInjected.Address(RVA = "0x148DF54", Offset = "0x148DF54", Length = "0xA8")]
192 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
193 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Main), Member = "get_ActiveNetDiagnosticsUI", ReturnType = typeof(INetDiagnosticsUI))]
194 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
195 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Dictionary<int, NetDiagnosticsUI.CounterForMessage>), Member = ".ctor", ReturnType = typeof(void))]
196 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
197 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 5)]
199 {
200 throw null;
201 }
202
203 [global::Cpp2ILInjected.Token(Token = "0x4007B6E")]
204 [global::Cpp2ILInjected.FieldOffset(Offset = "0x10")]
206
207 [global::Cpp2ILInjected.Token(Token = "0x4007B6F")]
208 [global::Cpp2ILInjected.FieldOffset(Offset = "0x18")]
210
211 [global::Cpp2ILInjected.Token(Token = "0x4007B70")]
212 [global::Cpp2ILInjected.FieldOffset(Offset = "0x20")]
214
215 [global::Cpp2ILInjected.Token(Token = "0x4007B71")]
216 [global::Cpp2ILInjected.FieldOffset(Offset = "0x24")]
218
219 [global::Cpp2ILInjected.Token(Token = "0x2000719")]
220 private struct CounterForMessage
221 {
222 [global::Cpp2ILInjected.Token(Token = "0x6003C23")]
223 [global::Cpp2ILInjected.Address(RVA = "0x148D4F8", Offset = "0x148D4F8", Length = "0x8")]
224 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
225 public void Reset()
226 {
227 throw null;
228 }
229
230 [global::Cpp2ILInjected.Token(Token = "0x6003C24")]
231 [global::Cpp2ILInjected.Address(RVA = "0x148D528", Offset = "0x148D528", Length = "0x1C")]
232 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
234 {
235 throw null;
236 }
237
238 [global::Cpp2ILInjected.Token(Token = "0x6003C25")]
239 [global::Cpp2ILInjected.Address(RVA = "0x148D56C", Offset = "0x148D56C", Length = "0x1C")]
240 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
242 {
243 throw null;
244 }
245
246 [global::Cpp2ILInjected.Token(Token = "0x4007B72")]
247 [global::Cpp2ILInjected.FieldOffset(Offset = "0x0")]
248 public int timesReceived;
249
250 [global::Cpp2ILInjected.Token(Token = "0x4007B73")]
251 [global::Cpp2ILInjected.FieldOffset(Offset = "0x4")]
252 public int timesSent;
253
254 [global::Cpp2ILInjected.Token(Token = "0x4007B74")]
255 [global::Cpp2ILInjected.FieldOffset(Offset = "0x8")]
256 public int bytesReceived;
257
258 [global::Cpp2ILInjected.Token(Token = "0x4007B75")]
259 [global::Cpp2ILInjected.FieldOffset(Offset = "0xC")]
260 public int bytesSent;
261
262 [global::Cpp2ILInjected.Token(Token = "0x4007B76")]
263 [global::Cpp2ILInjected.FieldOffset(Offset = "0x10")]
265 }
266 }
267}
class f__AnonymousType0<< Count > j__TPar
Dictionary< int, NetDiagnosticsUI.CounterForMessage > _counterByModuleId
NetDiagnosticsUI.CounterForMessage[] _counterByMessageId
void CountReadMessage(int messageId, int messageLength)
void DrawCounter(SpriteBatch spriteBatch, ref NetDiagnosticsUI.CounterForMessage counter, string title, Vector2 position)
void CountSentMessage(int messageId, int messageLength)
void CountSentModuleMessage(int moduleMessageId, int messageLength)
void Draw(SpriteBatch spriteBatch)
void CountReadModuleMessage(int moduleMessageId, int messageLength)
void DrawText(SpriteBatch spriteBatch, string text, Vector2 pos, Color color)