summaryrefslogtreecommitdiff
path: root/src/map/packets.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2019-12-13 08:23:29 +0300
committerAndrei Karas <akaras@inbox.ru>2019-12-13 08:36:08 +0300
commit3acb36c33e06a8a7e226e43ff8656c8cffa2eeb3 (patch)
treebb255692e83f0c733692dc8932fdba307c1a2474 /src/map/packets.h
parent1f78dc3468f1a4afe1f8bd09ea340a715af1d206 (diff)
downloadhercules-3acb36c33e06a8a7e226e43ff8656c8cffa2eeb3.tar.gz
hercules-3acb36c33e06a8a7e226e43ff8656c8cffa2eeb3.tar.bz2
hercules-3acb36c33e06a8a7e226e43ff8656c8cffa2eeb3.tar.xz
hercules-3acb36c33e06a8a7e226e43ff8656c8cffa2eeb3.zip
Convert packet CZ_SE_CASHSHOP_OPEN to structure and add new packet version
Diffstat (limited to 'src/map/packets.h')
-rw-r--r--src/map/packets.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/map/packets.h b/src/map/packets.h
index 326f41791..48d937957 100644
--- a/src/map/packets.h
+++ b/src/map/packets.h
@@ -726,6 +726,11 @@ packet(0x96e,clif->ackmergeitems);
packet(0x0843,clif->pGMRemove2,2);
#endif
+// all versions
+#if PACKETVER >= 20100824
+ packet(0x0844,clif->pCashShopOpen,2);
+#endif
+
//2010-11-24aRagexeRE
#if PACKETVER >= 20101124
packet(0x0288,clif->pcashshop_buy,4,8);
@@ -776,7 +781,6 @@ packet(0x96e,clif->ackmergeitems);
//2011-07-18aRagexe (Thanks to Yommy!)
#if PACKETVER >= 20110718
// shuffle packets not added
- packet(0x0844,clif->pCashShopOpen,2);/* tell server cashshop window is being open */
packet(0x084a,clif->pCashShopClose,2);/* tell server cashshop window is being closed */
packet(0x0846,clif->pCashShopReqTab,2);
packet(0x0848,clif->pCashShopBuy,2);
@@ -1975,4 +1979,8 @@ packet(0x96e,clif->ackmergeitems);
packet(0x0b35,clif->pReqGearOff);
#endif
+#if PACKETVER >= 20190724
+ packet(0x0b4c,clif->pCashShopOpen,2);
+#endif
+
#endif /* MAP_PACKETS_H */