WoW:API GetGMTicketCategories: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
(upgraded deprecated template)
mNo edit summary
Line 1: Line 1:
{{wowapi}}
{{wowapi}}
<center>'''GetGMTicketCategories''' ''-Documentation by [[user:Mikk|Mikk]]-''</center>


Get the list of available GM ticket categories.
Get the list of available GM ticket categories.

Revision as of 16:43, 4 December 2007

WoW API < GetGMTicketCategories

Get the list of available GM ticket categories.

category1, category2, ... = GetGMTicketCategories()

Parameters

Returns

A variable number of categories (Strings).


Example

function ShowAllMyArgs(...)
  for i=1,getn(arg) do
    DEFAULT_CHAT_FRAME:AddMessage( arg[i] );
  end
end

ShowAllMyArgs( GetGMTicketCategories() );

Displays all available GM ticket categories in the chat window.