* Improve the Chat Screen

This commit is contained in:
iProgramInCpp
2023-08-06 13:19:37 +03:00
parent 2b105fe1eb
commit bc407fda47
8 changed files with 65 additions and 14 deletions

View File

@@ -113,6 +113,11 @@ void ServerSideNetworkHandler::handle(const RakNet::RakNetGUID& guid, LoginPacke
m_pRakNetPeer->Send(&appbs, HIGH_PRIORITY, RELIABLE_ORDERED, 0, guid, true);
}
void ServerSideNetworkHandler::handle(const RakNet::RakNetGUID&, MessagePacket* packet)
{
// TODO
}
void ServerSideNetworkHandler::handle(const RakNet::RakNetGUID& guid, MovePlayerPacket* packet)
{
//not in the original

View File

@@ -26,6 +26,7 @@ public:
void onNewClient(const RakNet::RakNetGUID&) override;
void onDisconnect(const RakNet::RakNetGUID&) override;
void handle(const RakNet::RakNetGUID&, LoginPacket*) override;
void handle(const RakNet::RakNetGUID&, MessagePacket*) override;
void handle(const RakNet::RakNetGUID&, MovePlayerPacket*) override;
void handle(const RakNet::RakNetGUID&, PlaceBlockPacket*) override;
void handle(const RakNet::RakNetGUID&, RemoveBlockPacket*) override;