mirror of
https://github.com/EQEmu/Server.git
synced 2026-01-06 01:03:52 +00:00
30 lines
891 B
C++
30 lines
891 B
C++
#pragma once
|
|
|
|
#include "common/types.h"
|
|
#include "loginserver/login_types.h"
|
|
#include "loginserver/login_server.h"
|
|
|
|
#include <string>
|
|
|
|
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 = ""
|
|
);
|
|
};
|