WoW API: GetLFGResults

From AddOn Studio
Jump to navigation Jump to search

WoW API < GetLFGResults

Returns the results of a preceding LFG query

charname, level, class, guildname, race, zone, message = GetLFGResults(type, lfgIdx, index)

Takes[edit]

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[edit]

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[edit]

Needs UPDATE_LFG

Details[edit]