WoW API: IsResting

From AddOn Studio
Revision as of 04:46, 15 August 2023 by Move page script (talk | contribs) (Move page script moved page API IsResting to API IsResting without leaving a redirect)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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]