C_ToyBox changes
For anyone updating toybox addons, several C_ToyBox functions were renamed:
GetFilterCollected -> GetCollectedShown GetFilterUncollected - > GetUncollectedShown SetFilterCollected -> SetCollectedShown SetFilterUncollected -> SetUncollectedShown IsSourceTypeFiltered -> IsSourceTypeFilterChecked SetFilterSourceType -> SetSourceTypeFilter The two set/clear all source filters functions were removed and replaced with a single function, which sets all filters if the based parameter is true and clears them all if false: SetAllSourceTypeFiltered - Removed ClearAllSourceTypesFiltered - Removed SetAllSourceTypeFilters - New And there's a new function called in the toybox's OnShow which does a refresh of the list: ForceToyRefilter - New |
Exactly what I was looking for. Just remember that SetAllSourceTypeFilters() uses true or false so those need to be used, SetAllSourceTypeFilters(true) or SetAllSourceTypeFilters(false)
|
All times are GMT -6. The time now is 09:41 PM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI