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 SUB_TYPE_INDEX = 2
--Does not use trait or enchantment filters
end
--First Type Combo Box Options
self : GetFilterComboBoxData ( "Category" ) : SetData ( ZO_TRADING_HOUSE_FILTER_FURNITURE_CATEGORY_TYPE_DATA [ "root" ] )
--Second Type Combo Box Options
--Item Type Combo Box Options
local itemTypeComboBoxData = self : AddFilterComboBoxData ( "ItemType" , function ( ... ) self : OnItemTypeComboBoxSelectionChanged ( ... ) end )
end
self . categoryEntry = entry
local hasChildCategory = entry . childKey ~= nil and ZO_TRADING_HOUSE_FILTER_FURNITURE_CATEGORY_TYPE_DATA [ entry . childKey ] ~= nil
local subCategoryData
if hasChildCategory then
subCategoryData = ZO_TRADING_HOUSE_FILTER_FURNITURE_CATEGORY_TYPE_DATA [ entry . childKey ]
else
subCategoryData = nil
end
end
end
end
self . itemTypeEntry = entry
end
end
local categoryData = self . categoryEntry
local subcategoryData
--subcategoryEntry is set by the ZO_CategorySubtypeFilter handler for the subcategory combo box
subcategoryData = self . subcategoryEntry
end
local itemTypeData = self . itemTypeEntry
end
TRADING_HOUSE_GAMEPAD : RegisterSearchFilter ( GamepadFurnshingsFilter , SI_TRADING_HOUSE_BROWSE_ITEM_TYPE_FURNISHINGS ) |