tModLoader  0.12 Alpha
A mod to make and play Terraria mods
Terraria.IO.WorldFileData Class Reference

Inherits Terraria.IO.FileData.

Public Member Functions

 WorldFileData (string path, bool cloudSave)
 
void CopyToLocal (string newFileName=null, string newDisplayName=null)
 
string GetFullSeedText ()
 
override void MoveToCloud ()
 
override void MoveToLocal ()
 
void Rename (string newDisplayName)
 
override void SetAsActive ()
 
void SetSeed (string seedText)
 
void SetSeedToEmpty ()
 
void SetSeedToRandom ()
 
void SetWorldSize (int x, int y)
 
- Public Member Functions inherited from Terraria.IO.FileData
string GetFileName (bool includeExtension=true)
 
void SetFavorite (bool favorite, bool saveChanges=true)
 
void ToggleFavorite ()
 

Static Public Member Functions

static WorldFileData FromInvalidWorld (string path, bool cloudSave)
 

Public Attributes

LocalizedText _worldSizeName
 
DateTime CreationTime
 
bool DrunkWorld
 
int GameMode
 
bool HasCorruption = true
 
bool IsHardMode
 
bool IsValid = true
 
Guid UniqueId
 
ulong WorldGeneratorVersion
 
int WorldSizeX
 
int WorldSizeY
 
- Public Attributes inherited from Terraria.IO.FileData
FileMetadata Metadata
 
string Name
 
readonly string Type
 

Properties

bool HasCrimson [get, set]
 
bool HasValidSeed [get]
 
int Seed [get]
 
string SeedText [get]
 
bool UseGuidAsMapName [get]
 
string WorldSizeName [get]
 
- Properties inherited from Terraria.IO.FileData
bool IsCloudSave [get]
 
bool IsFavorite [get]
 
string Path [get]
 

Additional Inherited Members

- Protected Member Functions inherited from Terraria.IO.FileData
 FileData (string type)
 
 FileData (string type, string path, bool isCloud)
 
- Protected Attributes inherited from Terraria.IO.FileData
bool _isCloudSave
 
bool _isFavorite
 
string _path