WoW:API GetNumTrainerServices: Difference between revisions

m
Returns on valid target vary depending on previous results.
No edit summary
m (Returns on valid target vary depending on previous results.)
Line 13: Line 13:
;''Returns''
;''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.
: Number trainerServices.  Note that if you are working with an invalid target (for example, a merchant) the return value will be the last valid value, rather than 0.


:; trainerServices : Total number of trainer services (used like index).
:; trainerServices : Total number of trainer services (used like index).