1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 |
local DATA_CALLBACK_INDEX = 1
local EQUIP_TYPE_INDEX = 2
end
self : GetFilterComboBoxData ( "Category" ) : SetData ( ZO_TradingHouseFilter_GenerateArmorTypeData ( function ( ... ) self : SetGenericArmorSearch ( ... ) end ) )
end
end
--Grab this from the base data that populates the category combo box. It isn't on the combo box entry
local forceRepopulate = true
else
forceRepopulate = false
end
if forceRepopulate then
-- reset list to remove or add sub category combo box as needed
local selectionChanged = categoryComboBoxData : UpdateSelectedEntryMemory ( entryName , selectedEntryIndex )
else
end
end
self . m_mode = mode
self . m_armorType = armorType
end
currentSelectedData [ DATA_CALLBACK_INDEX ] ( ) -- Invoke callback in data container which will in turn call SetGenericArmorSearch
end
if not hidden then
end
end
TRADING_HOUSE_GAMEPAD : RegisterSearchFilter ( GamepadArmorFilter , SI_TRADING_HOUSE_BROWSE_ITEM_TYPE_APPAREL ) |