summaryrefslogtreecommitdiff
path: root/src/map/packets_struct.h
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2018-05-07 00:13:15 +0200
committerGitHub <noreply@github.com>2018-05-07 00:13:15 +0200
commit614d7b66475f58dfb6354b57ca14999cc8c1b687 (patch)
treede881b6a6ad275c088e43b1388267e14d9e0cb52 /src/map/packets_struct.h
parent0903ea0b82614d127672b0c5ab3d8ca8049e0d87 (diff)
parent394e7f8752ae7c80786e202c8b859488db1af363 (diff)
downloadhercules-614d7b66475f58dfb6354b57ca14999cc8c1b687.tar.gz
hercules-614d7b66475f58dfb6354b57ca14999cc8c1b687.tar.bz2
hercules-614d7b66475f58dfb6354b57ca14999cc8c1b687.tar.xz
hercules-614d7b66475f58dfb6354b57ca14999cc8c1b687.zip
Merge pull request #1998 from Asheraf/private_airship
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