510 if (mouseItem.
type == 0)
943 int width = frame.
Width;
992 string text = text2 +
" (" +
text3 +
")";
1063 int buffType =
item2.buffType;
1361 if (-1073741824 == 0)
1497 if (
item.mountType == 0)
class f__AnonymousType0<< Count > j__TPar
static long GetCurrencyCount(int currencyIndex)
static Item[] mouseItemSource
static int cursorOverride
static bool mouseLeftRelease
static bool NetClientOnly
static float inventoryScale
static bool mouseRightRelease
static int mouseItemSourceIndex
static bool playerInventory
static Player LocalPlayer
static int mouseItemSourceContext
static void FindRecipes(bool canDelayCheck=false)
static void GetContainerUsageInfo([Out] bool sync, [Out] Item[] chestinv)
const int EquipAccessoryVanity
const int EquipArmorVanity
const int CreativeInfinite
const int CraftingMaterial
const int CreativeResearch
const int DisplayDollArmor
const int DisplayDollAccessory
const int CreativeSacrifice
IAsyncResult BeginInvoke(ItemSlot.ItemTransferInfo info, AsyncCallback callback, object @object)
void EndInvoke(IAsyncResult result)
ItemTransferEvent(object @object, IntPtr method)
void Invoke(ItemSlot.ItemTransferInfo info)
static bool HighlightNewItems
static bool DisableLeftShiftTrashCan
static bool DisableQuickTrash
static bool Equippable(Item inv, int context=0)
static bool TryItemSwap(Item item)
static bool Equippable(Item[] inv, int context, int slot)
static void DrawSavings(SpriteBatch sb, float shopx, float shopy, bool horizontal=false, [Optional] SpriteBatch textSb)
static bool CursorHighlight
static float[] inventoryGlowHueChest
static float QuicksRadialOpacity
static bool OverrideLeftClick(Item[] inv, int context=0, int slot=0)
static bool isEquipLocked(int type)
static int LastHoverContext
static void SetGlow(int index, float hue, bool chest)
static bool TryGetSlotColor(int loadoutIndex, int context, [Out] Microsoft.Xna.Framework.Graphics.Color color)
static void OverrideHover(Item inv, int context=0)
static void SellOrTrash(Item[] inv, int context, int slot)
static void GetItemLight(Microsoft.Xna.Framework.Graphics.Color currentColor, float scale, Item item, bool outInTheWorld=false)
static void HandleShopSlot(Item[] inv, int slot, bool rightClickIsValid, bool leftClickIsValid)
static float ForceRenderScale
static void SwapEquip(Item inv, int context=0)
static Microsoft.Xna.Framework.Graphics.Color GetItemLight(Microsoft.Xna.Framework.Graphics.Color currentColor, float scale, int type, bool outInTheWorld=false)
static void Draw(SpriteBatch spriteBatch, Item inv, int context, Microsoft.Xna.Framework.Vector2 position)
static float CircularRadialOpacity
static bool RightClick(Item[] inv, int context=0, int slot=0)
static Microsoft.Xna.Framework.Graphics.Color GetLoadoutColor(int loadoutIndex)
static void RightClick(Item inv, int context=0)
static int LastButtonFrame
static int accSlotToSwapTo
static void OverrideHover(Item[] inv, int context=0, int slot=0)
static void DrawMoney(SpriteBatch sb, string text, float shopx, float shopy, int[] coinsArray, bool horizontal=false, [Optional] SpriteBatch textSb)
static bool forceClearGlowsOnChest
static void UpdateTooltipContext(int context, int slot)
static void SetSelectHighlight(bool hasFocus, float highlightScale=-1f)
static bool SwapVanityEquip(Item[] inv, int context, int slot, Player player)
static int PickItemMovementAction(Item[] inv, int context, int slot, Item checkItem, bool backwardCheck=false, int initialSlot=-1)
static float HighlightScale
static void SetCursorHighlight(bool hasFocus)
static bool ShiftForcedOn
static bool DisableTrashing()
static Microsoft.Xna.Framework.Vector2 defenderTextOffset
static void PlaceItem(Item[] inv, Item item, int context=0, int slot=-1, int keepStack=0)
static void LeftClick(Item[] inv, int context=0, int slot=0)
static int[] inventoryGlowTime
static void DrawRadialDpad(SpriteBatch sb, Microsoft.Xna.Framework.Vector2 position)
static void DrawRadialQuicks(SpriteBatch sb, Microsoft.Xna.Framework.Vector2 position)
static bool NotUsingGamepad
static void PickupItemIntoMouse(Item[] inv, int context, int slot, Player player)
static void Draw(SpriteBatch spriteBatch, Item[] inv, int context, int slot, Microsoft.Xna.Framework.Vector2 position, Microsoft.Xna.Framework.Graphics.Color lightColor)
static bool IsMiscEquipment(Item item)
static int additionalThrowVelocity
static void UpdateChestOnServer(int context, int slot)
static void UpdateTooltipButton(TransactionButton_Layout button)
static string GetOverrideInstructions(Item[] inv, int context, int slot)
static void MouseHover(Item inv, int context=0)
static float DrawItemIcon(Item item, int context, SpriteBatch spriteBatch, Microsoft.Xna.Framework.Vector2 screenPositionForItemCenter, float scale, float sizeLimit, Microsoft.Xna.Framework.Graphics.Color environmentColor)
static void Draw(SpriteBatch spriteBatch, Item[] inv, int context, int slot, Microsoft.Xna.Framework.Vector2 position, Microsoft.Xna.Framework.Graphics.Color lightColor, Microsoft.Xna.Framework.Graphics.Color backColor)
static bool IsMouseItem(Item[] slots, int index)
static bool TryOpenContainer(Item item, Player player)
static Item DyeSwap(Item item, [Out] bool success)
static void Handle(Item[] inv, int context=0, int slot=0)
static bool TryPickupDyeToCursor(int context, Item[] inv, int slot, Player player)
static void SelectEquipPage(Item item)
static Item[] singleSlotArray
static void Draw(SpriteBatch spriteBatch, Item[] inv, int context, int slot, Microsoft.Xna.Framework.Vector2 position)
static bool IsABuildingItem(Item item)
static void DrawItem_GetColorAndScale(Item item, float scale, Microsoft.Xna.Framework.Graphics.Color currentWhite, float sizeLimit, Rectangle frame, [Out] Microsoft.Xna.Framework.Graphics.Color itemLight, [Out] float finalDrawScale)
static void UpdateInterface()
static void RefreshStackSplitCooldown()
static int[] inventoryGlowTimeChest
static bool LeftClick_SellOrTrash(Item[] inv, int context, int slot)
static Microsoft.Xna.Framework.Graphics.Color GetHighlightColorByLoadout(int slot, int context)
static Microsoft.Xna.Framework.Graphics.Color GetColorByLoadout(int slot, int context)
static void DrawRadialCircular(SpriteBatch sb, Microsoft.Xna.Framework.Vector2 position, Player.SelectionRadial radial, Item[] items)
static bool DrawGoldBGForCraftingMaterial
static void TakeOne(Item[] inv, int context, int slot)
static void AfterItemSwap(int oldType, int newType)
static int _customCurrencyForSavings
static TransactionButton_Layout LastHoverButton
static void Draw(SpriteBatch spriteBatch, Item inv, int context, Microsoft.Xna.Framework.Vector2 position, Microsoft.Xna.Framework.Graphics.Color lightColor)
static void MouseHover(int context=0)
static void GetItemLight(Microsoft.Xna.Framework.Graphics.Color currentColor, int type, bool outInTheWorld=false)
static bool AccCheck(Item[] itemCollection, Item item, int slot)
static void AnnounceTransfer(ItemSlot.ItemTransferInfo info)
static Microsoft.Xna.Framework.Graphics.Color[,] LoadoutSlotColors
static void Handle(Item inv, int context=0)
static double _lastTimeForVisualEffectsThatLoadoutWasChanged
static void DrawCost(SpriteBatch sb, float shopx, float shopy, long cost, [Optional] SpriteBatch textSb)
static bool TryGetHighlightedSlotColor(int loadoutIndex, int context, [Out] Microsoft.Xna.Framework.Graphics.Color color)
static bool DuplicationMode
static float[] inventoryGlowHue
static Microsoft.Xna.Framework.Vector2 defenderPigOffset
static bool[] canFavoriteAt
static void SetOverridenScale(float highlightScale)
static Microsoft.Xna.Framework.Graphics.Color[,] LoadoutHighlightSlotColors
static void GetItemLight(Microsoft.Xna.Framework.Graphics.Color currentColor, Item item, bool outInTheWorld=false)
static bool SelectHighlight
static float ShiftHueByLoadout(float hue, int loadoutIndex)
static bool SwapEquip(Item[] inv, int context, int slot)
static void MouseHover(Item[] inv, int context=0, int slot=0)
static ItemSlot.ItemTransferEvent OnItemTransferred
static Item EquipSwap(Item item, Item[] inv, int slot, [Out] bool success)
static void LeftClick(Item inv, int context=0)
static void DrawSavings(SpriteBatch sb, Panel_Layout savingsBacking, float shopx, float shopy, Microsoft.Xna.Framework.Vector2 savings1IconOffset, Microsoft.Xna.Framework.Vector2 savings2Offset, Microsoft.Xna.Framework.Vector2 savings3Offset, Microsoft.Xna.Framework.Vector2 savings4Offset, bool horizontal=false, [Optional] SpriteBatch textSb)
static Item ArmorSwap(Item item, [Out] bool success)
static void RecordLoadoutChange()
static int[] CoinsSplit(long count)
bool CanTakeItemToPersonalInventory
ItemTransferInfo(Item itemAfter, int fromContext, int toContext, int transferAmount=0)