Responsible for archiving world backups
More...
|
| static void | WriteArchive (ZipFile zip, bool isCloudSave, string path) |
| |
Responsible for archiving world backups
Definition at line 115 of file BackupIO.cs.
◆ WriteArchive()
| static void Terraria.ModLoader.BackupIO.World.WriteArchive |
( |
ZipFile |
zip, |
|
|
bool |
isCloudSave, |
|
|
string |
path |
|
) |
| |
|
staticprivate |
Definition at line 123 of file BackupIO.cs.
123 {
124 if (FileUtilities.Exists(path, isCloudSave)) zip.AddZipEntry(path, isCloudSave);
125 path = Path.ChangeExtension(path, ".twld");
126 if (FileUtilities.Exists(path, isCloudSave)) zip.AddZipEntry(path, isCloudSave);
127 }
◆ WorldBackupDir
| readonly string Terraria.ModLoader.BackupIO.World.WorldBackupDir = Path.Combine(WorldDir, "Backups") |
|
static |
◆ WorldDir
| readonly string Terraria.ModLoader.BackupIO.World.WorldDir = Path.Combine(Main.SavePath, "Worlds") |
|
static |