summaryrefslogtreecommitdiff
path: root/src/net/tmwa/questhandler.cpp
diff options
context:
space:
mode:
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
{