Returns the number of entries in the trainer service listing. Entries include both group headers and individual trainer services (i.e spells or recipes to be purchased). Reflects the list as it should currently be displayed, not necessarily the complete list -- if headers are collapsed or a filter is enabled, a smaller number will be returned.

Returns 0 if not interacting with a trainer.

See also Trainer functions.


numServices = GetNumTrainerServices()


  • numServices - Number of headers and services to display in the trainer service listing (number)