WoW API: GetTrainerServiceDescription

From AddOn Studio
Revision as of 04:46, 15 August 2023 by Move page script (talk) (Move page script moved page API GetTrainerServiceDescription to API GetTrainerServiceDescription without leaving a redirect)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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