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

◆ joinLocalWorldCallBack()

static void Terraria.WorldGen.joinLocalWorldCallBack ( object threadContext)
inlinestatic

Definition at line 1277 of file WorldGen.cs.

1278 {
1279 if (threadContext != null)
1280 {
1281 return;
1282 }
1283 long ticks = DateTime.Now.Ticks;
1284 long num = 0L;
1285 int num2 = 1;
1286 bool mapEnabled = Main.mapEnabled;
1287 Main.Map.Allocate((int)ticks, (int)num);
1288 Main.Map.Load();
1289 bool loadMapLock = Main.loadMapLock;
1290 int totalMapSections = Main.sectionManager.TotalMapSections;
1291 int mapSectionsLeft = Main.sectionManager.mapSectionsLeft;
1292 int totalMapSections2 = Main.sectionManager.TotalMapSections;
1293 if (num2 == 0)
1294 {
1295 }
1296 Thread.Sleep(0);
1297 bool mapEnabled2 = Main.mapEnabled;
1298 }
class f__AnonymousType0<< Count > j__TPar
static void Sleep(int millisecondsTimeout)
Definition Thread.cs:207
static DateTime Now
Definition DateTime.cs:530

References Terraria.Map.WorldMap.Allocate(), j__TPar, System.L, Terraria.Map.WorldMap.Load(), Terraria.Main.loadMapLock, Terraria.Main.Map, Terraria.Main.mapEnabled, Terraria.WorldSections.mapSectionsLeft, System.DateTime.Now, Terraria.Main.sectionManager, System.Threading.Thread.Sleep(), System.DateTime.Ticks, and Terraria.WorldSections.TotalMapSections.