API GetQuestTagInfo

Retrieves tag information about the quest. tagID, tagName, worldQuestType, rarity, isElite, tradeskillLineIndex, displayTimeLeft = GetQuestTagInfo(questID)

Arguments

 * questID : Number - The ID of the quest to retrieve the tag info for.

Returns

 * tagID : Number - the tagID, nil if quest is not tagged
 * tagName : String - human readable representation of the tagID, nil if quest is not tagged
 * worldQuestType : Number - type of world quest, or nil if not world quest
 * rarity : Number - the rarity of the quest (used for world quests)
 * isElite : Boolean - is this an elite quest? (used for world quests)
 * tradeskillLineIndex : tradeskillID if this is a profession quest (used to determine which profession icon to display for world quests)
 * displayTimeLeft : ?

Details
(source: FrameXML/WorldMapFrame.lua)
 * worldQuestTypes : LE_QUEST_TAG_TYPE_PVP, LE_QUEST_TAG_TYPE_PET_BATTLE, LE_QUEST_TAG_TYPE_PROFESSION, LE_QUEST_TAG_TYPE_DUNGEON
 * rarity : LE_WORLD_QUEST_QUALITY_COMMON, LE_WORLD_QUEST_QUALITY_RARE, LE_WORLD_QUEST_QUALITY_EPIC