summaryrefslogtreecommitdiff
path: root/src/net/tmwa/generalhandler.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-03-28 23:21:07 +0300
committerAndrei Karas <akaras@inbox.ru>2013-03-28 23:21:07 +0300
commitbe3c1cf049d3df146d18acfb7cbead2ef3f660f1 (patch)
tree9f70999543adce3be255abdad6a9e284de266f50 /src/net/tmwa/generalhandler.h
parent58974e6733a39bd55b9511f0010e0a8b7cd49aa4 (diff)
downloadplus-be3c1cf049d3df146d18acfb7cbead2ef3f660f1.tar.gz
plus-be3c1cf049d3df146d18acfb7cbead2ef3f660f1.tar.bz2
plus-be3c1cf049d3df146d18acfb7cbead2ef3f660f1.tar.xz
plus-be3c1cf049d3df146d18acfb7cbead2ef3f660f1.zip
improve generalhandler class.
Diffstat (limited to 'src/net/tmwa/generalhandler.h')
-rw-r--r--src/net/tmwa/generalhandler.h23
1 files changed, 12 insertions, 11 deletions
diff --git a/src/net/tmwa/generalhandler.h b/src/net/tmwa/generalhandler.h
index e1254e18f..c25b7e7a3 100644
--- a/src/net/tmwa/generalhandler.h
+++ b/src/net/tmwa/generalhandler.h
@@ -33,8 +33,8 @@
namespace TmwAthena
{
-class GeneralHandler final : public MessageHandler, public Net::GeneralHandler,
- public Listener
+class GeneralHandler final : public MessageHandler,
+ public Net::GeneralHandler
{
public:
GeneralHandler();
@@ -43,22 +43,23 @@ class GeneralHandler final : public MessageHandler, public Net::GeneralHandler,
~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 gameEnded() const override;
protected:
MessageHandlerPtr mAdminHandler;