View Single Post
05-13-16, 04:47 AM   #1
Gello
A Molten Giant
AddOn Author - Click to view addons
Join Date: Jan 2005
Posts: 521
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

Last edited by Gello : 05-13-16 at 07:30 AM.