summaryrefslogtreecommitdiff
path: root/src/map/channel.h
diff options
context:
space:
mode:
authorgumi <mekolat@users.noreply.github.com>2017-04-25 23:48:59 -0400
committergumi <mekolat@users.noreply.github.com>2017-05-12 09:43:38 -0400
commit8669002016bc60019a317124ae088a8053a0238b (patch)
tree96d582f96ccb3cadda920072f71ed07d93530e9b /src/map/channel.h
parentadc7a02c7896fe8984c64d2a74f804cfaae34fc7 (diff)
downloadhercules-8669002016bc60019a317124ae088a8053a0238b.tar.gz
hercules-8669002016bc60019a317124ae088a8053a0238b.tar.bz2
hercules-8669002016bc60019a317124ae088a8053a0238b.tar.xz
hercules-8669002016bc60019a317124ae088a8053a0238b.zip
add channel handler events
Diffstat (limited to 'src/map/channel.h')
-rw-r--r--src/map/channel.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/map/channel.h b/src/map/channel.h
index e8696fd90..4ac3c6037 100644
--- a/src/map/channel.h
+++ b/src/map/channel.h
@@ -23,6 +23,8 @@
#include "common/hercules.h"
#include "common/mmo.h"
+#include "map/map.h" // EVENT_NAME_LENGTH, MAX_EVENTQUEUE
+
/**
* Declarations
**/
@@ -85,6 +87,7 @@ struct channel_data {
unsigned char color;
struct DBMap *users;
struct DBMap *banned;
+ char handlers[MAX_EVENTQUEUE][EVENT_NAME_LENGTH];
unsigned int options;
unsigned int owner;
enum channel_types type;