summaryrefslogtreecommitdiff
path: root/src/net/tmwa/questhandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-09-02 20:58:41 +0300
committerAndrei Karas <akaras@inbox.ru>2015-09-02 20:58:41 +0300
commit84d2bab38202cd52b5eb0a37c12204ab6f607915 (patch)
tree2f3951b2f4f3b75f190eb2539979cc4afbace27c /src/net/tmwa/questhandler.cpp
parent40730c4fa73d403cf7284a76d9b26f7ec662afa4 (diff)
downloadmanaplus-84d2bab38202cd52b5eb0a37c12204ab6f607915.tar.gz
manaplus-84d2bab38202cd52b5eb0a37c12204ab6f607915.tar.bz2
manaplus-84d2bab38202cd52b5eb0a37c12204ab6f607915.tar.xz
manaplus-84d2bab38202cd52b5eb0a37c12204ab6f607915.zip
Remove MessageHandler class
Diffstat (limited to 'src/net/tmwa/questhandler.cpp')
-rw-r--r--src/net/tmwa/questhandler.cpp27
1 files changed, 0 insertions, 27 deletions
diff --git a/src/net/tmwa/questhandler.cpp b/src/net/tmwa/questhandler.cpp
index d40603b7f..8ecf0b83e 100644
--- a/src/net/tmwa/questhandler.cpp
+++ b/src/net/tmwa/questhandler.cpp
@@ -34,38 +34,11 @@ namespace TmwAthena
{
QuestHandler::QuestHandler() :
- MessageHandler(),
Net::QuestHandler()
{
- static const uint16_t _messages[] =
- {
- SMSG_QUEST_SET_VAR,
- SMSG_QUEST_PLAYER_VARS,
- 0
- };
- handledMessages = _messages;
questHandler = this;
}
-void QuestHandler::handleMessage(Net::MessageIn &msg)
-{
- BLOCK_START("QuestHandler::handleMessage")
- switch (msg.getId())
- {
- case SMSG_QUEST_SET_VAR:
- QuestRecv::processSetQuestVar(msg);
- break;
-
- case SMSG_QUEST_PLAYER_VARS:
- QuestRecv::processPlayerQuests(msg);
- break;
-
- default:
- break;
- }
- BLOCK_END("QuestHandler::handleMessage")
-}
-
void QuestHandler::setQeustActiveState(const int questId A_UNUSED,
const bool active A_UNUSED) const
{