summaryrefslogtreecommitdiff
path: root/src/net/tmwa
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-09-16 00:20:35 +0300
committerAndrei Karas <akaras@inbox.ru>2014-09-16 00:20:35 +0300
commitc2e62187c5111c6ecc94573630f6da271d0145d6 (patch)
tree290bce219c5fc5588a5ca01951822c0bfeaa5378 /src/net/tmwa
parentb8ad6772fbc9d3f0917e0b39ec66d0004a267904 (diff)
downloadmanaplus-c2e62187c5111c6ecc94573630f6da271d0145d6.tar.gz
manaplus-c2e62187c5111c6ecc94573630f6da271d0145d6.tar.bz2
manaplus-c2e62187c5111c6ecc94573630f6da271d0145d6.tar.xz
manaplus-c2e62187c5111c6ecc94573630f6da271d0145d6.zip
eathena: add packet CMSG_QUEST_ACTIVATE 0x02b6.
Diffstat (limited to 'src/net/tmwa')
-rw-r--r--src/net/tmwa/questhandler.cpp6
-rw-r--r--src/net/tmwa/questhandler.h6
2 files changed, 11 insertions, 1 deletions
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