WoW:API ExpandQuestHeader: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
No edit summary
 
m (Move page script moved page API ExpandQuestHeader to API ExpandQuestHeader without leaving a redirect)
 
(5 intermediate revisions by 5 users not shown)
Line 1: Line 1:
<center>'''ExpandQuestHeader''' ''-Documentation by AlexanderYoshi-''</center>
{{wowapi}} __NOTOC__
 
Expands the quest header.
Expands the quest header.
  ExpandQuestHeader(questID);
  ExpandQuestHeader(questID);


----
==Parameters==
;''Arguments''
===Arguments===
 
:;questID : Integer - The index of the header you wish to expand. - 0 to expand all quest headers
:(Number questID)
 
:;questID : The quest ID of the header you wish to expand
 
----
;''Returns''
 
:;nil
 
----
;''Example''
ExpandQuestHeader(3);
 
;''Result''
 
----
;''Description''
 
: Expands the quest header.


----
==Example==
{{Template:WoW API}}
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.

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.