summaryrefslogtreecommitdiff
path: root/src/net/tmwa/generalhandler.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-10-23 18:11:20 +0300
committerAndrei Karas <akaras@inbox.ru>2014-10-23 19:46:21 +0300
commit1c51481caaa70f4764e1a70106ed88fdc6e5ce89 (patch)
tree98b533b5c80c357966c1dd58a798d569e3af3941 /src/net/tmwa/generalhandler.h
parent0cd770e7cb6aae30e281a9e46ca7cc32df76b4be (diff)
downloadmv-1c51481caaa70f4764e1a70106ed88fdc6e5ce89.tar.gz
mv-1c51481caaa70f4764e1a70106ed88fdc6e5ce89.tar.bz2
mv-1c51481caaa70f4764e1a70106ed88fdc6e5ce89.tar.xz
mv-1c51481caaa70f4764e1a70106ed88fdc6e5ce89.zip
tmwa: in generalhandler move packet handling code to function.
Diffstat (limited to 'src/net/tmwa/generalhandler.h')
-rw-r--r--src/net/tmwa/generalhandler.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/net/tmwa/generalhandler.h b/src/net/tmwa/generalhandler.h
index bf13366c4..fb2f54d6e 100644
--- a/src/net/tmwa/generalhandler.h
+++ b/src/net/tmwa/generalhandler.h
@@ -61,6 +61,8 @@ class GeneralHandler final : public MessageHandler,
void gameEnded() const override final;
protected:
+ static void processConnectionProblem(Net::MessageIn &msg);
+
MessageHandlerPtr mAdminHandler;
MessageHandlerPtr mBeingHandler;
MessageHandlerPtr mBuySellHandler;