![]() |
tModLoader v0.11.8.9
A mod to make and play Terraria mods
|
Responsible for archiving player backups More...
Static Public Member Functions | |
static void | ArchivePlayer (string path, bool isCloudSave) |
Static Public Attributes | |
static readonly string | PlayerBackupDir = Path.Combine(PlayerDir, "Backups") |
static readonly string | PlayerDir = Path.Combine(Main.SavePath, "Players") |
Static Private Member Functions | |
static void | WriteArchive (ZipFile zip, bool isCloudSave, string path) |
Write the archive. Writes the .plr and .tplr files, then writes the player directory More... | |
static void | WriteCloudFiles (ZipFile zip, string path) |
Write cloud files, which will get the relevant part of the path and write map & tmap files More... | |
static void | WriteLocalFiles (ZipFile zip, string path) |
Write local files, which simply writes the entire player dir More... | |
Responsible for archiving player backups
Definition at line 133 of file BackupIO.cs.
|
static |
|
staticprivate |
Write the archive. Writes the .plr and .tplr files, then writes the player directory
Definition at line 144 of file BackupIO.cs.
References Terraria.ModLoader.BackupIO.Player.WriteCloudFiles(), and Terraria.ModLoader.BackupIO.Player.WriteLocalFiles().
|
staticprivate |
Write cloud files, which will get the relevant part of the path and write map & tmap files
Definition at line 158 of file BackupIO.cs.
Referenced by Terraria.ModLoader.BackupIO.Player.WriteArchive().
|
staticprivate |
Write local files, which simply writes the entire player dir
Definition at line 174 of file BackupIO.cs.
Referenced by Terraria.ModLoader.BackupIO.Player.WriteArchive().
|
static |
Definition at line 136 of file BackupIO.cs.
|
static |
Definition at line 135 of file BackupIO.cs.