536 short frameX = tile.
frameX;
559 short frameX = tile.
frameX;
848 ushort type = tile.
type;
936 string text = text2 +
" " + text2 +
"%";
958 bool flag = tile.
active();
965 bool flag = tile.
active();
1022 bool flag = tile.
active();
class f__AnonymousType0<< Count > j__TPar
static void Sleep(int millisecondsTimeout)
static int CreateChest(int X, int Y, int id=-1)
static TileEntity Read(BinaryReader reader, bool networkSend=false)
static CreativePowerManager Instance
void LoadFromWorld(BinaryReader reader, int versionGameWasLastSavedOn)
static int Place(int x, int y)
static void TryPlacing(int x, int y, int netid, int prefix, int stack)
static int Place(int x, int y)
static ? float _cachedSandstormIntendedSeverity
static void LoadWorldTiles(BinaryReader reader, bool[] importance)
static ? bool _cachedLanternNightGenuine
static int SaveFileFormatHeader(BinaryWriter writer)
static void LoadNPCs(BinaryReader reader)
static void LoadTileEntities(BinaryReader reader)
static bool _tempSandstormHappening
static readonly object IOLock
static void InternalSaveWorld(bool useCloudSaving, bool resetTime)
static bool _tempLanternNightManual
static void LoadWorld(bool loadFromCloud)
static int SaveCreativePowers(BinaryWriter writer)
static bool LoadFileFormatHeader(BinaryReader reader, [Out] bool[] importance, [Out] int[] positions, [Out] int positionsOffset)
static ? bool _cachedLanternNightNextNightIsGenuine
static void ConvertIlluminantPaintToNewField()
static void LoadBestiary(BinaryReader reader, int loadVersionNumber)
static bool RequireConvertOldTileEntities
static int SaveWorldTilesFast(BinaryWriter writer)
static bool RenameWorldUsingLoadAndSave(string newName)
static void FixAgainstExploits()
static void CheckSavedOreTiers()
static float _tempSandstormSeverity
static int SaveFooter(BinaryWriter writer)
static int LoadWorld_Version2(BinaryReader reader)
static void LoadCreativePowers(BinaryReader reader, int loadVersionNumber)
static int _tempCultistDelay
static bool _tempLanternNightGenuine
static int SaveWeightedPressurePlates(BinaryWriter writer)
static void LoadTownManager(BinaryReader reader)
static int SaveBestiary(BinaryWriter writer)
static Action OnWorldLoad
static void SetTempToCache()
static int SaveTownManager(BinaryWriter writer)
static int SaveChests(BinaryWriter writer)
static byte[] TutorialWorldData
static FileMetadata GetFileMetadata(string file, bool cloudSave)
static void ClearTempTiles()
static ? bool _cachedLanternNightManual
static ? bool _cachedSandstormHappening
static int _tempPartyCooldown
static void LoadDummies(BinaryReader reader)
static bool ValidateWorld(BinaryReader fileIO)
static float _tempSandstormIntendedSeverity
static void FixDresserChests()
static void SaveWorld_Version2(BinaryWriter writer)
static readonly List< int > CachedCelebratingNPCs
static ? bool _cachedBloodMoon
static int SaveHeaderPointers(BinaryWriter writer, int[] pointers)
static void CacheSaveTime()
static bool _tempPartyGenuine
static void LoadTutorialOnMainThread(object threadContext)
static WorldFileData CreateMetadata(string name, bool cloudSave, int GameMode)
static void ConvertOldTileEntities()
static readonly List< int > TempPartyCelebratingNPCs
static ? int _cachedPartyDaysOnCooldown
static bool IsValidWorld(string file, bool cloudSave)
static ? bool _cachedPartyManual
static bool RequireClearTempTiles
static int _tempSandstormTimeLeft
static ? float _cachedSandstormSeverity
static float _tempMaxRain
static bool _isWorldOnCloud
static void ConvertMannequin(int px, int py)
static ? int _cachedMoonPhase
static void ReregisterTiles()
static ? int _cachedLanternNightCooldown
static int SaveWorldTiles(BinaryWriter writer)
static bool _tempBloodMoon
static void SaveWorld(WorldFile.WorldSaveContext saveContext=WorldFile.WorldSaveContext.Normal)
static void LoadBestiaryForVersionsBefore210()
static int SaveSigns(BinaryWriter writer)
static void LoadSigns(BinaryReader reader)
static bool PendingSaveAndExit
static void ConvertWeaponRack(int px, int py)
static WorldFileData GetAllMetadata(string file, bool cloudSave)
static void ResetTempsToDayTime()
static WorldFileData GetTutorialMetadata()
static ? bool _cachedEclipse
static bool _tempPartyManual
static int LoadWorld_Version1_Old_BeforeRelease88(BinaryReader fileIO)
static bool _tempLanternNightNextNightIsGenuine
static int SaveWorldHeader(BinaryWriter writer)
static void RenameWorldCheck()
static int SaveTileEntities(BinaryWriter writer)
static void ValidateLoadNPCs(BinaryReader fileIO)
static int _versionNumber
static void SaveWorld(bool useCloudSaving, bool resetTime=false, WorldFile.WorldSaveContext saveContext=WorldFile.WorldSaveContext.Normal)
static int LoadFooter(BinaryReader reader)
static ? int _cachedCultistDelay
static void renameWorldCallBack(object threadContext)
static void SetOngoingToTemps()
static void LoadWorld_LastMinuteFixes()
static void LoadChests(BinaryReader reader)
static ? int _cachedSandstormTimeLeft
static void RenameWorldUsingLoadAndSave()
static void SetTempToOngoing()
static int _tempMoonPhase
static int _tempLanternNightCooldown
static bool RenameWorld(string newName, bool useCloudSaving=false)
static ? bool _cachedPartyGenuine
static ? bool _cachedDayTime
static void LoadHeader(BinaryReader reader)
static void DoRollingBackups(string backupWorldWritePath)
static int SaveNPCs(BinaryWriter writer)
static ? double _cachedTime
static Exception LastThrownLoadException
static void LoadWeightedPressurePlates(BinaryReader reader)
static void checkHalloween()
static string worldPathName
static void ToggleGameplayUpdates(bool state)
static byte[] ReadAllBytes(string path, bool cloud=false)
static void CreateDirectory(string path)
static void KillTile(int i, int j, bool fail=false, bool effectOnly=false, bool noItem=false)
static UnifiedRandom genRand
static void RandomizeMoonState(UnifiedRandom random, bool garenteeNewStyle=false)
static bool InWorld(int x, int y, int fluff=0)
static void Log(object message)
static Object Load(string path)
override string ToString()