Back to Home
ESO Function Data v100021
SetCustomBestItemCategoryNameFunction()
Function Aliases
No known aliases for this function.
Global Function Definitions
ingame/crafting/gamepad/gamepadcraftinginventory.lua:91
--
function ZO_GamepadCraftingInventory:SetCustomBestItemCategoryNameFunction(customBestItemCategoryNameFunction)
Local Function Definitions
No known local definitions for this function.
Function Calls
ingame/crafting/gamepad/smithingextraction_gamepad.lua:373
--
self:SetCustomBestItemCategoryNameFunction(function(slotData, data) if slotData.traitInformation then if slotData.traitInformation == ITEM_TRAIT_INFORMATION_ORNATE then local traitType = GetItemTrait(slotData.bagId, slotData.slotIndex) slotData.bestItemCategoryName = zo_strformat(GetString("SI_ITEMTRAITTYPE", traitType)) elseif slotData.traitInformation == ITEM_TRAIT_INFORMATION_CAN_BE_RESEARCHED or slotData.traitInformation == ITEM_TRAIT_INFORMATION_RETRAITED then slotData.bestItemCategoryName = zo_strformat(GetString("SI_ITEMTRAITINFORMATION", slotData.traitInformation)) else slotData.bestItemCategoryName = nil -- design does not want anything to be said about inspiration/no trait items end end end)
ingame/crafting/gamepad/smithingimprovement_gamepad.lua:621
--
self:SetCustomBestItemCategoryNameFunction(function(slotData) slotData.bestItemCategoryName = zo_strformat(GetString("SI_ITEMTYPE", slotData.itemType)) if slotData.bagId == BAG_WORN then slotData.bestItemCategoryName = zo_strformat(GetString(SI_GAMEPAD_SECTION_HEADER_EQUIPPED_ITEM), slotData.bestItemCategoryName) end end)
ingame/retrait/gamepad/zo_retraitstation_retrait_gamepad.lua:540
--
self:SetCustomBestItemCategoryNameFunction(function(slotData) slotData.bestItemCategoryName = ZO_InventoryUtils_Gamepad_GetBestItemCategoryDescription(slotData) if slotData.bagId == BAG_WORN then slotData.bestItemCategoryName = zo_strformat(SI_GAMEPAD_SECTION_HEADER_EQUIPPED_ITEM, GetString("SI_ITEMTYPE", slotData.itemType)) end end)