summaryrefslogtreecommitdiff
path: root/src/map/packets_struct.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2018-07-07 08:30:40 +0300
committerAndrei Karas <akaras@inbox.ru>2018-07-15 20:36:21 +0300
commitdd05ed32606dd2ecf1175ac9404c00615b33491f (patch)
tree1dbccf1dc7fe751fedf9010b832175afe0cd0b3a /src/map/packets_struct.h
parenteb54c762a3e9ca00fab5ff94a082861e1b70c0e0 (diff)
downloadhercules-dd05ed32606dd2ecf1175ac9404c00615b33491f.tar.gz
hercules-dd05ed32606dd2ecf1175ac9404c00615b33491f.tar.bz2
hercules-dd05ed32606dd2ecf1175ac9404c00615b33491f.tar.xz
hercules-dd05ed32606dd2ecf1175ac9404c00615b33491f.zip
Update packet ZC_FAILED_TRADE_BUYING_STORE_TO_SELLER.
Diffstat (limited to 'src/map/packets_struct.h')
-rw-r--r--src/map/packets_struct.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/map/packets_struct.h b/src/map/packets_struct.h
index 30c5087e1..2ba537ef8 100644
--- a/src/map/packets_struct.h
+++ b/src/map/packets_struct.h
@@ -2117,6 +2117,16 @@ struct PACKET_ZC_PROPERTY_HOMUN {
uint16 range;
} __attribute__((packed));
+struct PACKET_ZC_FAILED_TRADE_BUYING_STORE_TO_SELLER {
+ int16 packetType;
+ uint16 result;
+#if PACKETVER_RE_NUM >= 20180704
+ uint32 itemId;
+#else
+ uint16 itemId;
+#endif
+} __attribute__((packed));
+
#if !defined(sun) && (!defined(__NETBSD__) || __NetBSD_Version__ >= 600000000) // NetBSD 5 and Solaris don't like pragma pack but accept the packed attribute
#pragma pack(pop)
#endif // not NetBSD < 6 / Solaris