WoW:API ExpandQuestHeader: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
m (Move page script moved page API ExpandQuestHeader to API ExpandQuestHeader without leaving a redirect)
 
(One intermediate revision by one other user not shown)
Line 5: Line 5:
==Parameters==
==Parameters==
===Arguments===
===Arguments===
:;questID : Integer - The index of the header you wish to expand.
:;questID : Integer - The index of the header you wish to expand. - 0 to expand all quest headers


==Example==
==Example==

Latest revision as of 04:45, 15 August 2023

WoW API < ExpandQuestHeader

Expands the quest header.

ExpandQuestHeader(questID);

Parameters[edit]

Arguments[edit]

questID
Integer - The index of the header you wish to expand. - 0 to expand all quest headers

Example[edit]

ExpandQuestHeader(1);

Result[edit]

Expands the first quest header (questID = 1 is always yields a header if you have quests) if it was collapsed; if not, does nothing. Also fires a QUEST_LOG_UPDATE event so be careful when calling this while processing a QUEST_LOG_UPDATE event.