58 public static int Place(
int x,
int y)
93 public static void Kill(
int x,
int y)
114 public static int Find(
int x,
int y)
177 if ((text ==
null ||
text !=
null) && (
"x " ==
null ||
"x " !=
null))
181 if ((text2 ==
null || text2 !=
null) && (
"y item: " ==
null ||
"y item: " !=
null))
187 if (
" " ==
null ||
" " !=
null)
190 if (velocity ==
null || velocity ==
null || velocity ==
null)
193 if (
" " ==
null ||
" " !=
null)
196 if (oldPosition ==
null || oldPosition ==
null || oldPosition !=
null)
223 bool flag = tile.
active();
296 if (-1073741824 == 0)
315 int chest = player.
chest;
326 short frameX = tile.
frameX;
444 int headSlot =
item.headSlot;
445 int bodySlot =
item.bodySlot;
446 int legSlot =
item.legSlot;
448 while (!
item.accessory);
464 int headSlot =
inv.headSlot;
465 int bodySlot =
inv.bodySlot;
466 int legSlot =
inv.legSlot;
467 bool accessory =
inv.accessory;
469 if (!accessory || headSlot == 0)
559 short frameX = tile.
frameX;
class f__AnonymousType0<< Count > j__TPar
static void Exit(object obj)
static void Enter(object obj)
static void BasicOpenCloseInteraction(Player player, int x, int y, int id)
static int GetKey(int x, int y)
static Tile GetTileSafely(Vector2 position)
override void RegisterTileEntityID(int assignedID)
override bool OverrideItemSlotLeftClick(Item[] inv, int context=0, int slot=0)
bool TryFitting(Item[] inv, int context=0, int slot=0, bool justCheck=false)
void SetInventoryFromMannequin(int headFrame, int shirtFrame, int legFrame)
void Draw(int tileLeftX, int tileTopY)
static void Framing_CheckTile(int callX, int callY)
static void OnPlayerInteraction(Player player, int clickX, int clickY)
void ReadItem(int itemIndex, BinaryReader reader, bool dye)
const int entityTileHeight
override bool IsTileValidForEntity(int x, int y)
override bool OverrideItemSlotHover(Item[] inv, int context=0, int slot=0)
override string ToString()
static bool IsBreakable(int clickX, int clickY)
override TileEntity GenerateInstance()
override void OnPlayerUpdate(Player player)
static int Place(int x, int y)
static bool FitsDisplayDoll(Item item)
const int entityTileWidth
override bool TryGetItemGamepadOverrideInstructions(Item[] inv, int context, int slot, [Out] string instruction)
override void ReadExtraData(BinaryReader reader, bool networkSend)
override void NetPlaceEntityAttempt(int x, int y)
static int Hook_AfterPlacement(int x, int y, int type=470, int style=0, int direction=1, int alternate=0)
void DrawInner(Player player, SpriteBatch spriteBatch)
static int Find(int x, int y)
void DrawSlotPairSet(Player player, SpriteBatch spriteBatch, int slotsToShowLine, int slotsArrayOffset, float offsetX, float offsetY, int inventoryContextTarget)
void WriteItem(int itemIndex, BinaryWriter writer, bool dye)
static int accessoryTargetSlot
static void Kill(int x, int y)
override void WriteExtraData(BinaryWriter writer, bool networkSend)
static int cursorOverride
static bool NetClientOnly
static float inventoryScale
static Terraria.Graphics.Camera Camera
PlayerInteractionAnchor tileEntityAnchor
static void KillTile(int i, int j, bool fail=false, bool effectOnly=false, bool noItem=false)
static bool SolidTileAllowBottomSlope(int i, int j)
static TileReachCheckSettings Simple
bool CanTakeItemToPersonalInventory