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

◆ SaveWorld() [1/2]

static void Terraria.IO.WorldFile.SaveWorld ( bool useCloudSaving,
bool resetTime = false,
WorldFile::WorldSaveContext saveContext = WorldFile::WorldSaveContext::Normal )
inlinestatic

Definition at line 233 of file WorldFile.cs.

234 {
235 if (!true)
236 {
237 }
238 if ("World" == null)
239 {
240 }
241 string text = DateTime.Now.ToString() + " Saving the world";
242 Debug.Log(text);
243 if (text != null)
244 {
245 string text3;
246 string text2 = text + " " + text3 + "%";
247 Thread.Sleep(0);
248 return;
249 }
250 long num = 0L;
251 int num2 = 14;
252 if (num != 0L)
253 {
254 throw new OutOfMemoryException();
255 }
256 if (num2 == 0)
257 {
258 Debug.Log(DateTime.Now.ToString() + " World saving locked out");
259 long num3 = 0L;
260 Thread.Sleep((int)num3);
261 return;
262 }
263 }
class f__AnonymousType0<< Count > j__TPar
static void Sleep(int millisecondsTimeout)
Definition Thread.cs:207
static void Log(object message)
Definition Debug.cs:51
static DateTime Now
Definition DateTime.cs:530
override string ToString()
Definition DateTime.cs:834

References j__TPar, System.L, UnityEngine.Debug.Log(), System.DateTime.Now, System.Threading.Thread.Sleep(), System.text, and System.DateTime.ToString().