WoW:API GetTrainerServiceDescription: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
No edit summary
(upgraded deprecated template)
Line 1: Line 1:
{{wowapi}}
  <center>'''GetTradeSkillSelectionIndex''' ''-Documentation by [[User:Xharze|Xharze]]-''</center>
  <center>'''GetTradeSkillSelectionIndex''' ''-Documentation by [[User:Xharze|Xharze]]-''</center>


Line 24: Line 25:
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}}

Revision as of 17:28, 6 January 2007

WoW API < GetTrainerServiceDescription

GetTradeSkillSelectionIndex -Documentation by Xharze-

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