API EJ GetSearchResult

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.

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,  specifies encounter journal loot id (and additional information is available through ),   is 0, while   and   specify which encounter the item drops from.