WoW:API IsResting: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
No edit summary
 
m (Move page script moved page API IsResting to API IsResting without leaving a redirect)
 
(3 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<center>'''IsResting''' ''-Documentation by Crest-''</center>
{{wowapi}} __NOTOC__


Checks to see if Player is resting.
Checks to see if Player is resting.
resting = IsResting();


IsResting();
== Arguments ==
None


----
;''Arguments''


none
== Returns ==
:; resting : [[Boolean]] - Whether the player is resting


----
;''Returns''


:;true - If Player is resting
== Details ==
:;false - If Player is not resting
: You are Resting if you are in an Inn or a Major City like Ironforge or Orgrimmar.
: While resting, the player will gain XP Bonus.


----
;''Description''


: Will check if Player is resting. You are Resting if you are in a Pub or a Major City like Ironforge or Orgrimmar.
== See Also ==
: While resting, the player will gain XPBonus
 
----
;''See Also''
* [[Rested]]
* [[Rested]]
* [http://www.worldofwarcraft.com/info/basics/resting.html Resting] at the [http://www.worldofwarcraft.com Official site].
----
{{Template:WoW API}}

Latest revision as of 04:46, 15 August 2023

WoW API < IsResting

Checks to see if Player is resting.

resting = IsResting();

Arguments[edit]

None


Returns[edit]

resting
Boolean - Whether the player is resting


Details[edit]

You are Resting if you are in an Inn or a Major City like Ironforge or Orgrimmar.
While resting, the player will gain XP Bonus.


See Also[edit]