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 |
--[[
This filter is a little different. Both Armor and Weapon searches use it, so instead of registering
itself with the trading house manager, this allow other filters to obtain/instantiate the trait filter
object as necessary using the TRADING_HOUSE global.
At its base, it's just another filter type that can be told to apply itself to a search
NOTE: The parent should be something that's always shown so that when different filters use this
they don't need to hide/show something else.
--]]
end
local control = CreateControlFromVirtual ( "$(parent)Traits" , parentControl , "TradingHouseSingleComboFilter" )
end
if ( traitType ) then
ZO_TradingHouse_UpdateComboBox ( self . control : GetNamedChild ( "Category" ) , ZO_TRADING_HOUSE_FILTER_TRAIT_TYPE_DATA [ traitType ] , self . SelectionChanged )
end
end
end
end |