Sol.data.quests.FindQuests

Sol.data.quests.FindQuests = function(searchStr, completionType, questType, minLevel, maxLevel)

Search through the quest list for all quests that match the specified criteria.

Any parameter may be left blank to include all quests.

Parameters: + searchStr     - portion of the quest name + completionType - one of Sol.constants.QUEST_ALL/QUEST_COMPLETE/QUEST_INCOMPLETE + questType     - one of Sol.constants.QUEST_ALL/QUEST_DAILY/QUEST_NORMAL + minLevel      - minimum level of the quest (inclusive) + maxLevel      - maximum level of the quest (inclusive)

Returns: + a table of quests that match the criteria, each entry being a table with these fields: index, name, completed, level, daily, track, catalogID

Example: local quests = Sol.data.quests.FindQuests(nil, Sol.constants.QUEST_COMPLETE, nil, 20)

This would return all completed quests with suggested level >= 20