API IsResting

From Wowpedia
Jump to: navigation, search

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