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

◆ OpenRecent()

void Terraria.Main.OpenRecent ( )
inline

Definition at line 5745 of file Main.cs.

5746 {
5747 int num = 1;
5748 if (num == 0)
5749 {
5750 }
5751 string savePath = Main.SavePath;
5752 if (num == 0)
5753 {
5754 }
5755 string text2;
5756 string text = savePath + text2 + "dedServers.dat";
5757 if (num == 0)
5758 {
5759 }
5760 long num2 = 0L;
5761 bool flag = FileUtilities.Exists(text, num2 != 0L);
5762 if (num == 0)
5763 {
5764 }
5765 string savePath2 = Main.SavePath;
5766 if (num == 0)
5767 {
5768 }
5769 string text4;
5770 string text3 = savePath2 + text4 + "dedServers.dat";
5771 if (num == 0)
5772 {
5773 }
5774 long num3 = 0L;
5775 byte[] array = FileUtilities.ReadAllBytes(text3, num3 != 0L);
5776 }
class f__AnonymousType0<< Count > j__TPar
static byte[] ReadAllBytes(string path, bool cloud=false)
static bool Exists(string path, bool cloud=false)

References System.array, Terraria.Utilities.FileUtilities.Exists(), j__TPar, Microsoft.Xna.Framework.Input.L, Terraria.Utilities.FileUtilities.ReadAllBytes(), Terraria.Main.SavePath, and System.text.