tModLoader  0.12 Alpha
A mod to make and play Terraria mods
Terraria.UI.ItemSlot Class Reference

Classes

class  Context
 
class  Options
 

Static Public Member Functions

static void Draw (SpriteBatch spriteBatch, Item[] inv, int context, int slot, Vector2 position, Color lightColor=default(Color))
 
static void Draw (SpriteBatch spriteBatch, ref Item inv, int context, Vector2 position, Color lightColor=default(Color))
 
static void DrawMoney (SpriteBatch sb, string text, float shopx, float shopy, int[] coinsArray, bool horizontal=false)
 
static void DrawRadialCircular (SpriteBatch sb, Vector2 position)
 
static void DrawRadialDpad (SpriteBatch sb, Vector2 position)
 
static void DrawRadialQuicks (SpriteBatch sb, Vector2 position)
 
static void DrawSavings (SpriteBatch sb, float shopx, float shopy, bool horizontal=false)
 
static bool Equippable (Item[] inv, int context, int slot)
 
static bool Equippable (ref Item inv, int context=0)
 
static string GetGamepadInstructions (Item[] inv, int context=0, int slot=0)
 
static string GetGamepadInstructions (ref Item inv, int context=0)
 
static void GetItemLight (ref Color currentColor, int type, bool outInTheWorld=false)
 
static void GetItemLight (ref Color currentColor, Item item, bool outInTheWorld=false)
 
static Color GetItemLight (ref Color currentColor, ref float scale, int type, bool outInTheWorld=false)
 
static void GetItemLight (ref Color currentColor, ref float scale, Item item, bool outInTheWorld=false)
 
static void Handle (Item[] inv, int context=0, int slot=0)
 
static void Handle (ref Item inv, int context=0)
 
static bool IsABuildingItem (Item item)
 
static bool isEquipLocked (int type)
 
static bool IsMiscEquipment (Item item)
 
static void LeftClick (Item[] inv, int context=0, int slot=0)
 
static void LeftClick (ref Item inv, int context=0)
 
static void MouseHover (Item[] inv, int context=0, int slot=0)
 
static void MouseHover (ref Item inv, int context=0)
 
static void OverrideHover (Item[] inv, int context=0, int slot=0)
 
static void OverrideHover (ref Item inv, int context=0)
 
static int PickItemMovementAction (Item[] inv, int context, int slot, Item checkItem)
 
static void PickupItemIntoMouse (Item[] inv, int context, int slot, Player player)
 
static void RefreshStackSplitCooldown ()
 
static void RightClick (Item[] inv, int context=0, int slot=0)
 
static void RightClick (ref Item inv, int context=0)
 
static void SelectEquipPage (Item item)
 
static void SetGlow (int index, float hue, bool chest)
 
static void SwapEquip (Item[] inv, int context, int slot)
 
static void SwapEquip (ref Item inv, int context=0)
 
static void UpdateInterface ()
 

Static Public Attributes

static float CircularRadialOpacity
 
static bool DrawGoldBGForCraftingMaterial
 
static float QuicksRadialOpacity
 
static bool ShiftForcedOn
 

Properties

static bool ControlInUse [get]
 
static bool NotUsingGamepad [get]
 
static bool ShiftInUse [get]