WoW API: GetTrainerServiceLevelReq

Revision as of 04:46, 15 August 2023 by Move page script (talk) (Move page script moved page API GetTrainerServiceLevelReq to API GetTrainerServiceLevelReq without leaving a redirect)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

WoW API < GetTrainerServiceLevelReq


Gets the required level to learn a skill from the trainer.

local reqLevel = GetTrainerServiceLevelReq(id)


Arguments

id
Number - Index of the trainer service to retrieve information about. Note that indices are affected by the trainer filter. (See GetTrainerServiceTypeFilter and SetTrainerServiceTypeFilter.)


Returns

reqLevel
Number - The required level (for pet or player) to learn the skill.