diff options
author | Fate <fate-tmw@googlemail.com> | 2008-12-12 12:23:58 -0700 |
---|---|---|
committer | Fate <fate-tmw@googlemail.com> | 2008-12-12 12:23:58 -0700 |
commit | 9537c3f0086c8985d84eb0fa5823e8be185beada (patch) | |
tree | 4338d77c0bac1f9c3807d4fca6acca873ec73916 /src/map/map.h | |
parent | dbd6ed3452751d45b866572fd42784bc8e7c8161 (diff) | |
download | tmwa-9537c3f0086c8985d84eb0fa5823e8be185beada.tar.gz tmwa-9537c3f0086c8985d84eb0fa5823e8be185beada.tar.bz2 tmwa-9537c3f0086c8985d84eb0fa5823e8be185beada.tar.xz tmwa-9537c3f0086c8985d84eb0fa5823e8be185beada.zip |
Added @hugo and @linus commands for iterating over logged-in players
Diffstat (limited to 'src/map/map.h')
-rw-r--r-- | src/map/map.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/map/map.h b/src/map/map.h index d407016..0b52a38 100644 --- a/src/map/map.h +++ b/src/map/map.h @@ -748,6 +748,11 @@ void map_addnickdb(struct map_session_data *); int map_scriptcont(struct map_session_data *sd,int id); /* Continues a script either on a spell or on an NPC */ struct map_session_data * map_nick2sd(char*); +struct map_session_data * map_get_first_session(); +struct map_session_data * map_get_last_session(); +struct map_session_data * map_get_next_session(struct map_session_data *current); +struct map_session_data * map_get_prev_session(struct map_session_data *current); + // gatŠÖ˜A int map_getcell(int,int,int); int map_setcell(int,int,int,int); |