migrate codebase to new network

marked non-implemented stuff with an exception
This commit is contained in:
Lion Kortlepel
2024-01-19 17:34:36 +01:00
parent e0fe6693e0
commit b06991aaca
10 changed files with 148 additions and 153 deletions

View File

@@ -2,10 +2,11 @@
#include "Common.h"
#include "IThreaded.h"
#include "Network.h"
class THeartbeatThread : public IThreaded {
public:
THeartbeatThread(TResourceManager& ResourceManager, TServer& Server);
THeartbeatThread(std::shared_ptr<Network> network);
//~THeartbeatThread();
void operator()() override;
@@ -13,6 +14,5 @@ private:
std::string GenerateCall();
std::string GetPlayers();
TResourceManager& mResourceManager;
TServer& mServer;
std::shared_ptr<Network> m_network;
};