summaryrefslogtreecommitdiff
path: root/src/map/packets_struct.h
diff options
context:
space:
mode:
authorAsheraf <acheraf1998@gmail.com>2018-03-24 21:41:05 +0000
committerAsheraf <acheraf1998@gmail.com>2018-05-04 16:11:52 +0100
commit394e7f8752ae7c80786e202c8b859488db1af363 (patch)
tree3a329478e75881cba950165454b1f402fe38f171 /src/map/packets_struct.h
parentd6785d389cbee4f34078f6762626ca61b2d6cc25 (diff)
downloadhercules-394e7f8752ae7c80786e202c8b859488db1af363.tar.gz
hercules-394e7f8752ae7c80786e202c8b859488db1af363.tar.bz2
hercules-394e7f8752ae7c80786e202c8b859488db1af363.tar.xz
hercules-394e7f8752ae7c80786e202c8b859488db1af363.zip
Implementation of Private AirShip
Diffstat (limited to 'src/map/packets_struct.h')
-rw-r--r--src/map/packets_struct.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/map/packets_struct.h b/src/map/packets_struct.h
index 5b9a4344a..cae794e92 100644
--- a/src/map/packets_struct.h
+++ b/src/map/packets_struct.h
@@ -1729,6 +1729,17 @@ struct PACKET_ZC_UI_ACTION {
int32 data;
} __attribute__((packed));
+struct PACKET_CZ_PRIVATE_AIRSHIP_REQUEST {
+ int16 PacketType;
+ char mapName[MAP_NAME_LENGTH_EXT];
+ uint16 ItemID;
+} __attribute__((packed));
+
+struct PACKET_ZC_PRIVATE_AIRSHIP_RESPONSE {
+ int16 PacketType;
+ uint32 flag;
+} __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