From e6e9b2c524f28e18f7efa582ee0dd0ee1e1420df Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 27 Aug 2015 21:26:15 +0300 Subject: Move receive code from npchandler into separate file. --- src/net/eathena/npcrecv.h | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 src/net/eathena/npcrecv.h (limited to 'src/net/eathena/npcrecv.h') diff --git a/src/net/eathena/npcrecv.h b/src/net/eathena/npcrecv.h new file mode 100644 index 000000000..865d53f3a --- /dev/null +++ b/src/net/eathena/npcrecv.h @@ -0,0 +1,42 @@ +/* + * The ManaPlus Client + * Copyright (C) 2011-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_NPCRECV_H +#define NET_EATHENA_NPCRECV_H + +#include "net/ea/npchandler.h" + +#include "net/eathena/messagehandler.h" + +namespace EAthena +{ + namespace NpcRecv + { + void processNpcCutin(Net::MessageIn &msg); + void processNpcViewPoint(Net::MessageIn &msg); + void processNpcShowProgressBar(Net::MessageIn &msg); + void processNpcCloseTimeout(Net::MessageIn &msg); + void processArea(Net::MessageIn &msg); + void processShowDigit(Net::MessageIn &msg); + void processProgressBarAbort(Net::MessageIn &msg); + } // namespace NpcRecv +} // namespace EAthena + +#endif // NET_EATHENA_NPCRECV_H -- cgit v1.2.3-70-g09d2