WoW:API GetAuctionItemTimeLeft: Difference between revisions

m
Move page script moved page API GetAuctionItemTimeLeft to WoW:API GetAuctionItemTimeLeft without leaving a redirect
(upgraded deprecated template)
m (Move page script moved page API GetAuctionItemTimeLeft to WoW:API GetAuctionItemTimeLeft without leaving a redirect)
 
(3 intermediate revisions by 3 users not shown)
Line 2: Line 2:
Retrieves the time left for a item in the Auction House.
Retrieves the time left for a item in the Auction House.


  timeleft = GetAuctionTimeLeft("type", index);
  timeleft = GetAuctionItemTimeLeft("type", index);


----
----
Line 19: Line 19:


:;timeleft : a number between 1 and 4
:;timeleft : a number between 1 and 4
:::;1 : short time (less then 30 min.)
:::;1 : short (less than 30 minutes)
:::;2 : medium time (30 min. till 2 hours)
:::;2 : medium (30 minutes - 2 hours)
:::;3 : long time (2 till 8 hours)
:::;3 : long (2 - 12 hours)
:::;4 : very long time (more then 8 hours)
:::;4 : very long (more than 12 hours)


----
----
;''Example''
;''Example''
  timeleft = GetAuctionTimeLeft("owner", offset + i);
  timeleft = GetAuctionItemTimeLeft("owner", offset + i);


;''Result''
;''Result''
Anonymous user