API GetTrainerServiceItemLink

From Wowpedia
Jump to: navigation, search


Returns an item link for a trainer service.

local link = GetTrainerServiceItemLink(index)


Arguments

index 
Number - Index of the trainer service to a link for. Note that indices are affected by the trainer filter. (See GetTrainerServiceTypeFilter and SetTrainerServiceTypeFilter.)


Returns

link 
itemLink - The item link for the given trainer service.