summaryrefslogtreecommitdiff
path: root/src/net/eathena/petrecv.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-08-28 01:20:28 +0300
committerAndrei Karas <akaras@inbox.ru>2015-08-28 01:20:28 +0300
commita3f4d0d6b1df660fdc83da07538dc3ea51641450 (patch)
treef139dc88e863a97e78a0d172a589003176d6ab55 /src/net/eathena/petrecv.h
parent7e0a84fc2b7493670dc8167aafb83c3811272eb3 (diff)
downloadplus-a3f4d0d6b1df660fdc83da07538dc3ea51641450.tar.gz
plus-a3f4d0d6b1df660fdc83da07538dc3ea51641450.tar.bz2
plus-a3f4d0d6b1df660fdc83da07538dc3ea51641450.tar.xz
plus-a3f4d0d6b1df660fdc83da07538dc3ea51641450.zip
Move receive code from pethandler into separate file.
Diffstat (limited to 'src/net/eathena/petrecv.h')
-rw-r--r--src/net/eathena/petrecv.h42
1 files changed, 42 insertions, 0 deletions
diff --git a/src/net/eathena/petrecv.h b/src/net/eathena/petrecv.h
new file mode 100644
index 000000000..81b2258fc
--- /dev/null
+++ b/src/net/eathena/petrecv.h
@@ -0,0 +1,42 @@
+/*
+ * The ManaPlus Client
+ * Copyright (C) 2013-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_PETRECV_H
+#define NET_EATHENA_PETRECV_H
+
+#include "net/eathena/messagehandler.h"
+
+#include "net/pethandler.h"
+
+namespace EAthena
+{
+ namespace PetRecv
+ {
+ void processPetMessage(Net::MessageIn &msg);
+ void processPetRoulette(Net::MessageIn &msg);
+ void processEggsList(Net::MessageIn &msg);
+ void processPetData(Net::MessageIn &msg);
+ void processPetStatus(Net::MessageIn &msg);
+ void processPetFood(Net::MessageIn &msg);
+ void processPetCatchProcess(Net::MessageIn &msg);
+ } // namespace PetRecv
+} // namespace EAthena
+
+#endif // NET_EATHENA_PETRECV_H