EJ_GetSearchResult
Jump to navigation
Jump to search
Flavors |
---|
Links |
Info |
Added in 4.2.0 |
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 : DifficultyID
- instanceID
- number : JournalInstance.ID
- encounterID
- number : JournalEncounterID
- itemLink
- string : ItemLink
Details
- For item results,
id
specifies encounter journal loot id (and additional information is available through EJ_GetLootInfo),stype
is 0, whileinstanceID
andencounterID
specify which encounter the item drops from.
Patch changes
Patch 4.2.0 (2011-06-28): Added.