WoW:API IsResting: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
(upgraded deprecated template)
(Updated to match the current API boilerplate.)
Line 1: Line 1:
{{wowapi}}
{{wowapi}} __NOTOC__
<center>'''IsResting''' ''-Documentation by Crest-''</center>


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].
* [http://www.worldofwarcraft.com/info/basics/resting.html Resting] at the [http://www.worldofwarcraft.com Official site].

Revision as of 20:10, 27 June 2007

WoW API < IsResting

Checks to see if Player is resting.

resting = IsResting();

Arguments

None


Returns

resting
Boolean - Whether the player is resting


Details

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