Filter API


each filter stores everything about itself in this table

feeds items into the filter so it knows about them


removes all item info from the filter (is called at merchant close)

checks to see if the current item should be displayed or filtered out


resets the filter to show all items again (is also called at merchant close)


called when the dropdown is opened. here each filter can register its options to the dropdown


is called when the dropdown is opened needs to return true if the filter wants to appear on the dropdown. Should return false if the filter will only filter all or nothing, otherwise should return true


this is called when the user wants to see everything so it needs to turn of all filtering


this does the inverse of ShowAll everything should now be filtered out


gets called by the filter to let the addon know it needs to update its display

You must login to post a comment. Don't have an account? Register to get one!