C# Class Terraria.IO.WorldFile

Afficher le fichier Open project: EmuDevs/EDTerraria

Méthodes publiques

Свойство Type Description
IsWorldOnCloud bool
tempBloodMoon bool
tempCultistDelay int
tempDayTime bool
tempEclipse bool
tempMaxRain float
tempMoonPhase int
tempRainTime int
tempRaining bool
tempTime double
versionNumber int

Méthodes publiques

Méthode Description
CacheSaveTime ( ) : void
CreateMetadata ( string name, bool cloudSave, bool isExpertMode ) : Terraria.IO.WorldFileData
FixDresserChests ( ) : void
GetAllMetadata ( string file ) : Terraria.IO.WorldFileData
GetFileMetadata ( string file, bool cloudSave ) : FileMetadata
GetWorldDifficulty ( string WorldFileName ) : bool
GetWorldName ( string WorldFileName ) : string
IsValidWorld ( string file, bool cloudSave ) : bool
LoadWorld_Version1 ( BinaryReader fileIO ) : int
LoadWorld_Version2 ( BinaryReader reader ) : int
ResetTemps ( ) : void
SaveWorld_Version2 ( BinaryWriter writer ) : void
loadWorld ( ) : void
saveWorld ( ) : void
saveWorld ( bool useCloudSaving, bool resetTime = false ) : void
validateWorld ( BinaryReader fileIO ) : bool

Private Methods

Méthode Description
LoadChests ( BinaryReader reader ) : void
LoadDummies ( BinaryReader reader ) : void
LoadFileFormatHeader ( BinaryReader reader, bool &importance, int &positions ) : bool
LoadFooter ( BinaryReader reader ) : int
LoadHeader ( BinaryReader reader ) : void
LoadNPCs ( BinaryReader reader ) : void
LoadSigns ( BinaryReader reader ) : void
LoadTileEntities ( BinaryReader reader ) : void
LoadWorldTiles ( BinaryReader reader, bool importance ) : void
SaveChests ( BinaryWriter writer ) : int
SaveDummies ( BinaryWriter writer ) : int
SaveFileFormatHeader ( BinaryWriter writer ) : int
SaveFooter ( BinaryWriter writer ) : int
SaveHeaderPointers ( BinaryWriter writer, int pointers ) : int
SaveNPCs ( BinaryWriter writer ) : int
SaveSigns ( BinaryWriter writer ) : int
SaveTileEntities ( BinaryWriter writer ) : int
SaveWorldHeader ( BinaryWriter writer ) : int
SaveWorldTiles ( BinaryWriter writer ) : int

Method Details

CacheSaveTime() public static méthode

public static CacheSaveTime ( ) : void
Résultat void

CreateMetadata() public static méthode

public static CreateMetadata ( string name, bool cloudSave, bool isExpertMode ) : Terraria.IO.WorldFileData
name string
cloudSave bool
isExpertMode bool
Résultat Terraria.IO.WorldFileData

FixDresserChests() public static méthode

public static FixDresserChests ( ) : void
Résultat void

GetAllMetadata() public static méthode

public static GetAllMetadata ( string file ) : Terraria.IO.WorldFileData
file string
Résultat Terraria.IO.WorldFileData

GetFileMetadata() public static méthode

public static GetFileMetadata ( string file, bool cloudSave ) : FileMetadata
file string
cloudSave bool
Résultat FileMetadata

GetWorldDifficulty() public static méthode

public static GetWorldDifficulty ( string WorldFileName ) : bool
WorldFileName string
Résultat bool

GetWorldName() public static méthode

public static GetWorldName ( string WorldFileName ) : string
WorldFileName string
Résultat string

IsValidWorld() public static méthode

public static IsValidWorld ( string file, bool cloudSave ) : bool
file string
cloudSave bool
Résultat bool

LoadWorld_Version1() public static méthode

public static LoadWorld_Version1 ( BinaryReader fileIO ) : int
fileIO System.IO.BinaryReader
Résultat int

LoadWorld_Version2() public static méthode

public static LoadWorld_Version2 ( BinaryReader reader ) : int
reader System.IO.BinaryReader
Résultat int

ResetTemps() public static méthode

public static ResetTemps ( ) : void
Résultat void

SaveWorld_Version2() public static méthode

public static SaveWorld_Version2 ( BinaryWriter writer ) : void
writer System.IO.BinaryWriter
Résultat void

loadWorld() public static méthode

public static loadWorld ( ) : void
Résultat void

saveWorld() public static méthode

public static saveWorld ( ) : void
Résultat void

saveWorld() public static méthode

public static saveWorld ( bool useCloudSaving, bool resetTime = false ) : void
useCloudSaving bool
resetTime bool
Résultat void

validateWorld() public static méthode

public static validateWorld ( BinaryReader fileIO ) : bool
fileIO System.IO.BinaryReader
Résultat bool

Property Details

IsWorldOnCloud public_oe static_oe property

public static bool IsWorldOnCloud
Résultat bool

tempBloodMoon public_oe static_oe property

public static bool tempBloodMoon
Résultat bool

tempCultistDelay public_oe static_oe property

public static int tempCultistDelay
Résultat int

tempDayTime public_oe static_oe property

public static bool tempDayTime
Résultat bool

tempEclipse public_oe static_oe property

public static bool tempEclipse
Résultat bool

tempMaxRain public_oe static_oe property

public static float tempMaxRain
Résultat float

tempMoonPhase public_oe static_oe property

public static int tempMoonPhase
Résultat int

tempRainTime public_oe static_oe property

public static int tempRainTime
Résultat int

tempRaining public_oe static_oe property

public static bool tempRaining
Résultat bool

tempTime public_oe static_oe property

public static double tempTime
Résultat double

versionNumber public_oe static_oe property

public static int versionNumber
Résultat int