WoW:API GetTrainerServiceDescription: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
No edit summary
m (Move page script moved page API GetTrainerServiceDescription to API GetTrainerServiceDescription without leaving a redirect)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<center>'''GetTradeSkillSelectionIndex''' ''-Documentation by [[User:Xharze|Xharze]]-''</center>
{{wowapi}}


Returns the description of a specific trainer service.
Returns the description of a specific trainer service.
Line 24: Line 24:
Prints the description of the trainer service with index 3, in the chatwindow
Prints the description of the trainer service with index 3, in the chatwindow
  ChatFrame1:AddMessage(GetTrainerServiceDescription(3));
  ChatFrame1:AddMessage(GetTrainerServiceDescription(3));
----
{{WoW API}}

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));