From c2e62187c5111c6ecc94573630f6da271d0145d6 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 16 Sep 2014 00:20:35 +0300 Subject: eathena: add packet CMSG_QUEST_ACTIVATE 0x02b6. --- src/net/tmwa/questhandler.cpp | 6 ++++++ src/net/tmwa/questhandler.h | 6 +++++- 2 files changed, 11 insertions(+), 1 deletion(-) (limited to 'src/net/tmwa') diff --git a/src/net/tmwa/questhandler.cpp b/src/net/tmwa/questhandler.cpp index 3b8baac5e..b49db8f29 100644 --- a/src/net/tmwa/questhandler.cpp +++ b/src/net/tmwa/questhandler.cpp @@ -23,6 +23,7 @@ #include "gui/windows/skilldialog.h" #include "gui/windows/questswindow.h" +#include "net/tmwa/messageout.h" #include "net/tmwa/protocol.h" #include "resources/skillconsts.h" @@ -96,4 +97,9 @@ void QuestHandler::processPlayerQuests(Net::MessageIn &msg) questsWindow->rebuild(false); } +void QuestHandler::setQeustActiveState(const int questId A_UNUSED, + const bool active A_UNUSED) const +{ +} + } // namespace TmwAthena diff --git a/src/net/tmwa/questhandler.h b/src/net/tmwa/questhandler.h index 51128a34d..046e41441 100644 --- a/src/net/tmwa/questhandler.h +++ b/src/net/tmwa/questhandler.h @@ -28,7 +28,8 @@ namespace TmwAthena { -class QuestHandler final : public MessageHandler, public Net::QuestHandler +class QuestHandler final : public MessageHandler, + public Net::QuestHandler { public: QuestHandler(); @@ -40,6 +41,9 @@ class QuestHandler final : public MessageHandler, public Net::QuestHandler static void processSetQuestVar(Net::MessageIn &msg); static void processPlayerQuests(Net::MessageIn &msg); + + void setQeustActiveState(const int questId, + const bool active) const override final; }; } // namespace TmwAthena -- cgit v1.2.3-70-g09d2