diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-08-27 19:58:59 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-08-27 19:58:59 +0300 |
commit | 2dbb62e760853f88a19e6e783870de156d52f8c6 (patch) | |
tree | 45bdc2d1de608a9f6580bd183c515f4282dcdfc7 /src/net/eathena/mercenaryrecv.h | |
parent | a23b30e3a3051393c8abd309be7376daf699a527 (diff) | |
download | mv-2dbb62e760853f88a19e6e783870de156d52f8c6.tar.gz mv-2dbb62e760853f88a19e6e783870de156d52f8c6.tar.bz2 mv-2dbb62e760853f88a19e6e783870de156d52f8c6.tar.xz mv-2dbb62e760853f88a19e6e783870de156d52f8c6.zip |
Move receive code from mercenaryhandler into separate file.
Diffstat (limited to 'src/net/eathena/mercenaryrecv.h')
-rw-r--r-- | src/net/eathena/mercenaryrecv.h | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/src/net/eathena/mercenaryrecv.h b/src/net/eathena/mercenaryrecv.h new file mode 100644 index 000000000..18fed7069 --- /dev/null +++ b/src/net/eathena/mercenaryrecv.h @@ -0,0 +1,40 @@ +/* + * 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 <http://www.gnu.org/licenses/>. + */ + +#ifndef NET_EATHENA_MERCENARYRECV_H +#define NET_EATHENA_MERCENARYRECV_H + +#include "net/mercenaryhandler.h" + +#include "net/eathena/messagehandler.h" + +namespace EAthena +{ + namespace MercenaryRecv + { + void handleMercenaryMessage(const int cmd); + void processMercenaryUpdate(Net::MessageIn &msg); + void processMercenaryInfo(Net::MessageIn &msg); + void processMercenarySkills(Net::MessageIn &msg); +}; + +} // namespace EAthena + +#endif // NET_EATHENA_MERCENARYRECV_H |