summaryrefslogtreecommitdiff
path: root/src/net/recvpacketdefine.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-09-02 00:46:32 +0300
committerAndrei Karas <akaras@inbox.ru>2015-09-02 00:46:32 +0300
commit1e302305d8777da7b40b1ae53ae33eab866b9e26 (patch)
treeef63095f0c1bb1caf0371499de65726cf921a7cd /src/net/recvpacketdefine.h
parent49b23be3e59381d7e54d18fed79541c5259dc0a1 (diff)
downloadmanaplus-1e302305d8777da7b40b1ae53ae33eab866b9e26.tar.gz
manaplus-1e302305d8777da7b40b1ae53ae33eab866b9e26.tar.bz2
manaplus-1e302305d8777da7b40b1ae53ae33eab866b9e26.tar.xz
manaplus-1e302305d8777da7b40b1ae53ae33eab866b9e26.zip
Add to packets defines packet handlers. For now unused.
Diffstat (limited to 'src/net/recvpacketdefine.h')
-rw-r--r--src/net/recvpacketdefine.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/net/recvpacketdefine.h b/src/net/recvpacketdefine.h
index 1e282d09c..a62acc468 100644
--- a/src/net/recvpacketdefine.h
+++ b/src/net/recvpacketdefine.h
@@ -21,7 +21,8 @@
#ifndef NET_RECVPACKETDEFINE_H
#define NET_RECVPACKETDEFINE_H
-#define packet(pname, pid, sz) mPackets[pid].name = #pname; \
+#define packet(pname, pid, sz, func) \
+ mPackets[pid].name = #pname; \
mPackets[pid].len = sz
#endif // NET_RECVPACKETDEFINE_H