ESO Function Data v100014
SetCustomSort()
Function Aliases
No known aliases for this function.
Global Function Definitions
ingame/crafting/sharedcraftinginventory.lua:100
--
function ZO_SharedCraftingInventory:SetCustomSort(customDataSortFunction)
ingame/crafting/gamepad/gamepadcraftinginventory.lua:83
--
function ZO_GamepadCraftingInventory:SetCustomSort(customDataSortFunction)
Local Function Definitions
No known local definitions for this function.
Function Calls
ingame/crafting/gamepad/alchemy_gamepad.lua:381
--
self:SetCustomSort(function(bagId, slotIndex) local _, craftingSubItemType = GetItemCraftingInfo(bagId, slotIndex) if craftingSubItemType == ITEMTYPE_ALCHEMY_BASE then return 0 else return 1 end end)
ingame/crafting/gamepad/enchanting_gamepad.lua:93
--
self.inventory:SetCustomSort(function(bagId, slotIndex) local itemType = GetItemType(bagId, slotIndex) if self.enchantingMode == ENCHANTING_MODE_CREATION then if itemType == ITEMTYPE_ENCHANTING_RUNE_POTENCY then return 0 elseif itemType == ITEMTYPE_ENCHANTING_RUNE_ESSENCE then return 1 else return 2 end else return itemType end end )