terraria-cpp2il v1.4.4.9
Terraria mobile dump, with CallAnalysis (see source code). Dump with reconstucted method: https://infinitynichto.github.io/terraria-cpp2il-methodrecon
Loading...
Searching...
No Matches
OldSaveSynchronise.cs
Go to the documentation of this file.
1using System;
2using System.IO;
6using UnityEngine;
7
8namespace Terraria.IO
9{
10 [global::Cpp2ILInjected.Token(Token = "0x2000570")]
11 public class OldSaveSynchronise
12 {
13 [global::Cpp2ILInjected.Token(Token = "0x17000679")]
14 private static string OldSaveRoot
15 {
16 [global::Cpp2ILInjected.Token(Token = "0x60033D5")]
17 [global::Cpp2ILInjected.Address(RVA = "0x1342D68", Offset = "0x1342D68", Length = "0x22C")]
18 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
19 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(OldSaveSynchronise), Member = "CopyOldSaves", ReturnType = typeof(void))]
20 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 9)]
21 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "IsNullOrEmpty", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(bool))]
22 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Application), Member = "get_platform", ReturnType = typeof(RuntimePlatform))]
23 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(AndroidJavaClass), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
24 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(AndroidJavaObject[]), Member = "GetStatic", MemberTypeParameters = new object[] { typeof(object) }, MemberParameters = new object[] { typeof(string) }, ReturnType = "FieldType")]
25 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(AndroidJavaObject[]), Member = "Call", MemberTypeParameters = new object[] { typeof(object) }, MemberParameters = new object[]
26 {
27 typeof(string),
28 typeof(object[])
29 }, ReturnType = "ReturnType")]
30 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 17)]
31 get
32 {
33 throw null;
34 }
35 }
36
37 [global::Cpp2ILInjected.Token(Token = "0x60033D6")]
38 [global::Cpp2ILInjected.Address(RVA = "0x1342F94", Offset = "0x1342F94", Length = "0x92C")]
39 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
40 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Main), Member = "LoadWorlds", ReturnType = typeof(void))]
41 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Main), Member = "LoadPlayers", ReturnType = typeof(void))]
42 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
43 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "get_SavePath", ReturnType = typeof(string))]
44 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "Concat", MemberParameters = new object[]
45 {
46 typeof(string),
47 typeof(string)
48 }, ReturnType = typeof(string))]
49 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(OldSaveSynchronise), Member = "get_OldSaveRoot", ReturnType = typeof(string))]
50 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "IsNullOrEmpty", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(bool))]
51 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(FileUtilities), Member = "Exists", MemberParameters = new object[]
52 {
53 typeof(string),
54 typeof(bool)
55 }, ReturnType = typeof(bool))]
56 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "get_OldPlayerPath", ReturnType = typeof(string))]
57 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(FileUtilities), Member = "CreateDirectory", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
58 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "get_OldWorldPath", ReturnType = typeof(string))]
59 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "get_PlayerPath", ReturnType = typeof(string))]
60 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "get_WorldPath", ReturnType = typeof(string))]
61 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Application), Member = "get_platform", ReturnType = typeof(RuntimePlatform))]
62 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Application), Member = "get_persistentDataPath", ReturnType = typeof(string))]
63 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "op_Inequality", MemberParameters = new object[]
64 {
65 typeof(string),
66 typeof(string)
67 }, ReturnType = typeof(bool))]
68 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Directory), Member = "Exists", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(bool))]
69 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(FileUtilities), Member = "GetFiles", MemberParameters = new object[]
70 {
71 typeof(string),
72 typeof(string)
73 }, ReturnType = typeof(string[]))]
74 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "Replace", MemberParameters = new object[]
75 {
76 typeof(string),
77 typeof(string)
78 }, ReturnType = typeof(string))]
79 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(File), Member = "Move", MemberParameters = new object[]
80 {
81 typeof(string),
82 typeof(string)
83 }, ReturnType = typeof(void))]
84 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(FileUtilities), Member = "Copy", MemberParameters = new object[]
85 {
86 typeof(string),
87 typeof(string),
88 typeof(bool),
89 typeof(bool)
90 }, ReturnType = typeof(void))]
91 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(File), Member = "Copy", MemberParameters = new object[]
92 {
93 typeof(string),
94 typeof(string)
95 }, ReturnType = typeof(void))]
96 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(FileUtilities), Member = "Delete", MemberParameters = new object[]
97 {
98 typeof(string),
99 typeof(bool)
100 }, ReturnType = typeof(void))]
101 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(FileUtilities), Member = "WriteAllBytes", MemberParameters = new object[]
102 {
103 typeof(string),
104 typeof(byte[]),
105 typeof(bool)
106 }, ReturnType = typeof(void))]
107 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 50)]
108 public static void CopyOldSaves()
109 {
110 throw null;
111 }
112
113 [global::Cpp2ILInjected.Token(Token = "0x60033D7")]
114 [global::Cpp2ILInjected.Address(RVA = "0x13438C0", Offset = "0x13438C0", Length = "0x8")]
115 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
116 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
118 {
119 throw null;
120 }
121
122 [global::Cpp2ILInjected.Token(Token = "0x4003E1A")]
123 private static string _oldSaveRoot;
124 }
125}
class f__AnonymousType0<< Count > j__TPar