summaryrefslogtreecommitdiff
path: root/src/map/packets.h
diff options
context:
space:
mode:
authorshennetsind <ind@henn.et>2013-10-10 12:25:22 -0300
committershennetsind <ind@henn.et>2013-10-10 12:25:22 -0300
commitc5c3381b0b8b0b59c669d474acf749db82d7edb1 (patch)
tree5947d2a80594a1be87d3f5390cd04207c54e6ca3 /src/map/packets.h
parentfc4ae790a3e4c0a86beb2eec140479a9511b265d (diff)
downloadhercules-c5c3381b0b8b0b59c669d474acf749db82d7edb1.tar.gz
hercules-c5c3381b0b8b0b59c669d474acf749db82d7edb1.tar.bz2
hercules-c5c3381b0b8b0b59c669d474acf749db82d7edb1.tar.xz
hercules-c5c3381b0b8b0b59c669d474acf749db82d7edb1.zip
Introducing Bank Support
http://hercules.ws/board/topic/2455-introducing-bank-support/ Thanks to Yommy, Haru! Signed-off-by: shennetsind <ind@henn.et>
Diffstat (limited to 'src/map/packets.h')
-rw-r--r--src/map/packets.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/map/packets.h b/src/map/packets.h
index c91b5d50c..918f0a10f 100644
--- a/src/map/packets.h
+++ b/src/map/packets.h
@@ -2375,6 +2375,21 @@ packet(0x020d,-1);
packet(0x0930,36,clif->pStoragePassword,0);
#endif
+/* Bank System [Yommy/Hercules] */
+#if PACKETVER >= 20130724
+ packet(0x09A6,12); // ZC_BANKING_CHECK
+ packet(0x09A7,10,clif->pBankDeposit,2,4,6);
+ packet(0x09A8,16); // ZC_ACK_BANKING_DEPOSIT
+ packet(0x09A9,10,clif->pBankWithdraw,2,4,6);
+ packet(0x09AA,16); // ZC_ACK_BANKING_WITHDRAW
+ packet(0x09AB,6,clif->pBankCheck,2,4);
+ ////
+ packet(0x09B6,6,clif->pBankOpen,2,4);
+ packet(0x09B7,4); // ZC_ACK_OPEN_BANKING
+ packet(0x09B8,6,clif->pBankClose,2,4);
+ packet(0x09B9,4); // ZC_ACK_CLOSE_BANKING
+#endif
+
//2013-07-03Ragexe (Shakto)
#if PACKETVER >= 20130703
packet(0x0930,5,clif->pChangeDir,2,4);