From bff3a68b9f8984f0e8c1c530a26927b33b5afad1 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 30 Aug 2015 15:38:03 +0300 Subject: Move receive code from questhandler into separate file. --- src/net/eathena/questrecv.h | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 src/net/eathena/questrecv.h (limited to 'src/net/eathena/questrecv.h') diff --git a/src/net/eathena/questrecv.h b/src/net/eathena/questrecv.h new file mode 100644 index 000000000..7b2e351cb --- /dev/null +++ b/src/net/eathena/questrecv.h @@ -0,0 +1,42 @@ +/* + * The ManaPlus Client + * Copyright (C) 2012-2015 The ManaPlus Developers + * + * This file is part of The ManaPlus Client. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + +#ifndef NET_EATHENA_QUESTRECV_H +#define NET_EATHENA_QUESTRECV_H + +#include "net/eathena/messagehandler.h" + +#include "net/questhandler.h" + +namespace EAthena +{ + namespace QuestRecv + { + void processAddQuest(Net::MessageIn &msg); + void processAddQuests(Net::MessageIn &msg); + void processAddQuestsObjectives(Net::MessageIn &msg); + void processUpdateQuestsObjectives(Net::MessageIn &msg); + void processRemoveQuest(Net::MessageIn &msg); + void processActivateQuest(Net::MessageIn &msg); + void processNpcQuestEffect(Net::MessageIn &msg); + } // namespace QuestRecv +} // namespace EAthena + +#endif // NET_EATHENA_QUESTRECV_H -- cgit v1.2.3-70-g09d2