diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-09-15 23:41:37 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-09-15 23:41:37 +0300 |
commit | b8ad6772fbc9d3f0917e0b39ec66d0004a267904 (patch) | |
tree | b59ee147b6521da928696782c05de9c47c05e1dc /src/net | |
parent | f4adf3093ce086549eb8d4bed228dee1d62f5e9d (diff) | |
download | manaverse-b8ad6772fbc9d3f0917e0b39ec66d0004a267904.tar.gz manaverse-b8ad6772fbc9d3f0917e0b39ec66d0004a267904.tar.bz2 manaverse-b8ad6772fbc9d3f0917e0b39ec66d0004a267904.tar.xz manaverse-b8ad6772fbc9d3f0917e0b39ec66d0004a267904.zip |
Add base class for questhandler in net namespace.
Diffstat (limited to 'src/net')
-rw-r--r-- | src/net/eathena/questhandler.cpp | 3 | ||||
-rw-r--r-- | src/net/eathena/questhandler.h | 4 | ||||
-rw-r--r-- | src/net/tmwa/questhandler.cpp | 3 | ||||
-rw-r--r-- | src/net/tmwa/questhandler.h | 4 |
4 files changed, 10 insertions, 4 deletions
diff --git a/src/net/eathena/questhandler.cpp b/src/net/eathena/questhandler.cpp index ce892db88..18dbff5ee 100644 --- a/src/net/eathena/questhandler.cpp +++ b/src/net/eathena/questhandler.cpp @@ -33,7 +33,8 @@ namespace EAthena { QuestHandler::QuestHandler() : - MessageHandler() + MessageHandler(), + Net::QuestHandler() { static const uint16_t _messages[] = { diff --git a/src/net/eathena/questhandler.h b/src/net/eathena/questhandler.h index 47b774ad7..17671970d 100644 --- a/src/net/eathena/questhandler.h +++ b/src/net/eathena/questhandler.h @@ -23,10 +23,12 @@ #include "net/eathena/messagehandler.h" +#include "net/questhandler.h" + namespace EAthena { -class QuestHandler final : public MessageHandler +class QuestHandler final : public MessageHandler, public Net::QuestHandler { public: QuestHandler(); diff --git a/src/net/tmwa/questhandler.cpp b/src/net/tmwa/questhandler.cpp index 8c0f7df03..3b8baac5e 100644 --- a/src/net/tmwa/questhandler.cpp +++ b/src/net/tmwa/questhandler.cpp @@ -33,7 +33,8 @@ namespace TmwAthena { QuestHandler::QuestHandler() : - MessageHandler() + MessageHandler(), + Net::QuestHandler() { static const uint16_t _messages[] = { diff --git a/src/net/tmwa/questhandler.h b/src/net/tmwa/questhandler.h index 1de4ed24f..51128a34d 100644 --- a/src/net/tmwa/questhandler.h +++ b/src/net/tmwa/questhandler.h @@ -23,10 +23,12 @@ #include "net/tmwa/messagehandler.h" +#include "net/questhandler.h" + namespace TmwAthena { -class QuestHandler final : public MessageHandler +class QuestHandler final : public MessageHandler, public Net::QuestHandler { public: QuestHandler(); |