API GetTrainerServiceSkillLine

From Wowpedia
Jump to: navigation, search


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

local skillLine = GetTrainerServiceSkillLine(index)


Arguments

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

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