local completed = C_QuestLog.GetAllCompletedQuestIDs()for i=1, #completed do local id = completed[i] -- do whatever with the idend