WoW API: GetTrainerServiceLevelReq

From AddOn Studio
Revision as of 15:30, 6 June 2007 by WoWWiki>Ravas (Added GetTrainerServiceLevelReq based on code from FrameXML.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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.