TModLoader v1.4.4.9
TModLoader source code documentation
Loading...
Searching...
No Matches

◆ InternalSaveMap()

static void Terraria.Player.InternalSaveMap ( bool isCloudSave)
inlinestatic

Definition at line 55674 of file Player.cs.

55675 {
55676 if (string.IsNullOrEmpty(Main.playerPathName))
55677 {
55678 return;
55679 }
55680 try
55681 {
55682 if (Main.mapEnabled)
55683 {
55684 Main.Map.Save();
55685 }
55686 }
55687 catch
55688 {
55689 }
55690 if (!isCloudSave)
55691 {
55692 Utils.TryCreatingDirectory(Main.PlayerPath);
55693 }
55694 }

References Terraria.Main.Map, Terraria.Main.mapEnabled, Terraria.Main.PlayerPath, Terraria.Main.playerPathName, and Terraria.Utils.TryCreatingDirectory().

Referenced by Terraria.Player.SavePlayer().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: