20 lines
394 B
C++
20 lines
394 B
C++
#pragma once
|
|
|
|
#include <client/Client.h>
|
|
#include <td/misc/SlotGuard.h>
|
|
|
|
namespace td {
|
|
namespace client {
|
|
|
|
class ClientState : public Client::State, public protocol::PacketHandler, private utils::SlotGuard {
|
|
public:
|
|
ClientState(Client& a_Client);
|
|
virtual ~ClientState() {}
|
|
|
|
protected:
|
|
void SendPacket(const protocol::PacketBase& a_Packet);
|
|
};
|
|
|
|
} // namespace server
|
|
} // namespace td
|