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

◆ ServerLoop()

static void Terraria.Netplay.ServerLoop ( object threadContext)
inlinestatic

Definition at line 417 of file Netplay.cs.

418 {
419 int num = 1;
420 if (num == 0)
421 {
422 }
423 if (num == 0)
424 {
425 }
426 if (num == 0)
427 {
428 }
429 Netplay.ResetNetDiag();
430 if (num == 0)
431 {
432 }
433 long ticks = DateTime.Now.Ticks;
434 if (3 == 0)
435 {
436 }
437 bool flag = Netplay.StartListening();
438 Main.menuMode = 14;
439 string textValue = Language.GetTextValue("Mobile.FailedToCreateSession");
440 int num2 = 1;
441 Debug.LogError(" Exception normal: Tried to run two servers on the same PC");
443 if (num2 != 0)
444 {
445 }
446 }
class f__AnonymousType0<< Count > j__TPar
static string GetTextValue(string key)
Definition Language.cs:54
static void LogError(object message)
Definition Debug.cs:62
static PlatformUser CurrentUser
static DateTime Now
Definition DateTime.cs:530

References PlatformUser.CurrentUser, Terraria.Localization.Language.GetTextValue(), j__TPar, UnityEngine.Debug.LogError(), System.DateTime.Now, Terraria.Netplay.ResetNetDiag(), Terraria.Netplay.StartListening(), and System.DateTime.Ticks.