WoW:API GetTrainerServiceDescription: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
(upgraded deprecated template)
m (Move page script moved page API GetTrainerServiceDescription to API GetTrainerServiceDescription without leaving a redirect)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
{{wowapi}}
{{wowapi}}
<center>'''GetTradeSkillSelectionIndex''' ''-Documentation by [[User:Xharze|Xharze]]-''</center>


Returns the description of a specific trainer service.
Returns the description of a specific trainer service.

Latest revision as of 04:46, 15 August 2023

WoW API < GetTrainerServiceDescription

Returns the description of a specific trainer service.

GetTrainerServiceDescription(index);

Arguments
Number index
index
The index of the specific trainer service

Returns
String serviceDescription
serviceDescription
The description of a specific trainer service

Example

Prints the description of the trainer service with index 3, in the chatwindow

ChatFrame1:AddMessage(GetTrainerServiceDescription(3));