summaryrefslogtreecommitdiff
path: root/src/net/eathena/gamehandler.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-03-28 01:51:25 +0300
committerAndrei Karas <akaras@inbox.ru>2013-03-28 01:51:25 +0300
commitff936ce120283ade23d88725c7d38542beca0a93 (patch)
tree5b2d26630c3a0537b0f578994d9ada7653c0cab3 /src/net/eathena/gamehandler.h
parentc9b13ba269857de0311863bf4d4461185fe10459 (diff)
downloadmanaplus-ff936ce120283ade23d88725c7d38542beca0a93.tar.gz
manaplus-ff936ce120283ade23d88725c7d38542beca0a93.tar.bz2
manaplus-ff936ce120283ade23d88725c7d38542beca0a93.tar.xz
manaplus-ff936ce120283ade23d88725c7d38542beca0a93.zip
improve gamehandler class
Diffstat (limited to 'src/net/eathena/gamehandler.h')
-rw-r--r--src/net/eathena/gamehandler.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/net/eathena/gamehandler.h b/src/net/eathena/gamehandler.h
index 425285f91..4e3ef861b 100644
--- a/src/net/eathena/gamehandler.h
+++ b/src/net/eathena/gamehandler.h
@@ -40,25 +40,25 @@ class GameHandler final : public MessageHandler, public Ea::GameHandler
A_DELETE_COPY(GameHandler)
- void handleMessage(Net::MessageIn &msg);
+ void handleMessage(Net::MessageIn &msg) override;
- void connect();
+ void connect() override;
- bool isConnected() A_WARN_UNUSED;
+ bool isConnected() const override A_WARN_UNUSED;
- void disconnect();
+ void disconnect() override;
- void quit();
+ void quit() const override;
- void ping(int tick);
+ void ping(const int tick) const override;
- void disconnect2();
+ void disconnect2() const override;
- void mapLoadedEvent();
+ void mapLoadedEvent() const override;
void processMapCharId(Net::MessageIn &msg);
- bool mustPing() const A_WARN_UNUSED
+ bool mustPing() const override A_WARN_UNUSED
{ return true; }
};