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

◆ GetWorldPathFromName()

static string Terraria.Main.GetWorldPathFromName ( string worldName,
bool cloudSave )
inlinestatic

Definition at line 6327 of file Main.cs.

6328 {
6329 if (!true)
6330 {
6331 }
6333 string text;
6334 return ("" + text).Replace(".", "_").Replace("*", "_").Replace("?", "_")
6335 .Replace("/", "_")
6336 .Replace("\\", "_")
6337 .Replace(">", "_")
6338 .Replace("<", "_")
6339 .Replace(":", "_")
6340 .Replace("|", "_");
6341 }
class f__AnonymousType0<< Count > j__TPar
static char[] GetInvalidFileNameChars()
Definition Path.cs:314

References System.IO.Path.GetInvalidFileNameChars(), j__TPar, and System.text.

Referenced by Terraria.IO.WorldFileData.MoveToCloud(), and Terraria.IO.WorldFileData.MoveToLocal().