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
GUIWorldLoadBackup.cs
Go to the documentation of this file.
1using System;
2using Terraria;
4
5// Token: 0x02000287 RID: 647
7{
8 // Token: 0x06000EF0 RID: 3824 RVA: 0x0004A7B0 File Offset: 0x000489B0
9 public void Open()
10 {
11 if (!true)
12 {
13 }
14 Main.menuMode = 200;
15 }
16
17 // Token: 0x06000EF1 RID: 3825 RVA: 0x0004A7CC File Offset: 0x000489CC
18 public void Draw()
19 {
22 {
25 {
26 Main.menuMode = 6;
27 }
28 return;
29 }
30 string text = Main.worldPathName + ".bak";
31 string worldPathName = Main.worldPathName;
32 long num = 0L;
33 string text2 = worldPathName + ".bak";
35 int num2 = 1;
36 FileUtilities.Move(text2, worldPathName2, num != 0L, num2 != 0);
37 if (text2 != null)
38 {
39 return;
40 }
41 Main.menuMode = 10;
43 }
44
45 // Token: 0x06000EF2 RID: 3826 RVA: 0x0004A858 File Offset: 0x00048A58
47 {
48 }
49
50 // Token: 0x04001B13 RID: 6931
51 private float statusScale;
52
53 // Token: 0x04001B14 RID: 6932
54 private float descriptionScale;
55
56 // Token: 0x04001B15 RID: 6933
57 private float loadScale;
58
59 // Token: 0x04001B16 RID: 6934
60 private float backScale;
61}
class f__AnonymousType0<< Count > j__TPar
static string worldPathName
Definition Main.cs:5362
static void Move(string source, string destination, bool cloud, bool overwrite=true)
static void playWorld()
Definition WorldGen.cs:1321