mirror of
https://github.com/EQEmu/Server.git
synced 2026-02-16 08:42:25 +00:00
29 lines
908 B
C++
29 lines
908 B
C++
#pragma once
|
|
|
|
#include "common/types.h"
|
|
#include "loginserver/login_types.h"
|
|
#include "loginserver/encryption.h"
|
|
#include "loginserver/login_server.h"
|
|
|
|
extern LoginServer server;
|
|
extern Database database;
|
|
|
|
class AccountManagement {
|
|
public:
|
|
static uint64 CreateLoginServerAccount(LoginAccountContext c);
|
|
static uint64 CheckLoginserverUserCredentials(LoginAccountContext c);
|
|
static bool UpdateLoginserverUserCredentials(LoginAccountContext c);
|
|
static uint64 CheckExternalLoginserverUserCredentials(LoginAccountContext c);
|
|
static bool UpdateLoginserverWorldAdminAccountPasswordByName(LoginAccountContext c);
|
|
static uint64 HealthCheckUserLogin();
|
|
|
|
static bool CreateLoginserverWorldAdminAccount(
|
|
const std::string &username,
|
|
const std::string &password,
|
|
const std::string &email,
|
|
const std::string &first_name = "",
|
|
const std::string &last_name = "",
|
|
const std::string &ip_address = ""
|
|
);
|
|
};
|