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
Netplay.cs
Go to the documentation of this file.
1using System;
3using System.IO;
4using System.Net;
12using Telepathy;
15using Terraria.IO;
17using Terraria.Map;
18using Terraria.Net;
19using Terraria.UI;
21using UnityEngine;
23
24namespace Terraria
25{
26 [global::Cpp2ILInjected.Token(Token = "0x2000402")]
27 public class Netplay
28 {
29 [global::Cpp2ILInjected.Token(Token = "0x1400002A")]
30 public static event Action OnDisconnect
31 {
33 [global::Cpp2ILInjected.Token(Token = "0x60020EC")]
34 [global::Cpp2ILInjected.Address(RVA = "0x10B925C", Offset = "0x10B925C", Length = "0xDC")]
35 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
36 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
37 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Delegate), Member = "Combine", MemberParameters = new object[]
38 {
41 }, ReturnType = typeof(Delegate))]
42 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 6)]
43 add
44 {
45 throw null;
46 }
48 [global::Cpp2ILInjected.Token(Token = "0x60020ED")]
49 [global::Cpp2ILInjected.Address(RVA = "0x10B9338", Offset = "0x10B9338", Length = "0xDC")]
50 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
51 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
52 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Delegate), Member = "Remove", MemberParameters = new object[]
53 {
56 }, ReturnType = typeof(Delegate))]
57 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 6)]
58 remove
59 {
60 throw null;
61 }
62 }
63
64 [global::Cpp2ILInjected.Token(Token = "0x60020EE")]
65 [global::Cpp2ILInjected.Address(RVA = "0x10B9414", Offset = "0x10B9414", Length = "0x64")]
66 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
67 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Netplay), Member = "GetLocalIPAddress", ReturnType = typeof(string))]
68 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
69 private static void OpenPort()
70 {
71 throw null;
72 }
73
74 [global::Cpp2ILInjected.Token(Token = "0x60020EF")]
75 [global::Cpp2ILInjected.Address(RVA = "0x10B95EC", Offset = "0x10B95EC", Length = "0x4")]
76 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
77 public static void closePort()
78 {
79 throw null;
80 }
81
82 [global::Cpp2ILInjected.Token(Token = "0x60020F0")]
83 [global::Cpp2ILInjected.Address(RVA = "0x10B9478", Offset = "0x10B9478", Length = "0x174")]
84 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
85 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Netplay), Member = "OpenPort", ReturnType = typeof(void))]
86 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
87 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Dns), Member = "GetHostName", ReturnType = typeof(string))]
88 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Dns), Member = "GetHostEntry", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(IPHostEntry))]
89 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(IPAddress), Member = "get_AddressFamily", ReturnType = typeof(AddressFamily))]
90 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 15)]
91 public static string GetLocalIPAddress()
92 {
93 throw null;
94 }
95
96 [global::Cpp2ILInjected.Token(Token = "0x60020F1")]
97 [global::Cpp2ILInjected.Address(RVA = "0x10B95F0", Offset = "0x10B95F0", Length = "0xC0")]
98 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
99 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Netplay), Member = "ClientServerLoopSetup", MemberParameters = new object[] { typeof(RemoteAddress) }, ReturnType = typeof(void))]
100 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Netplay), Member = "ClientLoopSetup", MemberParameters = new object[] { typeof(RemoteAddress) }, ReturnType = typeof(void))]
101 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Netplay), Member = "ServerLoop", MemberParameters = new object[] { typeof(object) }, ReturnType = typeof(void))]
102 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 3)]
103 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "get_ActiveNetDiagnosticsUI", ReturnType = typeof(INetDiagnosticsUI))]
104 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 5)]
105 public static void ResetNetDiag()
106 {
107 throw null;
108 }
109
110 [global::Cpp2ILInjected.Token(Token = "0x60020F2")]
111 [global::Cpp2ILInjected.Address(RVA = "0x10B96B0", Offset = "0x10B96B0", Length = "0x114")]
112 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
113 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(WorldGen), Member = "FinaliseHardModeOnMainThread", MemberParameters = new object[] { typeof(object) }, ReturnType = typeof(void))]
114 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
115 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 5)]
116 public static void ResetSections()
117 {
118 throw null;
119 }
120
121 [global::Cpp2ILInjected.Token(Token = "0x60020F3")]
122 [global::Cpp2ILInjected.Address(RVA = "0x10B97C4", Offset = "0x10B97C4", Length = "0x278")]
123 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
124 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Main), Member = "startDedInputCallBack", ReturnType = typeof(void))]
125 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
126 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Server), Member = "GetClientAddress", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(string))]
127 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(StreamWriter), Member = ".ctor", MemberParameters = new object[]
128 {
129 typeof(string),
130 typeof(bool)
131 }, ReturnType = typeof(void))]
132 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "Concat", MemberParameters = new object[]
133 {
134 typeof(string),
135 typeof(string)
136 }, ReturnType = typeof(string))]
137 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 16)]
138 public static void AddBan(int plr)
139 {
140 throw null;
141 }
142
143 [global::Cpp2ILInjected.Token(Token = "0x60020F4")]
144 [global::Cpp2ILInjected.Address(RVA = "0x10B9A3C", Offset = "0x10B9A3C", Length = "0x370")]
145 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
146 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
147 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(FileUtilities), Member = "Exists", MemberParameters = new object[]
148 {
149 typeof(string),
150 typeof(bool)
151 }, ReturnType = typeof(bool))]
152 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(StreamReader), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
153 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "op_Equality", MemberParameters = new object[]
154 {
155 typeof(string),
156 typeof(string)
157 }, ReturnType = typeof(bool))]
158 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "Concat", MemberParameters = new object[]
159 {
160 typeof(string),
161 typeof(string)
162 }, ReturnType = typeof(string))]
163 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Debug), Member = "Log", MemberParameters = new object[] { typeof(object) }, ReturnType = typeof(void))]
164 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 27)]
165 public static bool IsBanned(RemoteAddress address)
166 {
167 throw null;
168 }
169
170 [global::Cpp2ILInjected.Token(Token = "0x60020F5")]
171 [global::Cpp2ILInjected.Address(RVA = "0x10B9DAC", Offset = "0x10B9DAC", Length = "0x65C")]
172 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
173 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Player), Member = "Spawn", MemberParameters = new object[] { typeof(PlayerSpawnContext) }, ReturnType = typeof(void))]
174 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
175 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "op_Equality", MemberParameters = new object[]
176 {
177 typeof(string),
178 typeof(string)
179 }, ReturnType = typeof(bool))]
180 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "IsNullOrEmpty", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(bool))]
181 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "ToLower", ReturnType = typeof(string))]
182 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "get_GameMode", ReturnType = typeof(int))]
183 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "SaveRecent", ReturnType = typeof(void))]
184 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Convert), Member = "ToString", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(string))]
185 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 31)]
186 public static void AddCurrentServerToRecentList()
187 {
188 throw null;
189 }
190
191 [global::Cpp2ILInjected.Token(Token = "0x60020F6")]
192 [global::Cpp2ILInjected.Address(RVA = "0x10BA408", Offset = "0x10BA408", Length = "0x2D0")]
193 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
194 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(GUIDeleteDedicatedServer), Member = "Delete", ReturnType = typeof(void))]
195 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
196 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "ToLower", ReturnType = typeof(string))]
197 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "op_Equality", MemberParameters = new object[]
198 {
199 typeof(string),
200 typeof(string)
201 }, ReturnType = typeof(bool))]
202 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "SaveRecent", ReturnType = typeof(void))]
203 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 13)]
204 public static void deleteDedicatedServer(string ip, int port)
205 {
206 throw null;
207 }
208
209 [global::Cpp2ILInjected.Token(Token = "0x60020F7")]
210 [global::Cpp2ILInjected.Address(RVA = "0x10BA6D8", Offset = "0x10BA6D8", Length = "0x4")]
211 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
212 public static void SocialClientLoop(object threadContext)
213 {
214 throw null;
215 }
216
217 [global::Cpp2ILInjected.Token(Token = "0x60020F8")]
218 [global::Cpp2ILInjected.Address(RVA = "0x10BA6DC", Offset = "0x10BA6DC", Length = "0x438")]
219 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
220 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
221 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(LocalUser), Member = "LoadThreadstate", ReturnType = typeof(void))]
222 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(TcpAddress), Member = ".ctor", MemberParameters = new object[]
223 {
225 typeof(int)
226 }, ReturnType = typeof(void))]
227 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Netplay), Member = "ClientServerLoopSetup", MemberParameters = new object[] { typeof(RemoteAddress) }, ReturnType = typeof(void))]
228 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "set_menuMode", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(void))]
229 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Client), Member = "Connect", MemberParameters = new object[]
230 {
231 typeof(string),
232 typeof(int)
233 }, ReturnType = typeof(void))]
234 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Client), Member = "get_Connecting", ReturnType = typeof(bool))]
235 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Thread), Member = "Sleep", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(void))]
236 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(DrPlatform), Member = "get_CurrentPlatform", ReturnType = typeof(DrPlatform.DrPlatformType))]
237 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Client), Member = "get_Connected", ReturnType = typeof(bool))]
238 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "get_gameMenu", ReturnType = typeof(bool))]
239 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Debug), Member = "Log", MemberParameters = new object[] { typeof(object) }, ReturnType = typeof(void))]
240 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Netplay), Member = "InnerClientLoop", ReturnType = typeof(void))]
241 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 36)]
242 public static void TcpLocalClientLoop(object threadContext)
243 {
244 throw null;
245 }
246
247 [global::Cpp2ILInjected.Token(Token = "0x60020F9")]
248 [global::Cpp2ILInjected.Address(RVA = "0x10BB3CC", Offset = "0x10BB3CC", Length = "0x714")]
249 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
250 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
251 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(LocalUser), Member = "LoadThreadstate", ReturnType = typeof(void))]
252 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "set_menuMode", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(void))]
253 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ContentManager), Member = "get_AsyncLoadStillRequired", ReturnType = typeof(bool))]
254 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Thread), Member = "Sleep", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(void))]
255 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(DateTime), Member = "get_Now", ReturnType = typeof(DateTime))]
256 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Client), Member = "Connect", MemberParameters = new object[]
257 {
258 typeof(string),
259 typeof(int)
260 }, ReturnType = typeof(void))]
261 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Client), Member = "get_Connecting", ReturnType = typeof(bool))]
262 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Client), Member = "get_Connected", ReturnType = typeof(bool))]
263 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(DrPlatform), Member = "get_CurrentPlatform", ReturnType = typeof(DrPlatform.DrPlatformType))]
264 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(DateTime), Member = "op_Subtraction", MemberParameters = new object[]
265 {
268 }, ReturnType = typeof(TimeSpan))]
269 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(TimeSpan), Member = "get_TotalSeconds", ReturnType = typeof(double))]
270 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Language), Member = "GetTextValue", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(string))]
271 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(PlatformUser), Member = "get_CurrentUser", ReturnType = typeof(PlatformUser))]
272 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "get_gameMenu", ReturnType = typeof(bool))]
273 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Debug), Member = "Log", MemberParameters = new object[] { typeof(object) }, ReturnType = typeof(void))]
274 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(EventWaitHandle), Member = "Set", ReturnType = typeof(bool))]
275 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Netplay), Member = "InnerClientLoop", ReturnType = typeof(void))]
276 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Profiler), Member = "EndThreadProfiling", ReturnType = typeof(void))]
277 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 51)]
278 public static void TcpClientLoop(object threadContext)
279 {
280 throw null;
281 }
282
283 [global::Cpp2ILInjected.Token(Token = "0x60020FA")]
284 [global::Cpp2ILInjected.Address(RVA = "0x10BAB14", Offset = "0x10BAB14", Length = "0x24C")]
285 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
286 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Netplay), Member = "TcpLocalClientLoop", MemberParameters = new object[] { typeof(object) }, ReturnType = typeof(void))]
287 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
288 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Netplay), Member = "ResetNetDiag", ReturnType = typeof(void))]
289 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "get_myPlayer", ReturnType = typeof(int))]
290 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Player), Member = ".ctor", ReturnType = typeof(void))]
291 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Player), Member = "clientClone", MemberParameters = new object[] { typeof(Player) }, ReturnType = typeof(object))]
292 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "set_menuMode", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(void))]
293 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Language), Member = "GetTextValue", MemberParameters = new object[]
294 {
295 typeof(string),
296 typeof(object)
297 }, ReturnType = typeof(string))]
298 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 14)]
299 private static void ClientServerLoopSetup(RemoteAddress address)
300 {
301 throw null;
302 }
303
304 [global::Cpp2ILInjected.Token(Token = "0x60020FB")]
305 [global::Cpp2ILInjected.Address(RVA = "0x10BBAE0", Offset = "0x10BBAE0", Length = "0x320")]
306 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
307 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Netplay), Member = "StartTcpClient", MemberParameters = new object[] { typeof(bool) }, ReturnType = typeof(void))]
308 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
309 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Netplay), Member = "ResetNetDiag", ReturnType = typeof(void))]
310 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "get_myPlayer", ReturnType = typeof(int))]
311 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Player), Member = ".ctor", ReturnType = typeof(void))]
312 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Player), Member = "clientClone", MemberParameters = new object[] { typeof(Player) }, ReturnType = typeof(object))]
313 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "set_menuMode", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(void))]
314 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(DrPlatform), Member = "get_CurrentPlatform", ReturnType = typeof(DrPlatform.DrPlatformType))]
315 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Language), Member = "GetTextValue", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(string))]
316 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(RemoteConnection), Member = ".ctor", ReturnType = typeof(void))]
317 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Language), Member = "GetTextValue", MemberParameters = new object[]
318 {
319 typeof(string),
320 typeof(object)
321 }, ReturnType = typeof(string))]
322 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 18)]
323 private static void ClientLoopSetup(RemoteAddress address)
324 {
325 throw null;
326 }
327
328 [global::Cpp2ILInjected.Token(Token = "0x60020FC")]
329 [global::Cpp2ILInjected.Address(RVA = "0x10BBE00", Offset = "0x10BBE00", Length = "0x1C8")]
330 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
331 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Netplay), Member = "UpdateClientNet", ReturnType = typeof(void))]
332 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
333 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Client), Member = "get_Connected", ReturnType = typeof(bool))]
334 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Common), Member = "GetNextMessage", MemberParameters = new object[] { typeof(ref Message) }, ReturnType = typeof(bool))]
335 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Debug), Member = "Log", MemberParameters = new object[] { typeof(object) }, ReturnType = typeof(void))]
336 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(MessageBuffer), Member = "ProcessData", MemberParameters = new object[]
337 {
338 typeof(byte[]),
339 typeof(int),
340 typeof(ref int)
341 }, ReturnType = typeof(void))]
342 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 12)]
343 public static void ClientUpdateFrame()
344 {
345 throw null;
346 }
347
348 [global::Cpp2ILInjected.Token(Token = "0x60020FD")]
349 [global::Cpp2ILInjected.Address(RVA = "0x10BBFC8", Offset = "0x10BBFC8", Length = "0x358")]
350 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
351 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Game), Member = "UnityServerUpdate", MemberParameters = new object[] { typeof(float) }, ReturnType = typeof(void))]
352 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Game), Member = "UnityUpdate", MemberParameters = new object[] { typeof(float) }, ReturnType = typeof(void))]
353 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
354 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Common), Member = "GetNextMessage", MemberParameters = new object[] { typeof(ref Message) }, ReturnType = typeof(bool))]
355 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Server), Member = "GetClientAddress", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(string))]
356 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(TcpAddress), Member = "IsLocalHost", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(bool))]
357 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(NetMessage), Member = "SendData", MemberParameters = new object[]
358 {
359 typeof(int),
360 typeof(int),
361 typeof(int),
363 typeof(int),
364 typeof(float),
365 typeof(float),
366 typeof(float),
367 typeof(int),
368 typeof(int),
369 typeof(int)
370 }, ReturnType = typeof(void))]
371 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(NetworkText), Member = "FromKey", MemberParameters = new object[]
372 {
373 typeof(string),
374 typeof(object[])
375 }, ReturnType = typeof(NetworkText))]
376 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(NetMessage), Member = "BootPlayer", MemberParameters = new object[]
377 {
378 typeof(int),
380 }, ReturnType = typeof(void))]
381 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(MessageBuffer), Member = "ProcessData", MemberParameters = new object[]
382 {
383 typeof(byte[]),
384 typeof(int),
385 typeof(ref int)
386 }, ReturnType = typeof(void))]
387 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Netplay), Member = "OnConnectionAccepted", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(void))]
388 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 19)]
389 public static void ServerUpdateFrame()
390 {
391 throw null;
392 }
393
394 [global::Cpp2ILInjected.Token(Token = "0x60020FE")]
395 [global::Cpp2ILInjected.Address(RVA = "0x10BC404", Offset = "0x10BC404", Length = "0x230")]
396 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
397 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Game), Member = "UnityUpdate", MemberParameters = new object[] { typeof(float) }, ReturnType = typeof(void))]
398 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
399 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "get_NetClientOnly", ReturnType = typeof(bool))]
400 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Netplay), Member = "ClientUpdateFrame", ReturnType = typeof(void))]
401 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(PlatformUser), Member = "get_CurrentUser", ReturnType = typeof(PlatformUser))]
402 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 11)]
403 public static void UpdateClientNet()
404 {
405 throw null;
406 }
407
408 [global::Cpp2ILInjected.Token(Token = "0x60020FF")]
409 [global::Cpp2ILInjected.Address(RVA = "0x10BC634", Offset = "0x10BC634", Length = "0xB34")]
410 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
411 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
412 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(DateTime), Member = "get_Now", ReturnType = typeof(DateTime))]
413 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Client), Member = "get_Connected", ReturnType = typeof(bool))]
414 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Language), Member = "GetTextValue", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(string))]
415 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(NetMessage), Member = "SendData", MemberParameters = new object[]
416 {
417 typeof(int),
418 typeof(int),
419 typeof(int),
421 typeof(int),
422 typeof(float),
423 typeof(float),
424 typeof(float),
425 typeof(int),
426 typeof(int),
427 typeof(int)
428 }, ReturnType = typeof(void))]
429 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "get_Quitting", ReturnType = typeof(bool))]
430 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Common), Member = "get_ReceiveQueueCount", ReturnType = typeof(int))]
431 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Common), Member = "GetNextMessage", MemberParameters = new object[] { typeof(ref Message) }, ReturnType = typeof(bool))]
432 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(MessageBuffer), Member = "ProcessData", MemberParameters = new object[]
433 {
434 typeof(byte[]),
435 typeof(int),
436 typeof(ref int)
437 }, ReturnType = typeof(void))]
438 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(GUISettingsOverlay), Member = "Shutdown", ReturnType = typeof(void))]
439 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Debug), Member = "LogWarning", MemberParameters = new object[] { typeof(object) }, ReturnType = typeof(void))]
440 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(EventWaitHandle), Member = "Set", ReturnType = typeof(bool))]
441 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Cloud), Member = "resetClouds", ReturnType = typeof(void))]
442 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "ToggleGameplayUpdates", MemberParameters = new object[] { typeof(bool) }, ReturnType = typeof(void))]
443 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(WorldGen), Member = "clearWorld", ReturnType = typeof(void))]
444 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "get_mapEnabled", ReturnType = typeof(bool))]
445 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "get_Map", ReturnType = typeof(WorldMap))]
446 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(WorldMap), Member = "Load", ReturnType = typeof(void))]
447 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "get_loadMapLock", ReturnType = typeof(bool))]
448 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "get_loadMapLastX", ReturnType = typeof(int))]
449 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(int), Member = "ToString", ReturnType = typeof(string))]
450 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "Concat", MemberParameters = new object[]
451 {
452 typeof(string),
453 typeof(string),
454 typeof(string),
455 typeof(string)
456 }, ReturnType = typeof(string))]
457 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "get_myPlayer", ReturnType = typeof(int))]
458 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Player), Member = "FindSpawn", ReturnType = typeof(void))]
459 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "op_Inequality", MemberParameters = new object[]
460 {
461 typeof(string),
462 typeof(string)
463 }, ReturnType = typeof(bool))]
464 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Language), Member = "GetTextValue", MemberParameters = new object[]
465 {
466 typeof(string),
467 typeof(object)
468 }, ReturnType = typeof(string))]
469 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "Concat", MemberParameters = new object[]
470 {
471 typeof(string),
472 typeof(string)
473 }, ReturnType = typeof(string))]
474 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Debug), Member = "Log", MemberParameters = new object[] { typeof(object) }, ReturnType = typeof(void))]
475 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 75)]
476 public static void ClientLoopFrameUpdate()
477 {
478 throw null;
479 }
480
481 [global::Cpp2ILInjected.Token(Token = "0x6002100")]
482 [global::Cpp2ILInjected.Address(RVA = "0x10BAD60", Offset = "0x10BAD60", Length = "0x66C")]
483 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
484 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Netplay), Member = "TcpLocalClientLoop", MemberParameters = new object[] { typeof(object) }, ReturnType = typeof(void))]
485 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Netplay), Member = "TcpClientLoop", MemberParameters = new object[] { typeof(object) }, ReturnType = typeof(void))]
486 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
487 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(MessageBuffer), Member = "Reset", MemberParameters = new object[] { typeof(bool) }, ReturnType = typeof(void))]
488 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Thread), Member = "Sleep", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(void))]
489 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Client), Member = "Disconnect", ReturnType = typeof(void))]
490 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Debug), Member = "Log", MemberParameters = new object[] { typeof(object) }, ReturnType = typeof(void))]
491 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "get_gameMenu", ReturnType = typeof(bool))]
492 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "set_gameMenu", MemberParameters = new object[] { typeof(bool) }, ReturnType = typeof(void))]
493 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "set_menuMode", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(void))]
494 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "get_SettingsSavePending", ReturnType = typeof(bool))]
495 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "SaveSettings", ReturnType = typeof(bool))]
496 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "get_ActivePlayerFileData", ReturnType = typeof(PlayerFileData))]
497 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Player), Member = "SavePlayer", MemberParameters = new object[]
498 {
500 typeof(bool),
501 typeof(bool)
502 }, ReturnType = typeof(void))]
503 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "get_menuMode", ReturnType = typeof(int))]
504 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Language), Member = "GetTextValue", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(string))]
505 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "op_Equality", MemberParameters = new object[]
506 {
507 typeof(string),
508 typeof(string)
509 }, ReturnType = typeof(bool))]
510 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "op_Inequality", MemberParameters = new object[]
511 {
512 typeof(string),
513 typeof(string)
514 }, ReturnType = typeof(bool))]
515 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "Concat", MemberParameters = new object[]
516 {
517 typeof(string),
518 typeof(string)
519 }, ReturnType = typeof(string))]
520 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Debug), Member = "LogWarning", MemberParameters = new object[] { typeof(object) }, ReturnType = typeof(void))]
521 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(EventWaitHandle), Member = "Set", ReturnType = typeof(bool))]
522 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 58)]
523 private static void InnerClientLoop()
524 {
525 throw null;
526 }
527
528 [global::Cpp2ILInjected.Token(Token = "0x6002101")]
529 [global::Cpp2ILInjected.Address(RVA = "0x10BD2CC", Offset = "0x10BD2CC", Length = "0x8")]
530 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
531 private static int FindNextOpenClientSlot()
532 {
533 throw null;
534 }
535
536 [global::Cpp2ILInjected.Token(Token = "0x6002102")]
537 [global::Cpp2ILInjected.Address(RVA = "0x10BC320", Offset = "0x10BC320", Length = "0xE4")]
538 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Netplay), Member = "ServerUpdateFrame", ReturnType = typeof(void))]
539 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
540 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(RemoteClient), Member = "Reset", MemberParameters = new object[] { typeof(bool) }, ReturnType = typeof(void))]
541 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Server), Member = "GetClientAddress", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(string))]
542 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "Concat", MemberParameters = new object[]
543 {
544 typeof(string),
545 typeof(string)
546 }, ReturnType = typeof(string))]
547 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Debug), Member = "Log", MemberParameters = new object[] { typeof(object) }, ReturnType = typeof(void))]
548 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 5)]
549 private static void OnConnectionAccepted(int clientId)
550 {
551 throw null;
552 }
553
554 [global::Cpp2ILInjected.Token(Token = "0x6002103")]
555 [global::Cpp2ILInjected.Address(RVA = "0x10BD44C", Offset = "0x10BD44C", Length = "0x64")]
556 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Netplay), Member = "ServerLoop", MemberParameters = new object[] { typeof(object) }, ReturnType = typeof(void))]
557 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 3)]
558 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Server), Member = "Start", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(bool))]
559 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
560 private static bool StartListening()
561 {
562 throw null;
563 }
564
565 [global::Cpp2ILInjected.Token(Token = "0x6002104")]
566 [global::Cpp2ILInjected.Address(RVA = "0x10BD4B0", Offset = "0x10BD4B0", Length = "0x60")]
567 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Netplay), Member = "ServerLoop", MemberParameters = new object[] { typeof(object) }, ReturnType = typeof(void))]
568 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
569 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Server), Member = "Stop", ReturnType = typeof(void))]
570 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
571 private static void StopListening()
572 {
573 throw null;
574 }
575
576 [global::Cpp2ILInjected.Token(Token = "0x6002105")]
577 [global::Cpp2ILInjected.Address(RVA = "0x10BD510", Offset = "0x10BD510", Length = "0xA08")]
578 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
579 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
580 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(UdpClient), Member = ".ctor", ReturnType = typeof(void))]
581 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(IPEndPoint), Member = ".ctor", MemberParameters = new object[]
582 {
584 typeof(int)
585 }, ReturnType = typeof(void))]
586 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(UdpClient), Member = "set_EnableBroadcast", MemberParameters = new object[] { typeof(bool) }, ReturnType = typeof(void))]
587 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(DateTime), Member = ".ctor", MemberParameters = new object[] { typeof(long) }, ReturnType = typeof(void))]
588 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(MemoryStream), Member = ".ctor", ReturnType = typeof(void))]
589 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(BinaryWriter), Member = ".ctor", MemberParameters = new object[] { typeof(Stream) }, ReturnType = typeof(void))]
590 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "IsNullOrEmpty", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(bool))]
591 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Debug), Member = "LogError", MemberParameters = new object[] { typeof(object) }, ReturnType = typeof(void))]
592 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(DrPlatform), Member = "get_CurrentPlatform", ReturnType = typeof(DrPlatform.DrPlatformType))]
593 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Dns), Member = "GetHostName", ReturnType = typeof(string))]
594 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "op_Equality", MemberParameters = new object[]
595 {
596 typeof(string),
597 typeof(string)
598 }, ReturnType = typeof(bool))]
599 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(WorldFileData), Member = "get_HasCrimson", ReturnType = typeof(bool))]
600 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ThreadManager), Member = "CheckThreadTerminiate", ReturnType = typeof(void))]
601 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(UdpClient), Member = "Send", MemberParameters = new object[]
602 {
603 typeof(byte[]),
604 typeof(int),
606 }, ReturnType = typeof(int))]
607 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Thread), Member = "Sleep", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(void))]
608 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 69)]
609 private static void BroadcastThread()
610 {
611 throw null;
612 }
613
614 [global::Cpp2ILInjected.Token(Token = "0x6002106")]
615 [global::Cpp2ILInjected.Address(RVA = "0x10BDF18", Offset = "0x10BDF18", Length = "0x49C")]
616 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
617 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Netplay), Member = "ServerLoop", MemberParameters = new object[] { typeof(object) }, ReturnType = typeof(void))]
618 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
619 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Netplay), Member = "StopBroadCasting", ReturnType = typeof(void))]
620 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(MPSessionMetaData), Member = ".ctor", ReturnType = typeof(void))]
621 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(DrPlatform), Member = "get_CurrentPlatform", ReturnType = typeof(DrPlatform.DrPlatformType))]
622 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Dns), Member = "GetHostName", ReturnType = typeof(string))]
623 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "op_Equality", MemberParameters = new object[]
624 {
625 typeof(string),
626 typeof(string)
627 }, ReturnType = typeof(bool))]
628 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(WorldFileData), Member = "get_HasCrimson", ReturnType = typeof(bool))]
629 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ThreadStart), Member = ".ctor", MemberParameters = new object[]
630 {
631 typeof(object),
633 }, ReturnType = typeof(void))]
634 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ThreadManager), Member = "Run", MemberParameters = new object[] { typeof(ThreadStart) }, ReturnType = typeof(ManagedThread))]
635 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 35)]
636 public static void StartBroadCasting()
637 {
638 throw null;
639 }
640
641 [global::Cpp2ILInjected.Token(Token = "0x6002107")]
642 [global::Cpp2ILInjected.Address(RVA = "0x10BE3B4", Offset = "0x10BE3B4", Length = "0xFC")]
643 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(XNAUnityRunner), Member = "OnApplicationQuit", ReturnType = typeof(void))]
644 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Netplay), Member = "StartBroadCasting", ReturnType = typeof(void))]
645 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Netplay), Member = "ServerLoop", MemberParameters = new object[] { typeof(object) }, ReturnType = typeof(void))]
646 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 3)]
647 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ThreadManager), Member = "TerminateThread", MemberParameters = new object[] { typeof(ManagedThread) }, ReturnType = typeof(void))]
648 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(UdpClient), Member = "Close", ReturnType = typeof(void))]
649 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 7)]
650 public static void StopBroadCasting()
651 {
652 throw null;
653 }
654
655 [global::Cpp2ILInjected.Token(Token = "0x6002108")]
656 [global::Cpp2ILInjected.Address(RVA = "0x10BE4B0", Offset = "0x10BE4B0", Length = "0xA8C")]
657 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
658 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(XNAUnityRunner), Member = "OnApplicationQuit", ReturnType = typeof(void))]
659 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Game), Member = "UnityServerUpdate", MemberParameters = new object[] { typeof(float) }, ReturnType = typeof(void))]
660 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Game), Member = "UnityUpdate", MemberParameters = new object[] { typeof(float) }, ReturnType = typeof(void))]
661 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 3)]
662 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Server), Member = "Disconnect", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(bool))]
663 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(RemoteClient), Member = "Reset", MemberParameters = new object[] { typeof(bool) }, ReturnType = typeof(void))]
664 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(NetMessage), Member = "SyncDisconnectedPlayer", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(void))]
665 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "op_Inequality", MemberParameters = new object[]
666 {
667 typeof(string),
668 typeof(string)
669 }, ReturnType = typeof(bool))]
670 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(int), Member = "ToString", ReturnType = typeof(string))]
671 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "Concat", MemberParameters = new object[] { typeof(string[]) }, ReturnType = typeof(string))]
672 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "Concat", MemberParameters = new object[]
673 {
674 typeof(string),
675 typeof(string)
676 }, ReturnType = typeof(string))]
677 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Debug), Member = "LogWarning", MemberParameters = new object[] { typeof(object) }, ReturnType = typeof(void))]
678 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "Concat", MemberParameters = new object[]
679 {
680 typeof(string),
681 typeof(string),
682 typeof(string),
683 typeof(string)
684 }, ReturnType = typeof(string))]
685 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "Concat", MemberParameters = new object[]
686 {
687 typeof(string),
688 typeof(string),
689 typeof(string)
690 }, ReturnType = typeof(string))]
691 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(NetMessage), Member = "EnsureLocalPlayerIsPresent", ReturnType = typeof(void))]
692 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 82)]
693 public static void ServerLoopUpdateFrame()
694 {
695 throw null;
696 }
697
698 [global::Cpp2ILInjected.Token(Token = "0x6002109")]
699 [global::Cpp2ILInjected.Address(RVA = "0x10BEF3C", Offset = "0x10BEF3C", Length = "0xB04")]
700 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
701 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
702 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(EventWaitHandle), Member = "Reset", ReturnType = typeof(bool))]
703 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(LocalUser), Member = "LoadThreadstate", ReturnType = typeof(void))]
704 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Netplay), Member = "ResetNetDiag", ReturnType = typeof(void))]
705 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(DateTime), Member = "get_Now", ReturnType = typeof(DateTime))]
706 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(DateTime), Member = "get_Ticks", ReturnType = typeof(long))]
707 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(UnifiedRandom), Member = ".ctor", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(void))]
708 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(RemoteClient), Member = ".ctor", ReturnType = typeof(void))]
709 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(RemoteClient), Member = "Reset", MemberParameters = new object[] { typeof(bool) }, ReturnType = typeof(void))]
710 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Netplay), Member = "StartListening", ReturnType = typeof(bool))]
711 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "set_menuMode", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(void))]
712 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Language), Member = "GetTextValue", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(string))]
713 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(EventWaitHandle), Member = "Set", ReturnType = typeof(bool))]
714 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Debug), Member = "LogError", MemberParameters = new object[] { typeof(object) }, ReturnType = typeof(void))]
715 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(PlatformUser), Member = "get_CurrentUser", ReturnType = typeof(PlatformUser))]
716 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Server), Member = "Stop", ReturnType = typeof(void))]
717 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Netplay), Member = "StartBroadCasting", ReturnType = typeof(void))]
718 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(DateTime), Member = "op_Subtraction", MemberParameters = new object[]
719 {
722 }, ReturnType = typeof(TimeSpan))]
723 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(TimeSpan), Member = "get_TotalSeconds", ReturnType = typeof(double))]
724 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Netplay), Member = "StopBroadCasting", ReturnType = typeof(void))]
725 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Netplay), Member = "StopListening", ReturnType = typeof(void))]
726 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Game), Member = "UnityServerShutdown", ReturnType = typeof(void))]
727 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Profiler), Member = "EndThreadProfiling", ReturnType = typeof(void))]
728 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 93)]
729 public static void ServerLoop(object threadContext)
730 {
731 throw null;
732 }
733
734 [global::Cpp2ILInjected.Token(Token = "0x600210A")]
735 [global::Cpp2ILInjected.Address(RVA = "0x10BFB34", Offset = "0x10BFB34", Length = "0x194")]
736 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
737 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(GUIMultiplayerJoin), Member = "DrawMainButtons", ReturnType = typeof(void))]
738 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(GUIMultiplayerLobby), Member = "JoinServer", ReturnType = typeof(void))]
739 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(GUIMultiplayerWaitingHost), Member = "JoinServer", ReturnType = typeof(void))]
740 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Main), Member = "StartClientGameplay", ReturnType = typeof(void))]
741 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 4)]
742 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(TcpAddress), Member = ".ctor", MemberParameters = new object[]
743 {
744 typeof(string),
745 typeof(int)
746 }, ReturnType = typeof(void))]
747 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Netplay), Member = "ClientLoopSetup", MemberParameters = new object[] { typeof(RemoteAddress) }, ReturnType = typeof(void))]
748 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ParameterizedThreadStart), Member = ".ctor", MemberParameters = new object[]
749 {
750 typeof(object),
752 }, ReturnType = typeof(void))]
753 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ThreadManager), Member = "Run", MemberParameters = new object[]
754 {
755 typeof(ParameterizedThreadStart),
756 typeof(object)
757 }, ReturnType = typeof(ManagedThread))]
758 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 13)]
760 {
761 throw null;
762 }
763
764 [global::Cpp2ILInjected.Token(Token = "0x600210B")]
765 [global::Cpp2ILInjected.Address(RVA = "0x10BFCC8", Offset = "0x10BFCC8", Length = "0xE0")]
766 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Main), Member = "DedServ", ReturnType = typeof(void))]
767 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
768 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ParameterizedThreadStart), Member = ".ctor", MemberParameters = new object[]
769 {
770 typeof(object),
772 }, ReturnType = typeof(void))]
773 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ThreadManager), Member = "Run", MemberParameters = new object[]
774 {
775 typeof(ParameterizedThreadStart),
776 typeof(object)
777 }, ReturnType = typeof(ManagedThread))]
778 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 7)]
779 public static void StartServer()
780 {
781 throw null;
782 }
783
784 [global::Cpp2ILInjected.Token(Token = "0x600210C")]
785 [global::Cpp2ILInjected.Address(RVA = "0x10BFDA8", Offset = "0x10BFDA8", Length = "0x114")]
786 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
787 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(GUIMultiplayerHost), Member = "HostServer", ReturnType = typeof(void))]
788 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(GUIMultiplayerJoin), Member = "DrawMainButtons", ReturnType = typeof(void))]
789 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(GUIMultiplayerLobby), Member = "JoinServer", ReturnType = typeof(void))]
790 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(GUIMultiplayerWaitingHost), Member = "JoinServer", ReturnType = typeof(void))]
791 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Main), Member = "AutoJoin", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
792 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 5)]
793 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "IsNullOrEmpty", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(bool))]
794 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Debug), Member = "Log", MemberParameters = new object[] { typeof(object) }, ReturnType = typeof(void))]
795 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 13)]
796 public static bool SetRemoteIP(string remoteAddress)
797 {
798 throw null;
799 }
800
801 [global::Cpp2ILInjected.Token(Token = "0x600210D")]
802 [global::Cpp2ILInjected.Address(RVA = "0x10BFEBC", Offset = "0x10BFEBC", Length = "0x158")]
803 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
804 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Main), Member = "Initialize_AlmostEverything", ReturnType = typeof(void))]
805 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
806 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(RemoteClient), Member = ".ctor", ReturnType = typeof(void))]
807 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(MessageBuffer), Member = ".ctor", ReturnType = typeof(void))]
808 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 12)]
809 public static void Initialize()
810 {
811 throw null;
812 }
813
814 [global::Cpp2ILInjected.Token(Token = "0x600210E")]
815 [global::Cpp2ILInjected.Address(RVA = "0x10C0014", Offset = "0x10C0014", Length = "0x1C")]
816 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
817 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(MessageBuffer), Member = "ProcessData", MemberParameters = new object[]
818 {
819 typeof(byte[]),
820 typeof(int),
821 typeof(ref int)
822 }, ReturnType = typeof(void))]
823 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(NetMessage), Member = "SendData", MemberParameters = new object[]
824 {
825 typeof(int),
826 typeof(int),
827 typeof(int),
829 typeof(int),
830 typeof(float),
831 typeof(float),
832 typeof(float),
833 typeof(int),
834 typeof(int),
835 typeof(int)
836 }, ReturnType = typeof(void))]
837 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(NetMessage), Member = "SendSection", MemberParameters = new object[]
838 {
839 typeof(int),
840 typeof(int),
841 typeof(int)
842 }, ReturnType = typeof(void))]
843 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(WorldGen), Member = "SectionTileFrameWithCheck", MemberParameters = new object[]
844 {
845 typeof(int),
846 typeof(int),
847 typeof(int),
848 typeof(int)
849 }, ReturnType = typeof(void))]
850 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(WorldGen), Member = "RefreshSections", MemberParameters = new object[]
851 {
852 typeof(int),
853 typeof(int),
854 typeof(int),
855 typeof(int)
856 }, ReturnType = typeof(void))]
857 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(WorldSections), Member = "SetTilesLoaded", MemberParameters = new object[]
858 {
859 typeof(int),
860 typeof(int),
861 typeof(int),
862 typeof(int)
863 }, ReturnType = typeof(void))]
864 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(WorldSections), Member = "GetNextMapDraw", MemberParameters = new object[]
865 {
867 typeof(ref int),
868 typeof(ref int)
869 }, ReturnType = typeof(bool))]
870 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(PortalHelper), Member = "SyncPortalsOnPlayerJoin", MemberParameters = new object[]
871 {
872 typeof(int),
873 typeof(int),
876 }, ReturnType = typeof(void))]
877 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(NetLiquidModule), Member = "DistributeChangesIntoChunks", MemberParameters = new object[] { typeof(HashSet<int>) }, ReturnType = typeof(void))]
878 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 17)]
879 public static int GetSectionX(int x)
880 {
881 throw null;
882 }
883
884 [global::Cpp2ILInjected.Token(Token = "0x600210F")]
885 [global::Cpp2ILInjected.Address(RVA = "0x10C0030", Offset = "0x10C0030", Length = "0x1C")]
886 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
887 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(MessageBuffer), Member = "ProcessData", MemberParameters = new object[]
888 {
889 typeof(byte[]),
890 typeof(int),
891 typeof(ref int)
892 }, ReturnType = typeof(void))]
893 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(NetMessage), Member = "SendData", MemberParameters = new object[]
894 {
895 typeof(int),
896 typeof(int),
897 typeof(int),
899 typeof(int),
900 typeof(float),
901 typeof(float),
902 typeof(float),
903 typeof(int),
904 typeof(int),
905 typeof(int)
906 }, ReturnType = typeof(void))]
907 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(NetMessage), Member = "SendSection", MemberParameters = new object[]
908 {
909 typeof(int),
910 typeof(int),
911 typeof(int)
912 }, ReturnType = typeof(void))]
913 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(WorldGen), Member = "SectionTileFrameWithCheck", MemberParameters = new object[]
914 {
915 typeof(int),
916 typeof(int),
917 typeof(int),
918 typeof(int)
919 }, ReturnType = typeof(void))]
920 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(WorldGen), Member = "RefreshSections", MemberParameters = new object[]
921 {
922 typeof(int),
923 typeof(int),
924 typeof(int),
925 typeof(int)
926 }, ReturnType = typeof(void))]
927 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(WorldSections), Member = "SetTilesLoaded", MemberParameters = new object[]
928 {
929 typeof(int),
930 typeof(int),
931 typeof(int),
932 typeof(int)
933 }, ReturnType = typeof(void))]
934 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(WorldSections), Member = "GetNextMapDraw", MemberParameters = new object[]
935 {
937 typeof(ref int),
938 typeof(ref int)
939 }, ReturnType = typeof(bool))]
940 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(PortalHelper), Member = "SyncPortalsOnPlayerJoin", MemberParameters = new object[]
941 {
942 typeof(int),
943 typeof(int),
946 }, ReturnType = typeof(void))]
947 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(NetLiquidModule), Member = "DistributeChangesIntoChunks", MemberParameters = new object[] { typeof(HashSet<int>) }, ReturnType = typeof(void))]
948 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 17)]
949 public static int GetSectionY(int y)
950 {
951 throw null;
952 }
953
954 [global::Cpp2ILInjected.Token(Token = "0x6002110")]
955 [global::Cpp2ILInjected.Address(RVA = "0x10C004C", Offset = "0x10C004C", Length = "0x8")]
956 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
957 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
958 public Netplay()
959 {
960 throw null;
961 }
962
963 // Note: this type is marked as 'beforefieldinit'.
964 [global::Cpp2ILInjected.Token(Token = "0x6002111")]
965 [global::Cpp2ILInjected.Address(RVA = "0x10C0054", Offset = "0x10C0054", Length = "0x1C0")]
966 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
967 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
968 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(RemoteConnection), Member = ".ctor", ReturnType = typeof(void))]
969 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(RemoteServer), Member = ".ctor", ReturnType = typeof(void))]
970 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(DateTime), Member = ".ctor", MemberParameters = new object[] { typeof(long) }, ReturnType = typeof(void))]
971 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(AutoResetEvent), Member = ".ctor", MemberParameters = new object[] { typeof(bool) }, ReturnType = typeof(void))]
972 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 11)]
973 static Netplay()
974 {
975 throw null;
976 }
977
978 [global::Cpp2ILInjected.Token(Token = "0x4002D00")]
979 public static string BanFilePath;
980
981 [global::Cpp2ILInjected.Token(Token = "0x4002D01")]
982 public static string ServerPassword;
983
984 [global::Cpp2ILInjected.Token(Token = "0x4002D02")]
985 public static RemoteClient[] Clients;
986
987 [global::Cpp2ILInjected.Token(Token = "0x4002D03")]
989
990 [global::Cpp2ILInjected.Token(Token = "0x4002D04")]
991 public static RemoteServer Server;
992
993 [global::Cpp2ILInjected.Token(Token = "0x4002D05")]
994 public static IPAddress ServerIP;
995
996 [global::Cpp2ILInjected.Token(Token = "0x4002D06")]
997 public static string ServerIPText;
998
999 [global::Cpp2ILInjected.Token(Token = "0x4002D07")]
1000 public static int ListenPort;
1001
1002 [global::Cpp2ILInjected.Token(Token = "0x4002D08")]
1003 public static bool IsServerRunning;
1004
1005 [global::Cpp2ILInjected.Token(Token = "0x4002D09")]
1006 public static bool IsListening;
1007
1008 [global::Cpp2ILInjected.Token(Token = "0x4002D0A")]
1009 public static bool UseUPNP;
1010
1011 [global::Cpp2ILInjected.Token(Token = "0x4002D0B")]
1012 public static bool LostConnection;
1013
1014 [global::Cpp2ILInjected.Token(Token = "0x4002D0C")]
1015 public static bool Disconnect;
1016
1017 [global::Cpp2ILInjected.Token(Token = "0x4002D0D")]
1018 public static bool SpamCheck;
1019
1020 [global::Cpp2ILInjected.Token(Token = "0x4002D0E")]
1021 public static bool HasClients;
1022
1023 [global::Cpp2ILInjected.Token(Token = "0x4002D0F")]
1024 public static string portForwardIP;
1025
1026 [global::Cpp2ILInjected.Token(Token = "0x4002D10")]
1027 public static int portForwardPort;
1028
1029 [global::Cpp2ILInjected.Token(Token = "0x4002D11")]
1030 public static bool portForwardOpen;
1031
1032 [global::Cpp2ILInjected.Token(Token = "0x4002D12")]
1033 private static int oldState;
1034
1035 [global::Cpp2ILInjected.Token(Token = "0x4002D13")]
1037
1038 [global::Cpp2ILInjected.Token(Token = "0x4002D14")]
1039 public static bool clientLoopRunning;
1040
1041 [global::Cpp2ILInjected.Token(Token = "0x4002D15")]
1043
1044 [global::Cpp2ILInjected.Token(Token = "0x4002D16")]
1046
1047 [global::Cpp2ILInjected.Token(Token = "0x4002D17")]
1048 public const int MaxConnections = 256;
1049
1050 [global::Cpp2ILInjected.Token(Token = "0x4002D18")]
1051 public const int NetBufferSize = 32768;
1052
1054 [global::Cpp2ILInjected.Token(Token = "0x4002D19")]
1055 private static Action OnDisconnect;
1056
1057 [global::Cpp2ILInjected.Token(Token = "0x4002D1A")]
1059 }
1060}
class f__AnonymousType0<< Count > j__TPar
static void InnerClientLoop()
Definition Netplay.cs:523
static void ServerUpdateFrame()
Definition Netplay.cs:389
const int MaxConnections
Definition Netplay.cs:1048
static void ResetSections()
Definition Netplay.cs:116
static void SocialClientLoop(object threadContext)
Definition Netplay.cs:212
static string GetLocalIPAddress()
Definition Netplay.cs:91
static void ServerLoop(object threadContext)
Definition Netplay.cs:729
static bool Disconnect
Definition Netplay.cs:1015
static void ClientLoopSetup(RemoteAddress address)
Definition Netplay.cs:323
static void Initialize()
Definition Netplay.cs:809
static string portForwardIP
Definition Netplay.cs:1024
static IPAddress ServerIP
Definition Netplay.cs:994
static RemoteServer Server
Definition Netplay.cs:991
static AutoResetEvent disconnectEvent
Definition Netplay.cs:1058
static bool UseUPNP
Definition Netplay.cs:1009
static void UpdateClientNet()
Definition Netplay.cs:403
static void ResetNetDiag()
Definition Netplay.cs:105
static int oldState
Definition Netplay.cs:1033
static bool HasClients
Definition Netplay.cs:1021
static void deleteDedicatedServer(string ip, int port)
Definition Netplay.cs:204
static bool IsBanned(RemoteAddress address)
Definition Netplay.cs:165
static bool LostConnection
Definition Netplay.cs:1012
static Action OnDisconnect
Definition Netplay.cs:31
static bool IsServerRunning
Definition Netplay.cs:1003
static void StartTcpClient(bool connectingToLocalServer)
Definition Netplay.cs:759
static void TcpClientLoop(object threadContext)
Definition Netplay.cs:278
static void closePort()
Definition Netplay.cs:77
static void StopListening()
Definition Netplay.cs:571
static int portForwardPort
Definition Netplay.cs:1027
static RemoteClient[] Clients
Definition Netplay.cs:985
static int FindNextOpenClientSlot()
Definition Netplay.cs:531
static void BroadcastThread()
Definition Netplay.cs:609
static bool SpamCheck
Definition Netplay.cs:1018
static int GetSectionX(int x)
Definition Netplay.cs:879
static bool portForwardOpen
Definition Netplay.cs:1030
static string ServerIPText
Definition Netplay.cs:997
static bool IsListening
Definition Netplay.cs:1006
static void ServerLoopUpdateFrame()
Definition Netplay.cs:693
const int NetBufferSize
Definition Netplay.cs:1051
static int GetSectionY(int y)
Definition Netplay.cs:949
static string BanFilePath
Definition Netplay.cs:979
static void OpenPort()
Definition Netplay.cs:69
static Netplay()
Definition Netplay.cs:973
static ManagedThread broadcastThread
Definition Netplay.cs:1045
static string ServerPassword
Definition Netplay.cs:982
static void ClientLoopFrameUpdate()
Definition Netplay.cs:476
static bool clientLoopRunning
Definition Netplay.cs:1039
static bool StartListening()
Definition Netplay.cs:560
static int ListenPort
Definition Netplay.cs:1000
static void AddBan(int plr)
Definition Netplay.cs:138
static DateTime LastClientUpdateTime
Definition Netplay.cs:1036
static void OnConnectionAccepted(int clientId)
Definition Netplay.cs:549
static void StopBroadCasting()
Definition Netplay.cs:650
static void StartServer()
Definition Netplay.cs:779
static void ClientUpdateFrame()
Definition Netplay.cs:343
static RemoteConnection Connection
Definition Netplay.cs:988
static void TcpLocalClientLoop(object threadContext)
Definition Netplay.cs:242
static void ClientServerLoopSetup(RemoteAddress address)
Definition Netplay.cs:299
static UdpClient BroadcastClient
Definition Netplay.cs:1042
static void StartBroadCasting()
Definition Netplay.cs:636
static bool SetRemoteIP(string remoteAddress)
Definition Netplay.cs:796
static void AddCurrentServerToRecentList()
Definition Netplay.cs:186