TrinityCore
RestMgr.h File Reference
#include "Define.h"
#include <ctime>
+ Include dependency graph for RestMgr.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  RestMgr
 

Enumerations

enum  RestTypes : uint8 { REST_TYPE_XP = 0 , REST_TYPE_HONOR = 1 , REST_TYPE_MAX }
 
enum  PlayerRestInfoOffsets : uint8 {
  REST_STATE_XP = 0 , REST_RESTED_XP = 1 , REST_STATE_HONOR = 2 , REST_RESTED_HONOR = 3 ,
  MAX_REST_INFO
}
 
enum  PlayerRestState : uint8 { REST_STATE_RESTED = 1 , REST_STATE_NORMAL = 2 , REST_STATE_RAF_LINKED = 6 }
 
enum  RestFlag : uint32 { REST_FLAG_IN_TAVERN = 0x1 , REST_FLAG_IN_CITY = 0x2 , REST_FLAG_IN_FACTION_AREA = 0x4 }
 

Enumeration Type Documentation

◆ PlayerRestInfoOffsets

Enumerator
REST_STATE_XP 
REST_RESTED_XP 
REST_STATE_HONOR 
REST_RESTED_HONOR 
MAX_REST_INFO 

Definition at line 33 of file RestMgr.h.

◆ PlayerRestState

Enumerator
REST_STATE_RESTED 
REST_STATE_NORMAL 
REST_STATE_RAF_LINKED 

Definition at line 44 of file RestMgr.h.

◆ RestFlag

enum RestFlag : uint32
Enumerator
REST_FLAG_IN_TAVERN 
REST_FLAG_IN_CITY 
REST_FLAG_IN_FACTION_AREA 

Definition at line 51 of file RestMgr.h.

◆ RestTypes

enum RestTypes : uint8
Enumerator
REST_TYPE_XP 
REST_TYPE_HONOR 
REST_TYPE_MAX 

Definition at line 26 of file RestMgr.h.