mirror of
https://github.com/EQEmu/Server.git
synced 2026-04-19 21:02:41 +00:00
* Initial commit checkpoint * More functions converted * Commify * More functions * Fin * Sort declarations * Split functions between files * Bots * Update strings.h * Split * Revert find replaces * Repository template * Money * Misc function * Update CMakeLists.txt * Saylink * Update strings.cpp * Swap Strings::Saylink for Saylink::Create since saylink is coupled to zone database * API casings
34 lines
784 B
C++
34 lines
784 B
C++
#ifndef EQEMU_LOGINSERVER_H
|
|
#define EQEMU_LOGINSERVER_H
|
|
|
|
#include <utility>
|
|
#include "../common/json_config.h"
|
|
#include "database.h"
|
|
#include "encryption.h"
|
|
#include "options.h"
|
|
#include "server_manager.h"
|
|
#include "client_manager.h"
|
|
#include "loginserver_webserver.h"
|
|
|
|
/**
|
|
* Login server struct, Contains every variable for the server that needs to exist outside the scope of main()
|
|
*/
|
|
struct LoginServer
|
|
{
|
|
public:
|
|
|
|
LoginServer() : db(nullptr), server_manager(nullptr) {
|
|
|
|
}
|
|
|
|
EQ::JsonConfigFile config;
|
|
Database *db;
|
|
LoginserverWebserver::TokenManager *token_manager{};
|
|
Options options;
|
|
ServerManager *server_manager;
|
|
ClientManager *client_manager{};
|
|
};
|
|
|
|
#endif
|
|
|