FANDOM


m ({{wowapi}})
m (added questID 0 = expand all headers)
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{wowapi}}
+
{{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==
  +
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 19:55, January 1, 2009

WoW API < ExpandQuestHeader

Expands the quest header.

ExpandQuestHeader(questID);

ParametersEdit

ArgumentsEdit

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

ExampleEdit

ExpandQuestHeader(1);

ResultEdit

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.

Community content is available under CC-BY-SA unless otherwise noted.