WoW:API GetLFGResults: Difference between revisions
Jump to navigation
Jump to search
(part of a API redesign proposal, please don't change the layout for the next few days) |
No edit summary |
||
Line 1: | Line 1: | ||
{{wowapi}}__NOTOC__ | {{wowapi}}__NOTOC__ | ||
Returns the results of a preceding LFG query | Returns the results of a preceding LFG query | ||
charname, level, class, guildname, race, zone, message = GetLFGResults(index) | charname, level, class, guildname, race, zone, message = GetLFGResults(type, lfgIdx, index) | ||
===Takes=== | ===Takes=== | ||
: Number type | |||
:: Index of one of the returned values of call to [[API_GetLFGTypes|GetLFGTypes()]] | |||
: Number lfgIdx | |||
:: Index of one of the values returned from [[API_GetLFGTypeEntries|GetLFGTypeEntries(lfgtype)]] called with the same lfgtype value being used in this call | |||
: Number index | : Number index | ||
:: Index of result to return. Must be in range [1; [[API_GetNumLFGResults()|GetNumLFGResults()]]] to generate meaningful results. | :: Index of result to return. Must be in range [1; [[API_GetNumLFGResults()|GetNumLFGResults()]]] to generate meaningful results. | ||
Line 27: | Line 31: | ||
===Details=== | ===Details=== | ||
Revision as of 13:55, 30 December 2008
← WoW API < GetLFGResults
Returns the results of a preceding LFG query
charname, level, class, guildname, race, zone, message = GetLFGResults(type, lfgIdx, index)
Takes
- Number type
- Index of one of the returned values of call to GetLFGTypes()
- Number lfgIdx
- Index of one of the values returned from GetLFGTypeEntries(lfgtype) called with the same lfgtype value being used in this call
- Number index
- Index of result to return. Must be in range [1; GetNumLFGResults()] to generate meaningful results.
Returns
- String charname
- Name of the character
- Number level
- Level of the character
- String class
- Class of the character
- String guildname
- Name of the guild the character belongs to
- String race
- Race of the character
- String zone
- Zone the character was in at query time
- String message
- A message the player provided when flagging himself as LFG with SetLookingForGroup()
Events
- Needs UPDATE_LFG