mNo edit summary |
m (→top: clean up, replaced: {{removed → {{Removed) Tag: WoW API docs |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
+ | {{Removedapi|7.0.3}} __NOTOC__ |
||
− | {{wowapi}} |
||
− | |||
Get the list of available GM ticket categories. |
Get the list of available GM ticket categories. |
||
Line 15: | Line 14: | ||
function ShowAllMyArgs(...) |
function ShowAllMyArgs(...) |
||
− | for i=1, |
+ | for i=1, select("#",...) do |
− | DEFAULT_CHAT_FRAME:AddMessage( |
+ | DEFAULT_CHAT_FRAME:AddMessage( select(i, ...) ); |
end |
end |
||
end |
end |
Latest revision as of 18:13, 4 April 2020
This is no longer a part of the World of Warcraft API.
|
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, select("#",...) do DEFAULT_CHAT_FRAME:AddMessage( select(i, ...) ); end end ShowAllMyArgs( GetGMTicketCategories() );
Displays all available GM ticket categories in the chat window.