API GetTrainerServiceTypeFilter

From Wowpedia
Jump to: navigation, search

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

status = GetTrainerServiceTypeFilter(type);

Parameters

Arguments

type 
String - Possible values:
  • "available"
  • "unavailable"
  • "used" (already known)

Returns

status 
Boolean - true if currently displaying trainer services of the specified type, false otherwise.

Patch changes

  • Warlords of Draenor Patch 6.0.2 (2014-10-14): Returns a boolean value instead of 0/1.