summaryrefslogtreecommitdiff
path: root/src/map/packets_struct.h
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2018-06-18 21:00:37 +0200
committerGitHub <noreply@github.com>2018-06-18 21:00:37 +0200
commit242bb0f939ff2e68fff8914853cbb87baa8296b6 (patch)
treede2b65845517132611aad62926ecc26ac6e8f846 /src/map/packets_struct.h
parent2d840771eeee1d9e158e843bcc14f9d69d1cf22e (diff)
parentdfc078354025408dd5140e95702b0661b52d1e16 (diff)
downloadhercules-242bb0f939ff2e68fff8914853cbb87baa8296b6.tar.gz
hercules-242bb0f939ff2e68fff8914853cbb87baa8296b6.tar.bz2
hercules-242bb0f939ff2e68fff8914853cbb87baa8296b6.tar.xz
hercules-242bb0f939ff2e68fff8914853cbb87baa8296b6.zip
Merge pull request #2064 from 4144/updatepackets
update packets and message table for clients 20180530 to 20180612
Diffstat (limited to 'src/map/packets_struct.h')
-rw-r--r--src/map/packets_struct.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/map/packets_struct.h b/src/map/packets_struct.h
index 971e7c330..d152ffd2a 100644
--- a/src/map/packets_struct.h
+++ b/src/map/packets_struct.h
@@ -368,6 +368,11 @@ enum packet_headers {
questUpdateType = 0x2b5,
#endif // PACKETVER < 20150513
questUpdateType2 = 0x8fe,
+#if PACKETVER >= 20171122
+ openUiType = 0xAE2,
+#elif PACKETVER >= 20150128
+ openUiType = 0xA38,
+#endif
};
#if !defined(sun) && (!defined(__NETBSD__) || __NetBSD_Version__ >= 600000000) // NetBSD 5 and Solaris don't like pragma pack but accept the packed attribute
@@ -1720,7 +1725,9 @@ struct PACKET_CZ_OPEN_UI {
struct PACKET_ZC_OPEN_UI {
int16 PacketType;
int8 UIType;
+#if PACKETVER >= 20171122
int32 data;
+#endif
} __attribute__((packed));
struct PACKET_ZC_UI_ACTION {