WoW API: GetGMTicketCategories

WoW API < GetGMTicketCategories

Get the list of available GM ticket categories.

category1, category2, ... = GetGMTicketCategories()

ParametersEdit

ReturnsEdit

A variable number of categories (Strings).


ExampleEdit

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.