WoW API < GetTrainerServiceSkillLine

Gets the name of the skill at the specified line from the current trainer.

local skillLine = GetTrainerServiceSkillLine(index)

Arguments[edit | edit source]

Number - Index of the trainer service to get the name of. Note that indices are affected by the trainer filter. (See GetTrainerServiceTypeFilter and SetTrainerServiceTypeFilter.)

Returns[edit | edit source]

String - The name of the skill on the specified line.
Community content is available under CC-BY-SA unless otherwise noted.