summaryrefslogtreecommitdiff
path: root/src/map/packets_struct.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2018-12-16 05:14:33 +0300
committerAndrei Karas <akaras@inbox.ru>2018-12-16 06:20:36 +0300
commit912bbffb23c385178b3d831b58deb76103bac322 (patch)
tree4fc0aa6d4c2da5629d9ee2258f5fe6887e997866 /src/map/packets_struct.h
parenta0f8fc8cd4a4bd6e245848835db2775596b9362f (diff)
downloadhercules-912bbffb23c385178b3d831b58deb76103bac322.tar.gz
hercules-912bbffb23c385178b3d831b58deb76103bac322.tar.bz2
hercules-912bbffb23c385178b3d831b58deb76103bac322.tar.xz
hercules-912bbffb23c385178b3d831b58deb76103bac322.zip
Add packet CZ_CAMERA_INFO
This will allow use client command: /viewpointvalue - show/hide camera information /setcamera range rotation latitude - same with @camerainfo
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 8fbe64e5f..95bf65b6d 100644
--- a/src/map/packets_struct.h
+++ b/src/map/packets_struct.h
@@ -2907,6 +2907,17 @@ struct PACKET_ZC_CAMERA_INFO {
DEFINE_PACKET_HEADER(ZC_CAMERA_INFO, 0x0a78);
#endif
+#if PACKETVER >= 20160525
+struct PACKET_CZ_CAMERA_INFO {
+ int16 packetType;
+ int8 action;
+ float range;
+ float rotation;
+ float latitude;
+} __attribute__((packed));
+DEFINE_PACKET_HEADER(CZ_CAMERA_INFO, 0x0a77);
+#endif
+
#if PACKETVER_MAIN_NUM >= 20181128 || PACKETVER_RE_NUM >= 20181031
// PACKET_ZC_AUTOSPELLLIST2
struct PACKET_ZC_AUTOSPELLLIST {