WoW:API IsResting: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
(Updated to match the current API boilerplate.)
(remove unnecessary link)
Line 19: Line 19:
== See Also ==
== See Also ==
* [[Rested]]
* [[Rested]]
* [http://www.worldofwarcraft.com/info/basics/resting.html Resting] at the [http://www.worldofwarcraft.com Official site].

Revision as of 21:15, 10 June 2011

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