Wikia

WoWWiki

Changes: API GetTrainerServiceTypeFilter

Edit

Back to page

(Update return values, it's 1 or nil)
 
Line 10: Line 10:
 
::*"used" (already known)
 
::*"used" (already known)
 
===Returns===
 
===Returns===
:;status : Flag - 1 if currently displaying trainer services of the specified type, 0 (or nil?) otherwise.
+
:;status : Flag - 1 if currently displaying trainer services of the specified type, nil otherwise.

Latest revision as of 07:49, May 2, 2009

WoW API < GetTrainerServiceTypeFilter

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

status = GetTrainerServiceTypeFilter(type);

ParametersEdit

ArgumentsEdit

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

ReturnsEdit

status 
Flag - 1 if currently displaying trainer services of the specified type, nil otherwise.

Around Wikia's network

Random Wiki