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 |
return object
end
local control = CreateControlFromVirtual ( "$(parent)Furnishings" , parentControl , "ZO_TradingHouseFurnishingsFilter_Keyboard" )
ZO_TradingHouse_UpdateComboBox ( self . firstTypeComboBoxControl , ZO_TRADING_HOUSE_FILTER_FURNITURE_CATEGORY_TYPE_DATA [ "root" ] , function ( ... ) self : OnFirstTypeComboBoxSelectionChanged ( ... ) end )
ZO_TradingHouse_UpdateComboBox ( self . itemTypeComboBoxControl , ZO_TRADING_HOUSE_FILTER_FURNITURE_ITEM_TYPE_DATA , function ( ... ) self : OnItemTypeComboBoxSelectionChanged ( ... ) end )
end
function FurnishingsFilter : OnFirstTypeComboBoxSelectionChanged ( comboBox , entryName , entry , selectionChanged )
if selectionChanged then
end
end
function FurnishingsFilter : OnSecondTypeComboBoxSelectionChanged ( comboBox , entryName , entry , selectionChanged )
end
function FurnishingsFilter : OnItemTypeComboBoxSelectionChanged ( comboBox , entryName , entry , selectionChanged )
end
if firstTypeSelectedData then
local secondTypeComboBoxCategoryDataKey = firstTypeSelectedData . childKey
if secondTypeComboBoxCategoryDataKey then
ZO_TradingHouse_UpdateComboBox ( self . secondTypeComboBoxControl , ZO_TRADING_HOUSE_FILTER_FURNITURE_CATEGORY_TYPE_DATA [ secondTypeComboBoxCategoryDataKey ] , function ( ... ) self : OnSecondTypeComboBoxSelectionChanged ( ... ) end )
else
end
end
end
local subcategoryData
end
end
end
end
TRADING_HOUSE : RegisterSearchFilter ( FurnishingsFilter , SI_TRADING_HOUSE_BROWSE_ITEM_TYPE_FURNISHINGS ) |