summaryrefslogtreecommitdiff
path: root/src/net/eathena/mercenaryrecv.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-08-27 19:58:59 +0300
committerAndrei Karas <akaras@inbox.ru>2015-08-27 19:58:59 +0300
commit2dbb62e760853f88a19e6e783870de156d52f8c6 (patch)
tree45bdc2d1de608a9f6580bd183c515f4282dcdfc7 /src/net/eathena/mercenaryrecv.h
parenta23b30e3a3051393c8abd309be7376daf699a527 (diff)
downloadplus-2dbb62e760853f88a19e6e783870de156d52f8c6.tar.gz
plus-2dbb62e760853f88a19e6e783870de156d52f8c6.tar.bz2
plus-2dbb62e760853f88a19e6e783870de156d52f8c6.tar.xz
plus-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.h40
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