Mercurial > wow > lfg-premade-filter
changeset 13:b9af92090f5e
debugging LFGPrintInstanceScan is not really necessary any more
author | ovolkov |
---|---|
date | Tue, 03 Feb 2015 11:16:07 +0300 |
parents | 64c9517efa88 |
children | 9431f27780c3 |
files | LFGFilter.lua |
diffstat | 1 files changed, 1 insertions(+), 23 deletions(-) [+] |
line wrap: on
line diff
--- a/LFGFilter.lua Tue Feb 03 11:15:14 2015 +0300 +++ b/LFGFilter.lua Tue Feb 03 11:16:07 2015 +0300 @@ -207,26 +207,4 @@ local id1, activityID1, name1, comment1, voiceChat1, iLvl1, age1, numBNetFriends1, numCharFriends1, numGuildMates1, isDelisted1 = C_LFGList.GetSearchResultInfo(results[idx]) print(id1, activityID1, C_LFGList.GetActivityInfo(activityID1), '*', name1) end -end - -function LFGPrintInstanceScan(ej_instance) - EJ_SelectInstance(ej_instance) - local encounter_idx = 1 - local encounter_name, encounter_id, root_section_id, _ - repeat - encounter_name, _, encounter_id, root_section_id = EJ_GetEncounterInfoByIndex(encounter_idx) - if encounter_name then - print(encounter_id, encounter_name) - local next_section_id = root_section_id - repeat - local title, description, headerType, abilityIcon, displayInfo, siblingID, _, fileredByDifficulty, link, startsOpen, flag1, flag2, flag3, flag4 = EJ_GetSectionInfo(next_section_id) - if displayInfo ~= 0 then - print(encounter_id, title) - end - next_section_id = siblingID - until not next_section_id - encounter_idx = encounter_idx + 1 - end - until not encounter_name - localized_encounter_name_to_idx[ej_instance] = encounter_names -end +end \ No newline at end of file