summaryrefslogtreecommitdiff
path: root/src/map/packets_struct.h
diff options
context:
space:
mode:
authordastgirpojee <dastgirpojee@rocketmail.com>2013-10-11 10:46:32 -0700
committerdastgirpojee <dastgirpojee@rocketmail.com>2013-10-11 10:46:32 -0700
commitd3d3fcdb60a03749aa927c4d9b8bf1e710e3d3b6 (patch)
tree7a50cf8fcc99e189c856dbf4c2ef1403e93f0711 /src/map/packets_struct.h
parente105044ee8c1c625b886e2306c22a3f8a68f5bf5 (diff)
parent231f7a4f31b27611af7006e3adc2d3c046356fd3 (diff)
downloadhercules-d3d3fcdb60a03749aa927c4d9b8bf1e710e3d3b6.tar.gz
hercules-d3d3fcdb60a03749aa927c4d9b8bf1e710e3d3b6.tar.bz2
hercules-d3d3fcdb60a03749aa927c4d9b8bf1e710e3d3b6.tar.xz
hercules-d3d3fcdb60a03749aa927c4d9b8bf1e710e3d3b6.zip
Merge pull request #3 from HerculesWS/master
Herc Merge
Diffstat (limited to 'src/map/packets_struct.h')
-rw-r--r--src/map/packets_struct.h35
1 files changed, 35 insertions, 0 deletions
diff --git a/src/map/packets_struct.h b/src/map/packets_struct.h
index f39b4a55b..9d7282c92 100644
--- a/src/map/packets_struct.h
+++ b/src/map/packets_struct.h
@@ -18,6 +18,9 @@ struct EQUIPSLOTINFO {
*
**/
enum packet_headers {
+ banking_withdraw_ackType = 0x9aa,
+ banking_deposit_ackType = 0x9a8,
+ banking_checkType = 0x9a6,
cart_additem_ackType = 0x12c,
sc_notickType = 0x196,
#if PACKETVER < 20061218
@@ -543,6 +546,38 @@ struct packet_cart_additem_ack {
char result;
} __attribute__((packed));
+struct packet_banking_check {
+ short PacketType;
+ int64 Money;
+ short Reason;
+} __attribute__((packed));
+
+struct packet_banking_deposit_req {
+ short PacketType;
+ unsigned int AID;
+ int Money;
+} __attribute__((packed));
+
+struct packet_banking_withdraw_req {
+ short PacketType;
+ unsigned int AID;
+ int Money;
+} __attribute__((packed));
+
+struct packet_banking_deposit_ack {
+ short PacketType;
+ short Reason;
+ int64 Money;
+ int Balance;
+} __attribute__((packed));
+
+struct packet_banking_withdraw_ack {
+ short PacketType;
+ short Reason;
+ int64 Money;
+ int Balance;
+} __attribute__((packed));
+
#pragma pack(pop)
#endif /* _PACKETS_STRUCT_H_ */