FANDOM


Line 25: Line 25:
   
 
----
 
----
{{Template:WoW API}}
+
{{WoW API}}
 
[[Category:API TradeSkill Functions|GetTradeskillSelectionIndex]]
 

Revision as of 05:52, January 4, 2006

GetTradeSkillSelectionIndex -Documentation by Xharze-

Returns the number of trainer services.

GetNumTrainerServices();

Arguments
none

Returns
Number trainerServices. Note that if you are working with an invalid target (for example, a merchant) 148 will be consistently returned instead of 0.
trainerServices 
Total number of trainer services (used like index).

Example

Prints the number of trainer services to the chatwindow

ChatFrame1:AddMessage(GetNumTrainerServices());



Template:WoW API

Community content is available under CC-BY-SA unless otherwise noted.