Revision 1, 0.7 kB
(checked in by jinshiro, 17 years ago)
|
|
Line | |
---|
1 | // Copyright (c) Athena Dev Teams - Licensed under GNU GPL |
---|
2 | // For more information, see LICENCE in the main folder |
---|
3 | |
---|
4 | #ifndef _CHARCOMMAND_H_ |
---|
5 | #define _CHARCOMMAND_H_ |
---|
6 | |
---|
7 | //#include "map.h" |
---|
8 | struct map_session_data; |
---|
9 | |
---|
10 | extern char charcommand_symbol; |
---|
11 | typedef int (*CharCommandFunc)(const int fd, struct map_session_data* sd, const char* command, const char* message); |
---|
12 | |
---|
13 | bool is_charcommand(const int fd, struct map_session_data* sd, const char* message); |
---|
14 | bool is_charcommand_sub(const int fd, struct map_session_data* sd, const char* str, int gmlvl); |
---|
15 | int get_charcommand_level(const CharCommandFunc func); |
---|
16 | |
---|
17 | int charcommand_config_read(const char* cfgName); |
---|
18 | |
---|
19 | #endif /* _CHARCOMMAND_H_ */ |
---|