diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-09-02 23:22:26 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-09-06 01:18:56 +0300 |
commit | f32c27a3446fc8312a7fd4f9a85b60720549582a (patch) | |
tree | cfd00cc5642ef897aba98bf9f6b1a53d02ddc825 /src/net/eathena/generalhandler.cpp | |
parent | b06871fcb8e0b678a7fdbc2a10b22283b2899d1c (diff) | |
download | manaplus-f32c27a3446fc8312a7fd4f9a85b60720549582a.tar.gz manaplus-f32c27a3446fc8312a7fd4f9a85b60720549582a.tar.bz2 manaplus-f32c27a3446fc8312a7fd4f9a85b60720549582a.tar.xz manaplus-f32c27a3446fc8312a7fd4f9a85b60720549582a.zip |
eathena: add basic handling for packet SMSG_QUEST_ADD 0x02b3.
Diffstat (limited to 'src/net/eathena/generalhandler.cpp')
-rw-r--r-- | src/net/eathena/generalhandler.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/net/eathena/generalhandler.cpp b/src/net/eathena/generalhandler.cpp index dcc4bc15c..5a18b15f9 100644 --- a/src/net/eathena/generalhandler.cpp +++ b/src/net/eathena/generalhandler.cpp @@ -56,6 +56,7 @@ #include "net/eathena/protocol.h" #include "net/eathena/tradehandler.h" #include "net/eathena/skillhandler.h" +#include "net/eathena/questhandler.h" #include "resources/db/itemdbstat.h" @@ -88,7 +89,8 @@ GeneralHandler::GeneralHandler() : mPartyHandler(new PartyHandler), mPlayerHandler(new PlayerHandler), mSkillHandler(new SkillHandler), - mTradeHandler(new TradeHandler) + mTradeHandler(new TradeHandler), + mQuestHandler(new QuestHandler) { static const uint16_t _messages[] = { @@ -184,6 +186,7 @@ void GeneralHandler::load() mNetwork->registerHandler(mSkillHandler.get()); mNetwork->registerHandler(mTradeHandler.get()); mNetwork->registerHandler(mPartyHandler.get()); + mNetwork->registerHandler(mQuestHandler.get()); } void GeneralHandler::reload() |