diff options
author | Haruna <haru@dotalux.com> | 2014-01-16 17:21:39 -0800 |
---|---|---|
committer | Haruna <haru@dotalux.com> | 2014-01-16 17:21:39 -0800 |
commit | e9affc57d6a03e0cc860f8364c8a349e22906b4a (patch) | |
tree | cc85d2c1109ce7385bee4c211af5027ae591ebab /src/map/battleground.h | |
parent | 4874a3cf8b107457b703d0ece8d5102b08ef7702 (diff) | |
parent | 0267cad28133b4c245f1cf100a24ab8a14cf2a73 (diff) | |
download | hercules-e9affc57d6a03e0cc860f8364c8a349e22906b4a.tar.gz hercules-e9affc57d6a03e0cc860f8364c8a349e22906b4a.tar.bz2 hercules-e9affc57d6a03e0cc860f8364c8a349e22906b4a.tar.xz hercules-e9affc57d6a03e0cc860f8364c8a349e22906b4a.zip |
Merge pull request #251 from panikon/master
Function types behaviour
Diffstat (limited to 'src/map/battleground.h')
-rw-r--r-- | src/map/battleground.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/map/battleground.h b/src/map/battleground.h index a24ae5ea9..4aeb9f879 100644 --- a/src/map/battleground.h +++ b/src/map/battleground.h @@ -93,15 +93,15 @@ struct battleground_interface { void (*queue_check) (struct bg_arena *arena); struct battleground_data* (*team_search) (int bg_id); struct map_session_data* (*getavailablesd) (struct battleground_data *bgd); - int (*team_delete) (int bg_id); - int (*team_warp) (int bg_id, unsigned short map_index, short x, short y); - int (*send_dot_remove) (struct map_session_data *sd); - int (*team_join) (int bg_id, struct map_session_data *sd); + bool (*team_delete) (int bg_id); + bool (*team_warp) (int bg_id, unsigned short map_index, short x, short y); + void (*send_dot_remove) (struct map_session_data *sd); + bool (*team_join) (int bg_id, struct map_session_data *sd); int (*team_leave) (struct map_session_data *sd, int flag); - int (*member_respawn) (struct map_session_data *sd); + bool (*member_respawn) (struct map_session_data *sd); int (*create) (unsigned short map_index, short rx, short ry, const char *ev, const char *dev); int (*team_get_id) (struct block_list *bl); - int (*send_message) (struct map_session_data *sd, const char *mes, int len); + bool (*send_message) (struct map_session_data *sd, const char *mes, int len); int (*send_xy_timer_sub) (DBKey key, DBData *data, va_list ap); int (*send_xy_timer) (int tid, int64 tick, int id, intptr_t data); /* */ |