summaryrefslogtreecommitdiff
path: root/src/map/packets_struct.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2018-10-04 18:50:37 +0300
committerAndrei Karas <akaras@inbox.ru>2018-10-04 18:50:37 +0300
commit1e32aa5e41593bf05645e4412c86d8f4a00dac75 (patch)
treee3ab900ec7f1e969f65e4c301d2086dfcc408d69 /src/map/packets_struct.h
parent79a55bfd5c029ae833bed01a5a9b497b4dcf1ed7 (diff)
downloadhercules-1e32aa5e41593bf05645e4412c86d8f4a00dac75.tar.gz
hercules-1e32aa5e41593bf05645e4412c86d8f4a00dac75.tar.bz2
hercules-1e32aa5e41593bf05645e4412c86d8f4a00dac75.tar.xz
hercules-1e32aa5e41593bf05645e4412c86d8f4a00dac75.zip
Add packet ZC_CAMERA_INFO.
This packet allow show camera info, or change camera parameters.
Diffstat (limited to 'src/map/packets_struct.h')
-rw-r--r--src/map/packets_struct.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/map/packets_struct.h b/src/map/packets_struct.h
index c3886730b..29a3355f7 100644
--- a/src/map/packets_struct.h
+++ b/src/map/packets_struct.h
@@ -2842,6 +2842,15 @@ struct PACKET_ZC_REMOVE_EFFECT {
uint32 effectId;
} __attribute__((packed));
+struct PACKET_ZC_CAMERA_INFO {
+ int16 packetType;
+ int8 action;
+ float range;
+ float rotation;
+ float latitude;
+} __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