WoW:API GetQuestTimers: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
No edit summary
 
m (Move page script moved page API GetQuestTimers to API GetQuestTimers without leaving a redirect)
 
(4 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<center>'''GetQuestTimers''' ''-Documentation by AlexanderYoshi-''</center>
__NOTOC__{{wowapi}}
 
Returns all of the quest timers currently in progress.
Returns all of the quest timers currently in progress.


  GetQuestTimers();
  GetQuestTimers();
 
== Parameters ==
----
=== Arguments ===
;''Arguments''


:''none''
:''none''


----
=== Returns ===
;''Returns''


:Strings questTimers
:Strings questTimers
Line 17: Line 14:
:;questTimers : Values in seconds of all quest timers currently in progress
:;questTimers : Values in seconds of all quest timers currently in progress


----
== Example ==
;''Example''
  QuestTimerFrame_Update(GetQuestTimers());
  QuestTimerFrame_Update(GetQuestTimers());


Line 27: Line 23:
  end
  end


;''Result''
=== Result ===
  "300", "240", "100"
  "300", "240", "100"
----
;''Description''
: Returns all of the quest timers currently in progress.
----
{{Template:WoW API}}

Latest revision as of 04:46, 15 August 2023

WoW API < GetQuestTimers

Returns all of the quest timers currently in progress.

GetQuestTimers();

Parameters[edit]

Arguments[edit]

none

Returns[edit]

Strings questTimers
questTimers
Values in seconds of all quest timers currently in progress

Example[edit]

QuestTimerFrame_Update(GetQuestTimers());
function QuestTimerFrame_Update(...)
 for i=1, arg.n, 1 do
  SecondsToTime(arg[i]);
 end
end

Result[edit]

"300", "240", "100"