diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-03-28 23:21:07 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-03-28 23:21:07 +0300 |
commit | be3c1cf049d3df146d18acfb7cbead2ef3f660f1 (patch) | |
tree | 9f70999543adce3be255abdad6a9e284de266f50 /src/net/eathena/generalhandler.h | |
parent | 58974e6733a39bd55b9511f0010e0a8b7cd49aa4 (diff) | |
download | ManaVerse-be3c1cf049d3df146d18acfb7cbead2ef3f660f1.tar.gz ManaVerse-be3c1cf049d3df146d18acfb7cbead2ef3f660f1.tar.bz2 ManaVerse-be3c1cf049d3df146d18acfb7cbead2ef3f660f1.tar.xz ManaVerse-be3c1cf049d3df146d18acfb7cbead2ef3f660f1.zip |
improve generalhandler class.
Diffstat (limited to 'src/net/eathena/generalhandler.h')
-rw-r--r-- | src/net/eathena/generalhandler.h | 22 |
1 files changed, 10 insertions, 12 deletions
diff --git a/src/net/eathena/generalhandler.h b/src/net/eathena/generalhandler.h index 184f30bdc..d2fba855d 100644 --- a/src/net/eathena/generalhandler.h +++ b/src/net/eathena/generalhandler.h @@ -34,8 +34,7 @@ namespace EAthena { class GeneralHandler final : public MessageHandler, - public Net::GeneralHandler, - public Listener + public Net::GeneralHandler { public: GeneralHandler(); @@ -44,24 +43,23 @@ class GeneralHandler final : public MessageHandler, ~GeneralHandler(); - void handleMessage(Net::MessageIn &msg); + void handleMessage(Net::MessageIn &msg) override; - void load(); + void load() override; - void reload(); + void reload() override; - void unload(); + void unload() override; - void flushNetwork(); + void flushNetwork() override; - void clearHandlers(); + void clearHandlers() override; - void processEvent(Channels channel, - const DepricatedEvent &event) override; + void reloadPartially() override; - void reloadPartially(); + void gameStarted() const override; - void requestOnlineList(); + void gameEnded() const override; protected: MessageHandlerPtr mAdminHandler; |