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

◆ InternalSaveWorld()

static void Terraria.IO.WorldFile.InternalSaveWorld ( bool useCloudSaving,
bool resetTime )
inlinestaticprivate

Definition at line 266 of file WorldFile.cs.

267 {
268 for (;;)
269 {
270 int num = 1;
271 if (num == 0)
272 {
273 }
274 string worldPath = Main.WorldPath;
275 if (num == 0)
276 {
277 }
279 if (num == 0)
280 {
281 }
282 if (num != 0)
283 {
284 break;
285 }
286 if (num != 0)
287 {
288 if (num != 0)
289 {
290 goto Block_2;
291 }
292 }
293 else
294 {
295 while (worldPath != null)
296 {
297 }
298 }
299 WorldFile.SetTempToOngoing();
300 if (num == 0)
301 {
302 }
303 WorldFile.ResetTempsToDayTime();
304 if (num == 0)
305 {
306 }
307 if (Main.worldPathName != null)
308 {
309 return;
310 }
311 }
312 return;
313 Block_2:
314 WorldFile.SetTempToCache();
315 }
class f__AnonymousType0<< Count > j__TPar
static void CreateDirectory(string path)

References Terraria.Utilities.FileUtilities.CreateDirectory(), j__TPar, Terraria.IO.WorldFile.ResetTempsToDayTime(), Terraria.IO.WorldFile.SetTempToCache(), Terraria.IO.WorldFile.SetTempToOngoing(), Terraria.Main.WorldPath, and Terraria.Main.worldPathName.