diff options
Diffstat (limited to 'src/connectionhandler.h')
-rw-r--r-- | src/connectionhandler.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/connectionhandler.h b/src/connectionhandler.h index cf93e6af..0f114765 100644 --- a/src/connectionhandler.h +++ b/src/connectionhandler.h @@ -99,6 +99,11 @@ class ConnectionHandler */ void registerHandler(unsigned int msgId, MessageHandler *handler); + /** + * Send queued packets to client + */ + void sendPackets(); + private: std::map<unsigned int, MessageHandler*> handlers; std::map<NetComputer*, TCPsocket> clients; |