WoW API: GetGMTicketCategories

From AddOn Studio
Jump to navigation Jump to search
Reference 

WoW API < GetGMTicketCategories

Get the list of available GM ticket categories.

category1, category2, ... = GetGMTicketCategories()

Parameters[edit]

Returns[edit]

A variable number of categories (Strings).


Example[edit]

function ShowAllMyArgs(...)
  for i=1, select("#",...) do
    DEFAULT_CHAT_FRAME:AddMessage( select(i, ...) );
  end
end

ShowAllMyArgs( GetGMTicketCategories() );

Displays all available GM ticket categories in the chat window.