ServerPlayer.h 325 B

123456789101112131415161718
  1. #ifndef SERVER_PLAYER_H
  2. #define SERVER_PLAYER_H
  3. #include "common/entities/Player.h"
  4. #include "network/Server.h"
  5. class ServerPlayer : public Player {
  6. Server::Client& client;
  7. public:
  8. ServerPlayer(Server::Client& client);
  9. void onChat(InPacket& in);
  10. void sendChunk();
  11. void send(OutPacket& out);
  12. };
  13. #endif