summaryrefslogtreecommitdiff
path: root/src/net/eathena/packetsout.inc
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2019-01-26 04:22:02 +0300
committerAndrei Karas <akaras@inbox.ru>2019-01-26 04:22:02 +0300
commitc332163b2f465f51b6a15648125f655a19ec1021 (patch)
treed8a74e81eee9eb7eef32a18d8c36c28e883bca1a /src/net/eathena/packetsout.inc
parent364d79286b557ef65a26885e8c6dff9d0f176d30 (diff)
downloadplus-c332163b2f465f51b6a15648125f655a19ec1021.tar.gz
plus-c332163b2f465f51b6a15648125f655a19ec1021.tar.bz2
plus-c332163b2f465f51b6a15648125f655a19ec1021.tar.xz
plus-c332163b2f465f51b6a15648125f655a19ec1021.zip
Add icomplete packet CMSG_NPC_BARTER_BUY 0x0b0f
Diffstat (limited to 'src/net/eathena/packetsout.inc')
-rw-r--r--src/net/eathena/packetsout.inc4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/net/eathena/packetsout.inc b/src/net/eathena/packetsout.inc
index 7bb87d36d..e18283736 100644
--- a/src/net/eathena/packetsout.inc
+++ b/src/net/eathena/packetsout.inc
@@ -353,6 +353,7 @@ packet(CMSG_SKILL_USE_BEING_START, 0x0000, 0, nullptr);
packet(CMSG_SKILL_USE_BEING_STOP, 0x0000, 0, nullptr);
packet(CMSG_NPC_BARTER_CLOSE, 0x0000, 0, nullptr);
packet(CMSG_CAMERA_INFO, 0x0000, 0, nullptr);
+packet(CMSG_NPC_BARTER_BUY, 0x0000, 0, nullptr);
#else
// 20040713
if (packetVersion >= 20040713)
@@ -1556,18 +1557,21 @@ if (packetVersionMain >= 20181121)
if (packetVersionZero >= 20181226)
{
packet(CMSG_NPC_BARTER_CLOSE, 0x0b12, 2, clif->pNPCBarterClosed);
+ packet(CMSG_NPC_BARTER_BUY, 0x0b0f, -1, clif->pNPCBarterPurchase);
}
// 20190116 main
if (packetVersionMain >= 20190116)
{
packet(CMSG_NPC_BARTER_CLOSE, 0x0b12, 2, clif->pNPCBarterClosed);
+ packet(CMSG_NPC_BARTER_BUY, 0x0b0f, -1, clif->pNPCBarterPurchase);
}
// 20190116 re
if (packetVersionRe >= 20190116)
{
packet(CMSG_NPC_BARTER_CLOSE, 0x0b12, 2, clif->pNPCBarterClosed);
+ packet(CMSG_NPC_BARTER_BUY, 0x0b0f, -1, clif->pNPCBarterPurchase);
}
#endif