mirror of
https://github.com/BeamMP/BeamMP-Server.git
synced 2025-07-03 08:15:35 +00:00
19 lines
362 B
C++
19 lines
362 B
C++
#pragma once
|
|
|
|
#include "Common.h"
|
|
#include "IThreaded.h"
|
|
#include "Network.h"
|
|
|
|
class THeartbeatThread : public IThreaded {
|
|
public:
|
|
THeartbeatThread(std::shared_ptr<Network> network);
|
|
//~THeartbeatThread();
|
|
void operator()() override;
|
|
|
|
private:
|
|
std::string GenerateCall();
|
|
std::string GetPlayers();
|
|
|
|
std::shared_ptr<Network> m_network;
|
|
};
|