Project SkyFire Core
SkyFire 5.4.8 server core API documentation
Loading...
Searching...
No Matches
AccountMgr.h File Reference
#include "Common.h"
#include "Platform/Singleton.h"
#include "RBAC.h"
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_ACCOUNT_STR   16
#define MAX_EMAIL_STR   64
#define sAccountMgr   Skyfire::Singleton<AccountMgr, Skyfire::NullMutex>::instance()

Typedefs

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

Enumerations

enum class  AccountOpResult {
  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
}
enum  PasswordChangeSecurity { PW_NONE , PW_EMAIL , PW_RBAC }

Macro Definition Documentation

◆ MAX_ACCOUNT_STR

#define MAX_ACCOUNT_STR   16

◆ MAX_EMAIL_STR

#define MAX_EMAIL_STR   64

Definition at line 32 of file AccountMgr.h.

Referenced by AccountMgr::ChangeEmail(), and AccountMgr::ChangeRegEmail().

◆ sAccountMgr

Enumeration Type Documentation

◆ AccountOpResult

enum class AccountOpResult
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 

Definition at line 13 of file AccountMgr.h.

◆ PasswordChangeSecurity

Enumerator
PW_NONE 
PW_EMAIL 
PW_RBAC 

Definition at line 24 of file AccountMgr.h.