WoW:API ExpandQuestHeader: Difference between revisions

m (__NOTOC__)
m (Move page script moved page API ExpandQuestHeader to API ExpandQuestHeader without leaving a redirect)
 
(2 intermediate revisions by 2 users 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==
Line 11: Line 11:
===Result===
===Result===
Expands the first quest header (questID = 1 is always yields a header if you have quests) if it was collapsed; if not, does nothing.
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.

Latest revision as of 04:45, 15 August 2023

WoW API < ExpandQuestHeader

Expands the quest header.

ExpandQuestHeader(questID);

Parameters

Arguments

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

Example

ExpandQuestHeader(1);

Result

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.