# HG changeset patch # User ovolkov # Date 1422951367 -10800 # Node ID b9af92090f5e16c0c5efe2e337cdb724e84b685a # Parent 64c9517efa88b8a590f9944e90d0badec5bccb37 debugging LFGPrintInstanceScan is not really necessary any more diff -r 64c9517efa88 -r b9af92090f5e LFGFilter.lua --- 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