Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
Terraria.IO.WorldFileData Class Reference

Public Member Functions

string GetWorldName (bool allowCropping=false)
 
string GetFullSeedText (bool allowCropping=false)
 
 WorldFileData ()
 
 WorldFileData (string path, bool cloudSave)
 
override void SetAsActive ()
 
void SetWorldSize (int x, int y)
 
void SetSeedToEmpty ()
 
void SetSeed (string seedText)
 
void SetSeedToRandom ()
 
override void MoveToCloud ()
 
override void MoveToLocal ()
 
void Rename (string newDisplayName)
 
void CopyToLocal (string newFileName=null, string newDisplayName=null)
 
void ToggleFavorite ()
 
string GetFileName (bool includeExtension=true)
 
void SetFavorite (bool favorite, bool saveChanges=true)
 

Static Public Member Functions

static WorldFileData FromInvalidWorld (string path, bool cloudSave)
 

Public Attributes

DateTime CreationTime
 
int WorldSizeX
 
int WorldSizeY
 
ulong WorldGeneratorVersion
 
bool IsValid = true
 
Guid UniqueId
 
LocalizedText _worldSizeName
 
int GameMode
 
bool DrunkWorld
 
bool NotTheBees
 
bool ForTheWorthy
 
bool Anniversary
 
bool DontStarve
 
bool RemixWorld
 
bool NoTrapsWorld
 
bool ZenithWorld
 
bool HasCorruption = true
 
bool IsHardMode
 
bool DefeatedMoonlord
 
FileMetadata Metadata
 
string Name
 
readonly string Type
 

Protected Attributes

string _path
 
bool _isCloudSave
 
bool _isFavorite
 

Properties

string SeedText [get]
 
int Seed [get]
 
string WorldSizeName [get]
 
bool HasCrimson [get, set]
 
bool HasValidSeed [get]
 
bool UseGuidAsMapName [get]
 
string Path [get]
 
bool IsCloudSave [get]
 
bool IsFavorite [get]
 

Private Member Functions

void OnWorldRenameSuccess (string newWorldName)
 
IEnumerator DelayedGoToTitleScreen ()
 

Private Attributes

string _seedText = ""
 
int _seed
 

Static Private Attributes

const ulong GUID_IN_WORLD_FILE_VERSION = 777389080577uL
 

Detailed Description

Definition at line 12 of file WorldFileData.cs.


The documentation for this class was generated from the following file: