Back to Home
ESO Function Data v100035
AddSlotAction()
Function Aliases
- No known aliases for this function.
Global Function Definitions
Local Function Definitions
- No known local definitions for this function.
Function Calls
- ingame/inventory/inventoryslot.lua:1352 -- slotActions:AddSlotAction(SI_ITEM_ACTION_USE, function() ZO_InventorySlot_InitiateConfirmUseItem(inventorySlot) end, "primary", nil, {visibleWhenDead = false})
- ingame/inventory/inventoryslot.lua:1354 -- slotActions:AddSlotAction(SI_ITEM_ACTION_USE, function() TryUseItem(inventorySlot) end, "primary", nil, {visibleWhenDead = false})
- ingame/inventory/inventoryslot.lua:1363 -- slotActions:AddSlotAction(SI_ITEM_ACTION_USE, function() TryUseQuestItem(inventorySlot) end, "primary", nil, {visibleWhenDead = true})
- ingame/inventory/inventoryslot.lua:1390 -- slotActions:AddSlotAction(textEnum, useCollectibleCallback, "primary", nil, {visibleWhenDead = false})
- ingame/inventory/inventoryslot.lua:1477 -- slotActions:AddSlotAction(SI_ITEM_ACTION_LINK_TO_CHAT, linkFn, "secondary", nil, {visibleWhenDead = true})
- ingame/inventory/inventoryslot.lua:1479 -- 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:1546 -- slotActions:AddSlotAction(SI_ITEM_ACTION_REMOVE_FROM_QUICKSLOT, function() ClearSlot(slot) end, "primary", nil, QUICKSLOT_SHARED_OPTIONS)
- ingame/inventory/inventoryslot.lua:1550 -- slotActions:AddSlotAction(SI_ITEM_ACTION_MAP_TO_QUICKSLOT, callback, "primary", nil, QUICKSLOT_SHARED_OPTIONS)
- ingame/inventory/inventoryslot.lua:1616 -- slotActions:AddSlotAction(SI_COLLECTIBLE_ACTION_RENAME, ZO_CollectionsBook.GetShowRenameDialogClosure(collectibleId), "keybind1")
- ingame/inventory/inventoryslot.lua:1629 -- slotActions:AddSlotAction(SI_ITEM_ACTION_MAIL_ATTACH, function() TryMailItem(inventorySlot) end, "primary")
- ingame/inventory/inventoryslot.lua:1635 -- slotActions:AddSlotAction(SI_ITEM_ACTION_MAIL_DETACH, function() RemoveQueuedAttachment(inventorySlot) end, "primary")
- ingame/inventory/inventoryslot.lua:1641 -- slotActions:AddSlotAction(SI_ITEM_ACTION_BANK_DEPOSIT, function() TryBankItem(inventorySlot) end, "primary")
- ingame/inventory/inventoryslot.lua:1647 -- slotActions:AddSlotAction(SI_ITEM_ACTION_BANK_WITHDRAW, function() TryBankItem(inventorySlot) end, "primary")
- ingame/inventory/inventoryslot.lua:1653 -- slotActions:AddSlotAction(SI_ITEM_ACTION_BANK_DEPOSIT, function()
local bag, slotIndex = ZO_Inventory_GetBagAndIndex(inventorySlot)
TryGuildBankDepositItem(bag, slotIndex)
end, "primary")
- ingame/inventory/inventoryslot.lua:1662 -- slotActions:AddSlotAction(SI_ITEM_ACTION_BANK_WITHDRAW, function()
local _, slotIndex = ZO_Inventory_GetBagAndIndex(inventorySlot)
TryGuildBankWithdrawItem(slotIndex)
end, "primary")
- ingame/inventory/inventoryslot.lua:1671 -- slotActions:AddSlotAction(SI_ITEM_ACTION_TRADE_ADD, function() TryTradeItem(inventorySlot) end, "primary")
- ingame/inventory/inventoryslot.lua:1677 -- slotActions:AddSlotAction(SI_ITEM_ACTION_TRADE_REMOVE, function() TryRemoveFromTrade(inventorySlot) end, "primary")
- ingame/inventory/inventoryslot.lua:1683 -- slotActions:AddSlotAction(SI_ITEM_ACTION_SELL, function() TrySellItem(inventorySlot) end, "primary")
- ingame/inventory/inventoryslot.lua:1689 -- slotActions:AddSlotAction(SI_ITEM_ACTION_LAUNDER, function() TryLaunderItem(inventorySlot) end, "primary")
- ingame/inventory/inventoryslot.lua:1695 -- slotActions:AddSlotAction(SI_ITEM_ACTION_BUY, function() BuyItemFromStore(inventorySlot) end, "primary")
- ingame/inventory/inventoryslot.lua:1701 -- slotActions:AddSlotAction(SI_ITEM_ACTION_BUY_MULTIPLE, function() TryBuyMultiple(inventorySlot) end, "secondary")
- ingame/inventory/inventoryslot.lua:1706 -- slotActions:AddSlotAction(SI_ITEM_ACTION_BUYBACK, function() BuybackItem(inventorySlot.index) end, "primary")
- ingame/inventory/inventoryslot.lua:1711 -- slotActions:AddSlotAction(SI_ITEM_ACTION_EQUIP, function() TryEquipItem(inventorySlot) end, "primary", nil, {visibleWhenDead = false})
- ingame/inventory/inventoryslot.lua:1721 -- slotActions:AddSlotAction(SI_ITEM_ACTION_EQUIP, function()
if playerSceneShown then
GAMEPAD_INVENTORY:TryEquipItem(inventorySlot)
else
COMPANION_EQUIPMENT_GAMEPAD:TryEquipItem(inventorySlot)
end
end, "primary")
- ingame/inventory/inventoryslot.lua:1733 -- slotActions:AddSlotAction(SI_ITEM_ACTION_UNEQUIP, function() TryUnequipItem(inventorySlot) end, "primary")
- ingame/inventory/inventoryslot.lua:1738 -- slotActions:AddSlotAction(SI_ITEM_ACTION_LOOT_TAKE, function() TakeLoot(inventorySlot) end, "primary", function() return false end)
- ingame/inventory/inventoryslot.lua:1743 -- slotActions:AddSlotAction(SI_ITEM_ACTION_DESTROY, function() ZO_InventorySlot_InitiateDestroyItem(inventorySlot) end, "secondary")
- ingame/inventory/inventoryslot.lua:1749 -- slotActions:AddSlotAction(SI_ITEM_ACTION_SPLIT_STACK, function() ZO_InventorySlot_TrySplitStack(inventorySlot) end, "secondary")
- ingame/inventory/inventoryslot.lua:1755 -- slotActions:AddSlotAction(SI_ITEM_ACTION_ENCHANT, function() TryEnchantItem(inventorySlot) end, "keybind1")
- ingame/inventory/inventoryslot.lua:1761 -- slotActions:AddSlotAction(SI_ITEM_ACTION_CHARGE, function() TryChargingItem(inventorySlot) end, "keybind2")
- ingame/inventory/inventoryslot.lua:1767 -- slotActions:AddSlotAction(SI_ITEM_ACTION_REPAIR, function() TryKitRepairItem(inventorySlot) end, "keybind2")
- ingame/inventory/inventoryslot.lua:1786 -- slotActions:AddSlotAction(SI_ITEM_ACTION_MARK_AS_LOCKED, function() MarkAsPlayerLockedHelper(bag, index, true) end, "secondary")
- ingame/inventory/inventoryslot.lua:1793 -- slotActions:AddSlotAction(SI_ITEM_ACTION_UNMARK_AS_LOCKED, function() MarkAsPlayerLockedHelper(bag, index, false) end, "secondary")
- ingame/inventory/inventoryslot.lua:1801 -- slotActions:AddSlotAction(SI_ITEM_ACTION_MARK_AS_JUNK, function() MarkAsJunkHelper(bag, index, true) end, "secondary")
- ingame/inventory/inventoryslot.lua:1808 -- slotActions:AddSlotAction(SI_ITEM_ACTION_UNMARK_AS_JUNK, function() MarkAsJunkHelper(bag, index, false) end, "secondary")
- ingame/inventory/inventoryslot.lua:1818 -- slotActions:AddSlotAction(SI_TRADING_HOUSE_ADD_ITEM_TO_LISTING, function() TryInitiatingItemPost(inventorySlot) end, "primary")
- ingame/inventory/inventoryslot.lua:1824 -- 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:1834 -- 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:1844 -- 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:1854 -- slotActions:AddSlotAction(SI_TRADING_HOUSE_REMOVE_PENDING_POST, function() ClearItemPost(inventorySlot) end, "primary")
- ingame/inventory/inventoryslot.lua:1860 -- slotActions:AddSlotAction(SI_TRADING_HOUSE_BUY_ITEM, function() TryBuyingTradingHouseItem(inventorySlot) end, "primary")
- ingame/inventory/inventoryslot.lua:1865 -- slotActions:AddSlotAction(SI_TRADING_HOUSE_CANCEL_LISTING, function() TryCancellingTradingHouseListing(inventorySlot) end, "secondary")
- ingame/inventory/inventoryslot.lua:1872 -- 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:1880 -- 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:1885 -- slotActions:AddSlotAction(SI_ITEM_ACTION_REPAIR, function() TryVendorRepairItem(inventorySlot) end, "primary")
- ingame/inventory/inventoryslot.lua:1890 -- slotActions:AddSlotAction(SI_ITEM_ACTION_ADD_TO_CRAFT, function() TryAddItemToCraft(inventorySlot) end, "primary", IsCraftingActionVisible)
- ingame/inventory/inventoryslot.lua:1897 -- slotActions:AddSlotAction(SI_ITEM_ACTION_REMOVE_FROM_CRAFT, function() TryRemoveItemFromCraft(inventorySlot) end, "primary", IsCraftingActionVisible)
- ingame/inventory/inventoryslot.lua:1902 -- slotActions:AddSlotAction(SI_ITEM_ACTION_REMOVE_FROM_CRAFT, TryRemoveAllFromCraft, "primary")
- ingame/inventory/inventoryslot.lua:1907 -- slotActions:AddSlotAction(SI_TRADING_HOUSE_BUY_ITEM, function() TryBuyingGuildSpecificItem(inventorySlot) end, "primary")
- ingame/inventory/inventoryslot.lua:1916 -- slotActions:AddSlotAction(SI_ITEM_ACTION_REMOVE_ITEMS_FROM_CRAFT_BAG, function() TryMoveToInventory(inventorySlot) end, "primary")
- ingame/inventory/inventoryslot.lua:1922 -- slotActions:AddSlotAction(SI_ITEM_ACTION_ADD_ITEMS_TO_CRAFT_BAG, function() TryMoveToCraftBag(bagId, slotIndex) end, "secondary")
- ingame/inventory/inventoryslot.lua:1929 -- slotActions:AddSlotAction(SI_ITEM_ACTION_PREVIEW_DYE_STAMP, function() TryPreviewDyeStamp(inventorySlot) end, "primary")
- ingame/inventory/inventoryslot.lua:1936 -- slotActions:AddSlotAction(SI_ITEM_ACTION_SHOW_MAP, function() TryShowRecallMap(inventorySlot) end, "primary")
- ingame/inventory/inventoryslot.lua:1944 -- slotActions:AddSlotAction(SI_ITEM_ACTION_START_SKILL_RESPEC, function() TryStartSkillRespec(inventorySlot) end, "primary")
- ingame/inventory/inventoryslot.lua:1952 -- slotActions:AddSlotAction(SI_ITEM_ACTION_BIND, function() TryBindItem(bagId, slotIndex) end, "secondary", nil, {visibleWhenDead = false})
- ingame/inventory/inventoryslot.lua:1966 -- slotActions:AddSlotAction(SI_ITEM_ACTION_PREVIEW, function() TryPreviewItem(bag, index) end, "keybind1")