API IsResting

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

Returns

 * resting : - 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.