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

◆ UpdateOldMobilePath()

static void Terraria.Player.UpdateOldMobilePath ( PlayerFileData playerFile)
inlinestatic

Definition at line 18637 of file Player.cs.

18638 {
18639 bool flag = string.IsNullOrEmpty(playerFile._path);
18640 string path = playerFile._path;
18641 if (!true)
18642 {
18643 }
18644 string oldPlayerPath = Main.OldPlayerPath;
18645 bool flag2 = path.StartsWith(oldPlayerPath);
18646 string path2 = playerFile._path;
18647 if (!true)
18648 {
18649 }
18650 string oldPlayerPath2 = Main.OldPlayerPath;
18651 string playerPath = Main.PlayerPath;
18652 string text = path2.Replace(oldPlayerPath2, playerPath).Replace(".player", ".plr");
18654 }
class f__AnonymousType0<< Count > j__TPar

References j__TPar, Terraria.Main.OldPlayerPath, Terraria.Main.PlayerPath, and System.text.

Referenced by Terraria.Player.SavePlayer().