mirror of
https://github.com/EQEmu/Server.git
synced 2026-06-23 00:08:23 +00:00
Add keepalives for world > login and login > world
This commit is contained in:
@@ -26,6 +26,7 @@
|
||||
#include "../common/servertalk.h"
|
||||
#include "../common/packet_dump.h"
|
||||
#include "database.h"
|
||||
#include "../common/event/timer.h"
|
||||
#include <string>
|
||||
#include <memory>
|
||||
|
||||
@@ -180,6 +181,13 @@ private:
|
||||
bool is_server_logged_in;
|
||||
bool is_server_trusted;
|
||||
|
||||
/**
|
||||
* Keepalive
|
||||
* @param t
|
||||
*/
|
||||
void OnKeepAlive(EQ::Timer *t);
|
||||
std::unique_ptr<EQ::Timer> m_keepalive;
|
||||
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user