- ingame/inventory/inventoryslot.lua:1321 --
slotActions:AddSlotAction(SI_ITEM_ACTION_USE, function() ZO_InventorySlot_InitiateConfirmUseItem(inventorySlot) end, "primary", nil, {visibleWhenDead = false})
- ingame/inventory/inventoryslot.lua:1323 --
slotActions:AddSlotAction(SI_ITEM_ACTION_USE, function() TryUseItem(inventorySlot) end, "primary", nil, {visibleWhenDead = false})
- ingame/inventory/inventoryslot.lua:1332 --
slotActions:AddSlotAction(SI_ITEM_ACTION_USE, function() TryUseQuestItem(inventorySlot) end, "primary", nil, {visibleWhenDead = true})
- ingame/inventory/inventoryslot.lua:1359 --
slotActions:AddSlotAction(textEnum, useCollectibleCallback, "primary", nil, {visibleWhenDead = false})
- ingame/inventory/inventoryslot.lua:1446 --
slotActions:AddSlotAction(SI_ITEM_ACTION_LINK_TO_CHAT, linkFn, "secondary", nil, {visibleWhenDead = true})
- ingame/inventory/inventoryslot.lua:1448 --
slotActions:AddSlotAction(SI_ITEM_ACTION_REPORT_ITEM,
function()
if IsInGamepadPreferredMode() then
KEYBIND_STRIP:RemoveAllKeyButtonGroups()
HELP_ITEM_ASSISTANCE_GAMEPAD:InitWithDetails(link)
-- if we open up the help menu while interacting, we want to make sure that we are not
-- just pushing the previous scene onto the stack since it will end the interaction
-- and make the scene invalid when coming back to it after the help scene is closed
local sceneName = HELP_ITEM_ASSISTANCE_GAMEPAD:GetSceneName()
if INTERACT_WINDOW:IsInteracting() then
SCENE_MANAGER:Show(sceneName)
else
SCENE_MANAGER:Push(sceneName)
end
else
HELP_CUSTOMER_SUPPORT_KEYBOARD:OpenScreen(HELP_CUSTOMER_SERVICE_ITEM_ASSISTANCE_KEYBOARD:GetFragment())
HELP_CUSTOMER_SERVICE_ITEM_ASSISTANCE_KEYBOARD:SetDetailsFromItemLink(link)
end
end,
"secondary")
- ingame/inventory/inventoryslot.lua:1515 --
slotActions:AddSlotAction(SI_ITEM_ACTION_REMOVE_FROM_QUICKSLOT, function() ClearSlot(slot) end, "primary", nil, QUICKSLOT_SHARED_OPTIONS)
- ingame/inventory/inventoryslot.lua:1519 --
slotActions:AddSlotAction(SI_ITEM_ACTION_MAP_TO_QUICKSLOT, callback, "primary", nil, QUICKSLOT_SHARED_OPTIONS)
- ingame/inventory/inventoryslot.lua:1585 --
slotActions:AddSlotAction(SI_COLLECTIBLE_ACTION_RENAME, ZO_CollectionsBook.GetShowRenameDialogClosure(collectibleId), "keybind1")
- ingame/inventory/inventoryslot.lua:1598 --
slotActions:AddSlotAction(SI_ITEM_ACTION_MAIL_ATTACH, function() TryMailItem(inventorySlot) end, "primary")
- ingame/inventory/inventoryslot.lua:1604 --
slotActions:AddSlotAction(SI_ITEM_ACTION_MAIL_DETACH, function() RemoveQueuedAttachment(inventorySlot) end, "primary")
- ingame/inventory/inventoryslot.lua:1610 --
slotActions:AddSlotAction(SI_ITEM_ACTION_BANK_DEPOSIT, function() TryBankItem(inventorySlot) end, "primary")
- ingame/inventory/inventoryslot.lua:1616 --
slotActions:AddSlotAction(SI_ITEM_ACTION_BANK_WITHDRAW, function() TryBankItem(inventorySlot) end, "primary")
- ingame/inventory/inventoryslot.lua:1622 --
slotActions:AddSlotAction(SI_ITEM_ACTION_BANK_DEPOSIT, function()
local bag, slotIndex = ZO_Inventory_GetBagAndIndex(inventorySlot)
TryGuildBankDepositItem(bag, slotIndex)
end, "primary")
- ingame/inventory/inventoryslot.lua:1631 --
slotActions:AddSlotAction(SI_ITEM_ACTION_BANK_WITHDRAW, function()
local _, slotIndex = ZO_Inventory_GetBagAndIndex(inventorySlot)
TryGuildBankWithdrawItem(slotIndex)
end, "primary")
- ingame/inventory/inventoryslot.lua:1640 --
slotActions:AddSlotAction(SI_ITEM_ACTION_TRADE_ADD, function() TryTradeItem(inventorySlot) end, "primary")
- ingame/inventory/inventoryslot.lua:1646 --
slotActions:AddSlotAction(SI_ITEM_ACTION_TRADE_REMOVE, function() TryRemoveFromTrade(inventorySlot) end, "primary")
- ingame/inventory/inventoryslot.lua:1652 --
slotActions:AddSlotAction(SI_ITEM_ACTION_SELL, function() TrySellItem(inventorySlot) end, "primary")
- ingame/inventory/inventoryslot.lua:1658 --
slotActions:AddSlotAction(SI_ITEM_ACTION_LAUNDER, function() TryLaunderItem(inventorySlot) end, "primary")
- ingame/inventory/inventoryslot.lua:1664 --
slotActions:AddSlotAction(SI_ITEM_ACTION_BUY, function() BuyItemFromStore(inventorySlot) end, "primary")
- ingame/inventory/inventoryslot.lua:1670 --
slotActions:AddSlotAction(SI_ITEM_ACTION_BUY_MULTIPLE, function() TryBuyMultiple(inventorySlot) end, "secondary")
- ingame/inventory/inventoryslot.lua:1675 --
slotActions:AddSlotAction(SI_ITEM_ACTION_BUYBACK, function() BuybackItem(inventorySlot.index) end, "primary")
- ingame/inventory/inventoryslot.lua:1680 --
slotActions:AddSlotAction(SI_ITEM_ACTION_EQUIP, function() TryEquipItem(inventorySlot) end, "primary", nil, {visibleWhenDead = false})
- ingame/inventory/inventoryslot.lua:1687 --
slotActions:AddSlotAction(SI_ITEM_ACTION_EQUIP, function() GAMEPAD_INVENTORY:TryEquipItem(inventorySlot) end, "primary")
- ingame/inventory/inventoryslot.lua:1693 --
slotActions:AddSlotAction(SI_ITEM_ACTION_UNEQUIP, function() TryUnequipItem(inventorySlot) end, "primary")
- ingame/inventory/inventoryslot.lua:1698 --
slotActions:AddSlotAction(SI_ITEM_ACTION_LOOT_TAKE, function() TakeLoot(inventorySlot) end, "primary", function() return false end)
- ingame/inventory/inventoryslot.lua:1703 --
slotActions:AddSlotAction(SI_ITEM_ACTION_DESTROY, function() ZO_InventorySlot_InitiateDestroyItem(inventorySlot) end, "secondary")
- ingame/inventory/inventoryslot.lua:1709 --
slotActions:AddSlotAction(SI_ITEM_ACTION_SPLIT_STACK, function() ZO_InventorySlot_TrySplitStack(inventorySlot) end, "secondary")
- ingame/inventory/inventoryslot.lua:1715 --
slotActions:AddSlotAction(SI_ITEM_ACTION_ENCHANT, function() TryEnchantItem(inventorySlot) end, "keybind1")
- ingame/inventory/inventoryslot.lua:1721 --
slotActions:AddSlotAction(SI_ITEM_ACTION_CHARGE, function() TryChargingItem(inventorySlot) end, "keybind2")
- ingame/inventory/inventoryslot.lua:1727 --
slotActions:AddSlotAction(SI_ITEM_ACTION_REPAIR, function() TryKitRepairItem(inventorySlot) end, "keybind2")
- ingame/inventory/inventoryslot.lua:1743 --
slotActions:AddSlotAction(SI_ITEM_ACTION_MARK_AS_LOCKED, function() MarkAsPlayerLockedHelper(bag, index, true) end, "secondary")
- ingame/inventory/inventoryslot.lua:1750 --
slotActions:AddSlotAction(SI_ITEM_ACTION_UNMARK_AS_LOCKED, function() MarkAsPlayerLockedHelper(bag, index, false) end, "secondary")
- ingame/inventory/inventoryslot.lua:1757 --
slotActions:AddSlotAction(SI_ITEM_ACTION_MARK_AS_JUNK, function() MarkAsJunkHelper(bag, index, true) end, "secondary")
- ingame/inventory/inventoryslot.lua:1764 --
slotActions:AddSlotAction(SI_ITEM_ACTION_UNMARK_AS_JUNK, function() MarkAsJunkHelper(bag, index, false) end, "secondary")
- ingame/inventory/inventoryslot.lua:1774 --
slotActions:AddSlotAction(SI_TRADING_HOUSE_ADD_ITEM_TO_LISTING, function() TryInitiatingItemPost(inventorySlot) end, "primary")
- ingame/inventory/inventoryslot.lua:1780 --
slotActions:AddSlotAction(SI_TRADING_HOUSE_SEARCH_FROM_ITEM, function()
local bag, index = ZO_Inventory_GetBagAndIndex(inventorySlot)
local itemLink = GetItemLink(bag, index)
TRADING_HOUSE:SearchForItemLink(itemLink)
end, "keybind3")
- ingame/inventory/inventoryslot.lua:1790 --
slotActions:AddSlotAction(SI_TRADING_HOUSE_SEARCH_FROM_ITEM, function()
local resultIndex = ZO_Inventory_GetSlotIndex(inventorySlot)
local itemLink = GetTradingHouseSearchResultItemLink(resultIndex)
TRADING_HOUSE:SearchForItemLink(itemLink)
end, "primary")
- ingame/inventory/inventoryslot.lua:1800 --
slotActions:AddSlotAction(SI_TRADING_HOUSE_SEARCH_FROM_ITEM, function()
local listingIndex = ZO_Inventory_GetSlotIndex(inventorySlot)
local itemLink = GetTradingHouseListingItemLink(listingIndex)
TRADING_HOUSE:SearchForItemLink(itemLink)
end, "primary")
- ingame/inventory/inventoryslot.lua:1810 --
slotActions:AddSlotAction(SI_TRADING_HOUSE_REMOVE_PENDING_POST, function() ClearItemPost(inventorySlot) end, "primary")
- ingame/inventory/inventoryslot.lua:1816 --
slotActions:AddSlotAction(SI_TRADING_HOUSE_BUY_ITEM, function() TryBuyingTradingHouseItem(inventorySlot) end, "primary")
- ingame/inventory/inventoryslot.lua:1821 --
slotActions:AddSlotAction(SI_TRADING_HOUSE_CANCEL_LISTING, function() TryCancellingTradingHouseListing(inventorySlot) end, "secondary")
- ingame/inventory/inventoryslot.lua:1828 --
slotActions:AddSlotAction(SI_ITEM_ACTION_CONVERT_TO_IMPERIAL_STYLE, function() ZO_Dialogs_ShowPlatformDialog("CONVERT_STYLE_MOVED", nil, { mainTextParams = { imperialStyleName }, titleParams = { imperialStyleName } }) end, "secondary")
- ingame/inventory/inventoryslot.lua:1836 --
slotActions:AddSlotAction(SI_ITEM_ACTION_CONVERT_TO_MORAG_TONG_STYLE, function() ZO_Dialogs_ShowPlatformDialog("CONVERT_STYLE_MOVED", nil, { mainTextParams = { moragStyleName }, titleParams = { moragStyleName } }) end, "secondary")
- ingame/inventory/inventoryslot.lua:1841 --
slotActions:AddSlotAction(SI_ITEM_ACTION_REPAIR, function() TryVendorRepairItem(inventorySlot) end, "primary")
- ingame/inventory/inventoryslot.lua:1846 --
slotActions:AddSlotAction(SI_ITEM_ACTION_ADD_TO_CRAFT, function() TryAddItemToCraft(inventorySlot) end, "primary", IsCraftingActionVisible)
- ingame/inventory/inventoryslot.lua:1853 --
slotActions:AddSlotAction(SI_ITEM_ACTION_REMOVE_FROM_CRAFT, function() TryRemoveItemFromCraft(inventorySlot) end, "primary", IsCraftingActionVisible)
- ingame/inventory/inventoryslot.lua:1858 --
slotActions:AddSlotAction(SI_ITEM_ACTION_REMOVE_FROM_CRAFT, TryRemoveAllFromCraft, "primary")
- ingame/inventory/inventoryslot.lua:1863 --
slotActions:AddSlotAction(SI_TRADING_HOUSE_BUY_ITEM, function() TryBuyingGuildSpecificItem(inventorySlot) end, "primary")
- ingame/inventory/inventoryslot.lua:1871 --
slotActions:AddSlotAction(SI_ITEM_ACTION_REMOVE_ITEMS_FROM_CRAFT_BAG, function() TryMoveToInventory(inventorySlot) end, "primary")
- ingame/inventory/inventoryslot.lua:1876 --
slotActions:AddSlotAction(SI_ITEM_ACTION_ADD_ITEMS_TO_CRAFT_BAG, function() TryMoveToCraftBag(bagId, slotIndex) end, "secondary")
- ingame/inventory/inventoryslot.lua:1882 --
slotActions:AddSlotAction(SI_ITEM_ACTION_PREVIEW_DYE_STAMP, function() TryPreviewDyeStamp(inventorySlot) end, "primary")
- ingame/inventory/inventoryslot.lua:1888 --
slotActions:AddSlotAction(SI_ITEM_ACTION_SHOW_MAP, function() TryShowRecallMap(inventorySlot) end, "primary")
- ingame/inventory/inventoryslot.lua:1895 --
slotActions:AddSlotAction(SI_ITEM_ACTION_START_SKILL_RESPEC, function() TryStartSkillRespec(inventorySlot) end, "primary")