WoW:API GetQuestLogLeaderBoard: Difference between revisions

m
Move page script moved page API GetQuestLogLeaderBoard to WoW:API GetQuestLogLeaderBoard without leaving a redirect
(added example code)
m (Move page script moved page API GetQuestLogLeaderBoard to WoW:API GetQuestLogLeaderBoard without leaving a redirect)
 
(6 intermediate revisions by 6 users not shown)
Line 16: Line 16:
:;desc : String - The text description of the objective, like: "Kill foo: 0/3"
:;desc : String - The text description of the objective, like: "Kill foo: 0/3"


:;type : String - could be the following things: "item", "object", "monster", "reputation", or "event".
:;type : String - could be the following things: "item", "object", "monster", "reputation", "log", or "event".


:;done : Boolean - ''nil'' if this sub objective is not completed yet, else 1
:;done : Boolean - ''nil'' if this sub objective is not completed yet, else 1
Line 29: Line 29:
  end
  end
  -- returns eg. "monster", "Young Nightsaber slain", 1, 7, nil
  -- returns eg. "monster", "Young Nightsaber slain", 1, 7, nil
----
;''Notes''
The type "player" was added in WotLK, which is used by {{questlong|Alliance|80|No Mercy!}} and probably other quests.
The type "log" was added sometime around patch 3.3.0, and seems to have replaced many instances of "event".
Only ever found one quest, {{quest|The Thandol Span (3)|The Thandol Span}} that had an "object" objective.
The "desc" returnvalue can be incomplete under some (unknown) circumstances containing an empty string or just says "slain" instead the real objective text.
Anonymous user