summaryrefslogtreecommitdiff
path: root/src/map/parse.c
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-02-20 15:36:45 +0300
committerAndrei Karas <akaras@inbox.ru>2015-02-20 15:43:11 +0300
commit60097ba0d9a71ab575c89a3d0162bb4df1cdc0ff (patch)
tree5efde0a4146398172ec80273db1f3eba8a8d8e6e /src/map/parse.c
parentc90ec19afcfc826a077ed300fc2a9f8347d9b1e6 (diff)
downloadevol-hercules-60097ba0d9a71ab575c89a3d0162bb4df1cdc0ff.tar.gz
evol-hercules-60097ba0d9a71ab575c89a3d0162bb4df1cdc0ff.tar.bz2
evol-hercules-60097ba0d9a71ab575c89a3d0162bb4df1cdc0ff.tar.xz
evol-hercules-60097ba0d9a71ab575c89a3d0162bb4df1cdc0ff.zip
Add support for online list packets.
Diffstat (limited to 'src/map/parse.c')
-rw-r--r--src/map/parse.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/map/parse.c b/src/map/parse.c
index 7044197..3cef1f9 100644
--- a/src/map/parse.c
+++ b/src/map/parse.c
@@ -16,6 +16,7 @@
#include "map/parse.h"
#include "map/send.h"
+#include "map/map.h"
#include "map/data/session.h"
#include "map/struct/sessionext.h"
@@ -130,3 +131,8 @@ void map_parse_set_status(int fd)
struct SessionExt *data = session_get(fd);
data->state = RFIFOB(fd, 2);
}
+
+void map_parse_get_online_list(int fd)
+{
+ emap_online_list(fd);
+}