m
Move page script moved page API LFGQuery to WoW:API LFGQuery without leaving a redirect
(part of a API redesign proposal, please don't change the layout for the next few days) |
m (Move page script moved page API LFGQuery to WoW:API LFGQuery without leaving a redirect) |
||
| (3 intermediate revisions by 3 users not shown) | |||
| Line 1: | Line 1: | ||
{{wowapi}}__NOTOC__ | {{wowapi}}__NOTOC__ {{removedapi|3.3}} | ||
Find all players who are looking for a group for a specified objective | Find all players who are looking for a group for a specified objective | ||
LFGQuery(category, objective[, class]) | LFGQuery(category, objective[, class]) | ||
| Line 15: | Line 15: | ||
===Events=== | ===Events=== | ||
: Triggers | : Triggers UPDATE_LFG_LIST | ||
:: Triggered as soon as query results become available ( | :: Triggered as soon as query results become available (works, tested on Live client - Dec 27, 2006) | ||
===Details=== | ===Details=== | ||
: Use [[API_GetNumLFGResults|GetNumLFGResults()]] to retrieve the number of results and then iterate over them with [[API_GetLFGResults|GetLFGResults(index)]]. | : Use [[API_GetNumLFGResults|GetNumLFGResults()]] to retrieve the number of results and then iterate over them with [[API_GetLFGResults|GetLFGResults(index)]]. | ||
: | : Reqires a hardware event for each call to the API, so it should be called from related script handlers such as OnClick. (tested on Live client - Dec 28, 2008) | ||