WoW API: GetTrainerServiceSkillLine

From AddOn Studio
Jump to navigation Jump to search

WoW API < GetTrainerServiceSkillLine


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

local skillLine = GetTrainerServiceSkillLine(index)


Arguments[edit]

index
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]

skillLine
String - The name of the skill on the specified line.