API EJ_GetSearchResult

From Wowpedia
Jump to: navigation, search

Returns search results for the Encounter Journal.

id, stype, difficultyID, instanceID, encounterID, itemLink = EJ_GetSearchResult(index)

Arguments

index 
number - search result index, ascending from 1 to EJ_GetNumSearchResults().

Returns

id 
number - ID of the matching loot/encounter/creature/section or instance.
stype 
number - result type; ascending from 0 for loot, encounter, creature, section, and instance respectively.
difficultyID 
number - Difficulty ID.
instanceID 
number - Instance ID of the instance this result stems from.
encounterID 
number - Encounter ID of the encounter this result stems from.
itemLink 
string - any item link of this search result.

Details

  • For item results, id specifies encounter journal loot id (and additional information is available through EJ_GetLootInfo), stype is 0, while instanceID and encounterID specify which encounter the item drops from.

Patch changes

See also