eqemu-server/loginserver/login_server.h
Chris Miles dfd8f84cac
[Strings] Refactor Strings Usage (#2305)
* 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
2022-07-14 02:10:52 -05:00

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