summaryrefslogtreecommitdiff
path: root/src/net/eathena
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/eathena')
-rw-r--r--src/net/eathena/pethandler.cpp10
-rw-r--r--src/net/eathena/pethandler.h2
-rw-r--r--src/net/eathena/protocol.h1
3 files changed, 13 insertions, 0 deletions
diff --git a/src/net/eathena/pethandler.cpp b/src/net/eathena/pethandler.cpp
index 1b03cbf83..71d4d17f2 100644
--- a/src/net/eathena/pethandler.cpp
+++ b/src/net/eathena/pethandler.cpp
@@ -68,6 +68,7 @@ PetHandler::PetHandler() :
SMSG_PET_DATA,
SMSG_PET_STATUS,
SMSG_PET_FOOD,
+ SMSG_PET_CATCH_PROCESS,
0
};
handledMessages = _messages;
@@ -103,6 +104,10 @@ void PetHandler::handleMessage(Net::MessageIn &msg)
processPetFood(msg);
break;
+ case SMSG_PET_CATCH_PROCESS:
+ processPetCatchProcess(msg);
+ break;
+
default:
break;
}
@@ -342,4 +347,9 @@ void PetHandler::startAi(const bool start A_UNUSED) const
{
}
+void PetHandler::processPetCatchProcess(Net::MessageIn &msg)
+{
+ UNIMPLIMENTEDPACKET;
+}
+
} // namespace EAthena
diff --git a/src/net/eathena/pethandler.h b/src/net/eathena/pethandler.h
index 6d037b7fe..967df6795 100644
--- a/src/net/eathena/pethandler.h
+++ b/src/net/eathena/pethandler.h
@@ -80,6 +80,8 @@ class PetHandler final : public MessageHandler, public Net::PetHandler
static void processPetFood(Net::MessageIn &msg);
+ static void processPetCatchProcess(Net::MessageIn &msg);
+
int mRandCounter;
};
diff --git a/src/net/eathena/protocol.h b/src/net/eathena/protocol.h
index da873bda8..45f8d9439 100644
--- a/src/net/eathena/protocol.h
+++ b/src/net/eathena/protocol.h
@@ -295,6 +295,7 @@
#define SMSG_PET_DATA 0x01a4
#define SMSG_PET_STATUS 0x01a2
#define SMSG_PET_FOOD 0x01a3
+#define SMSG_PET_CATCH_PROCESS 0x019e
#define SMSG_BANK_STATUS 0x09a6
#define SMSG_BANK_DEPOSIT 0x09a8