API C_QuestLog.IsQuestFlaggedCompleted

From Wowpedia
(Redirected from API IsQuestFlaggedCompleted)
Jump to: navigation, search

Determine if a quest has been completed.

isCompleted = C_QuestLog.IsQuestFlaggedCompleted(questID)

Arguments

questID 
number - The quest to query.

Returns

isCompleted 
boolean - true if it is completed, false if not or if the questID is not valid.

Example

print(IsQuestFlaggedCompleted(30041))  -- For a Pandaren
> true
print(IsQuestFlaggedCompleted(13485))  -- The Panda has not Honored the Borean Tundra flame. 
> false

Patch changes

See also