summaryrefslogtreecommitdiff
path: root/src/map/chrif.h
diff options
context:
space:
mode:
authorshennetsind <ind@henn.et>2013-06-28 13:10:55 -0300
committershennetsind <ind@henn.et>2013-06-28 13:10:55 -0300
commit852aaacc10faf384ab17c75fc386bb7491d09bd2 (patch)
tree193dc1433e93a6ff98e3a5ee23061a51329dc318 /src/map/chrif.h
parent8f0d1462716e0e7581e0145ce5f6575d59146fa1 (diff)
downloadhercules-852aaacc10faf384ab17c75fc386bb7491d09bd2.tar.gz
hercules-852aaacc10faf384ab17c75fc386bb7491d09bd2.tar.bz2
hercules-852aaacc10faf384ab17c75fc386bb7491d09bd2.tar.xz
hercules-852aaacc10faf384ab17c75fc386bb7491d09bd2.zip
Minor chrif.c interface adjustment
Special Thanks to Takkun for pointing it out. Signed-off-by: shennetsind <ind@henn.et>
Diffstat (limited to 'src/map/chrif.h')
-rw-r--r--src/map/chrif.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/map/chrif.h b/src/map/chrif.h
index faabedeed..1af652cea 100644
--- a/src/map/chrif.h
+++ b/src/map/chrif.h
@@ -1,11 +1,15 @@
// Copyright (c) Hercules Dev Team, licensed under GNU GPL.
// See the LICENSE file
// Portions Copyright (c) Athena Dev Teams
+
#ifndef _CHRIF_H_
#define _CHRIF_H_
+
#include "../common/cbasetypes.h"
#include <time.h>
+
enum sd_state { ST_LOGIN, ST_LOGOUT, ST_MAPCHANGE };
+
struct auth_node {
int account_id, char_id;
int login_id1, login_id2, sex, fd;
@@ -16,9 +20,6 @@ struct auth_node {
enum sd_state state; //To track whether player was login in/out or changing maps.
};
-
-
-
/*=====================================
* Interface : chrif.h
* Generated by HerculesInterfaceMaker
@@ -28,7 +29,7 @@ struct chrif_interface {
/* vars */
- int chrif_connected;
+ int connected;
int other_mapserver_count; //Holds count of how many other map servers are online (apart of this instance) [Skotlex]
/* funcs */