begin player auth
This commit is contained in:
@@ -1,8 +1,14 @@
|
||||
#include <client/Client.h>
|
||||
|
||||
#include <client/state/LoggingState.h>
|
||||
|
||||
namespace td {
|
||||
namespace client {
|
||||
|
||||
Client::Client(const std::shared_ptr<IClientSocket>& a_Socket, const std::string& a_PlayerName) : m_Socket(a_Socket) {
|
||||
ChangeState<LoggingState>(a_PlayerName);
|
||||
}
|
||||
|
||||
void Client::SendPacket(const protocol::PacketBase& a_Packet) {
|
||||
m_Socket->Send(a_Packet);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user