WoW:API GetAuctionItemTimeLeft: Difference between revisions

m
Move page script moved page API GetAuctionItemTimeLeft to WoW:API GetAuctionItemTimeLeft without leaving a redirect
No edit summary
m (Move page script moved page API GetAuctionItemTimeLeft to WoW:API GetAuctionItemTimeLeft without leaving a redirect)
 
(5 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{wowapi}}
Retrieves the time left for a item in the Auction House.
Retrieves the time left for a item in the Auction House.


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


----
----
Line 18: 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 = GetAuctionItemInfo("owner", offset + i);
  timeleft = GetAuctionItemTimeLeft("owner", offset + i);


;''Result''
;''Result''
Line 35: Line 36:


: Retrieves the time left for an item in the current list of auction items.
: Retrieves the time left for an item in the current list of auction items.
----
{{Template:WoW API}}
Anonymous user