114 ushort type = tile.
type;
126 short frameY = tile.
frameY;
148 if (
tile6.frameX == 0)
176 bool flag = tile.
active();
207 int netID =
item.netID;
210 byte prefix =
item.prefix;
223 short frameX = tile.
frameX;
316 string text = text2 +
" " + text2 +
"%";
341 bool flag = tile.
active();
349 bool flag = tile.
active();
360 Vector2 vector = reader.ReadVector2();
class f__AnonymousType0<< Count > j__TPar
static int ToInt32(byte[] value, int startIndex)
static int CreateChest(int X, int Y, int id=-1)
static TileEntity Read(BinaryReader reader, bool networkSend=false)
static bool ModifyBodySlot(int slot)
static UnifiedRandom genRand
static void RandomizeMoonState(UnifiedRandom random, bool garenteeNewStyle=false)
static void LoadTileEntities(BinaryReader reader)
static bool ItemFitsWeaponRack(Item i)
static void LoadHeader(BinaryReader reader)
static void FixDresserChests()
static byte[] DecompressData(byte[] srcData)
static void LoadChests(BinaryReader reader)
static WorldFileData GetAllMetadata(string file)
static int LoadWorld_Version1(BinaryReader fileIO)
static void LoadDummies(BinaryReader reader)
static bool LoadSaveData(byte[] srcData)
static void LoadWeightedPressurePlates(BinaryReader reader)
static void LoadSigns(BinaryReader reader)
static void CheckWeaponsRack(int i, int j)
static void PlaceWeapon(int x, int y, Item item)
static int LoadWorld_Version2(BinaryReader reader)
static void LoadTownManager(BinaryReader reader)
const int ApproximateWriteSize
const int WorldVersion_1_3_4
const int WorldVersionOneMaxRelease
static bool LoadFileFormatHeader(BinaryReader reader, [Out] bool[] importance, [Out] int[] positions)
const int WorldVersion_RemapConsoleSpecificItems
const int WorldFileVersion
static void LoadNPCs(BinaryReader reader)
const int WorldVersion_AddGUID
static int LoadFooter(BinaryReader reader)
const int WorldVersion_1_3_2
const int MaximumWriteSize
static void LoadWorldTiles(BinaryReader reader, bool[] importance)
static int ReadItemID(BinaryReader fileIO)
static void CleanItemsStoredInTiles()
const int WorldVersion_1_3_3
static void CheckMannequin(int i, int j)
const int WorldVersion_StoreFrameAsRowsAndColumnsInsteadOfPixels
const int WorldVersion_CompressWorld
void SetFrameY(short value)
void SetFrameX(short value)