23 lines
555 B
C++
23 lines
555 B
C++
#pragma once
|
|
|
|
#include <client/ClientState.h>
|
|
#include <td/game/World.h>
|
|
#include <td/simulation/ClientSimulation.h>
|
|
|
|
namespace td {
|
|
namespace client {
|
|
|
|
class LoggingState : public ClientState {
|
|
public:
|
|
LoggingState(Client& a_Client, const std::string& a_PlayerName);
|
|
~LoggingState();
|
|
|
|
virtual void Update(float a_Delta) override;
|
|
|
|
virtual void Handle(const protocol::packets::PlayerJoinPacket& a_Packet) override;
|
|
virtual void Handle(const protocol::packets::LoggingSuccessPacket& a_Packet) override;
|
|
};
|
|
|
|
} // namespace client
|
|
} // namespace td
|