summaryrefslogtreecommitdiff
path: root/src/net/eathena/packetsout.inc
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2019-01-25 22:01:11 +0300
committerAndrei Karas <akaras@inbox.ru>2019-01-25 22:01:11 +0300
commit4a879f52c53c4fb9542319bc1f5864998a1fbb22 (patch)
tree56818bb356a7791a41d2321664c0607c669a767b /src/net/eathena/packetsout.inc
parent69497b251263eb590d75326effa9fe7206c49ba0 (diff)
downloadmanaverse-4a879f52c53c4fb9542319bc1f5864998a1fbb22.tar.gz
manaverse-4a879f52c53c4fb9542319bc1f5864998a1fbb22.tar.bz2
manaverse-4a879f52c53c4fb9542319bc1f5864998a1fbb22.tar.xz
manaverse-4a879f52c53c4fb9542319bc1f5864998a1fbb22.zip
Add packet CMSG_NPC_BARTER_CLOSE 0x0b12
Diffstat (limited to 'src/net/eathena/packetsout.inc')
-rw-r--r--src/net/eathena/packetsout.inc21
1 files changed, 20 insertions, 1 deletions
diff --git a/src/net/eathena/packetsout.inc b/src/net/eathena/packetsout.inc
index 75baa0dc4..aca3e0b8f 100644
--- a/src/net/eathena/packetsout.inc
+++ b/src/net/eathena/packetsout.inc
@@ -351,6 +351,7 @@ packet(CMSG_INVENTORY_EXPAND_CONFIRM, 0x0000, 0, nullptr);
packet(CMSG_INVENTORY_EXPAND_REJECT, 0x0000, 0, nullptr);
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);
#else
// 20040713
if (packetVersion >= 20040713)
@@ -1531,10 +1532,28 @@ if (packetVersionZero >= 20181114)
packet(CMSG_NPC_SELECT_ARROW, 0x01ae, 6, clif->pSelectArrow);
}
-// 20181121
+// 20181121 main
if (packetVersionMain >= 20181121)
{
packet(CMSG_NPC_SELECT_ARROW, 0x01ae, 6, clif->pSelectArrow);
}
+// 20181226 zero
+if (packetVersionZero >= 20181226)
+{
+ packet(CMSG_NPC_BARTER_CLOSE, 0x0b12, 2, clif->pNPCBarterClosed);
+}
+
+// 20190116 main
+if (packetVersionMain >= 20190116)
+{
+ packet(CMSG_NPC_BARTER_CLOSE, 0x0b12, 2, clif->pNPCBarterClosed);
+}
+
+// 20190116 re
+if (packetVersionRe >= 20190116)
+{
+ packet(CMSG_NPC_BARTER_CLOSE, 0x0b12, 2, clif->pNPCBarterClosed);
+}
+
#endif