SetTrainerServiceTypeFilter

From Warcraft Wiki
Jump to navigation Jump to search
Flavors
Links
Info
Added in 1.0.0 / 1.13.2

Sets the status of a skill filter in the trainer window.

SetTrainerServiceTypeFilter(type, status [, exclusive])

Parameters

Arguments

type
string - filter to set the status for:
  • "available" (can learn)
  • "unavailable" (can't learn)
  • "used" (already known)
status
Flag - 1 to show, 0 to hide items matching the specified filter. (Note that this is likely a bug as GetTrainerServiceTypeFilter returns a boolean now.)
exclusive
? - ?

Patch changes

Warlords of Draenor Patch 6.0.2 (2014-10-14): Gained "exclusive" return.