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

Go to the source code of this file.

Classes

class  AccountMgr
 

Namespaces

namespace  rbac
 

Macros

#define MAX_PASS_STR   16
 
#define MAX_ACCOUNT_STR   16
 
#define MAX_EMAIL_STR   64
 
#define sAccountMgr   AccountMgr::instance()
 

Typedefs

typedef std::map< uint32, rbac::RBACPermission * > rbac::RBACPermissionsContainer
 
typedef std::map< uint8, rbac::RBACPermissionContainerrbac::RBACDefaultPermissionsContainer
 

Enumerations

enum class  AccountOpResult : uint8 {
  AOR_OK , AOR_NAME_TOO_LONG , AOR_PASS_TOO_LONG , AOR_EMAIL_TOO_LONG ,
  AOR_NAME_ALREADY_EXIST , AOR_NAME_NOT_EXIST , AOR_DB_INTERNAL_ERROR , AOR_ACCOUNT_BAD_LINK
}
 
enum  PasswordChangeSecurity { PW_NONE , PW_EMAIL , PW_RBAC }
 

Macro Definition Documentation

◆ MAX_ACCOUNT_STR

#define MAX_ACCOUNT_STR   16

Definition at line 44 of file AccountMgr.h.

◆ MAX_EMAIL_STR

#define MAX_EMAIL_STR   64

Definition at line 45 of file AccountMgr.h.

◆ MAX_PASS_STR

#define MAX_PASS_STR   16

Definition at line 43 of file AccountMgr.h.

◆ sAccountMgr

#define sAccountMgr   AccountMgr::instance()

Definition at line 99 of file AccountMgr.h.

Enumeration Type Documentation

◆ AccountOpResult

enum class AccountOpResult : uint8
strong
Enumerator
AOR_OK 
AOR_NAME_TOO_LONG 
AOR_PASS_TOO_LONG 
AOR_EMAIL_TOO_LONG 
AOR_NAME_ALREADY_EXIST 
AOR_NAME_NOT_EXIST 
AOR_DB_INTERNAL_ERROR 
AOR_ACCOUNT_BAD_LINK 

Definition at line 24 of file AccountMgr.h.

◆ PasswordChangeSecurity

Enumerator
PW_NONE 
PW_EMAIL 
PW_RBAC 

Definition at line 36 of file AccountMgr.h.