diff options
Diffstat (limited to 'src/map/charcommand.h')
-rw-r--r-- | src/map/charcommand.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/src/map/charcommand.h b/src/map/charcommand.h new file mode 100644 index 000000000..2453c0af0 --- /dev/null +++ b/src/map/charcommand.h @@ -0,0 +1,19 @@ +// Copyright (c) Athena Dev Teams - Licensed under GNU GPL
+// For more information, see LICENCE in the main folder
+
+#ifndef _CHARCOMMAND_H_
+#define _CHARCOMMAND_H_
+
+//#include "map.h"
+struct map_session_data;
+
+extern char charcommand_symbol;
+typedef int (*CharCommandFunc)(const int fd, struct map_session_data* sd, const char* command, const char* message);
+
+bool is_charcommand(const int fd, struct map_session_data* sd, const char* message);
+bool is_charcommand_sub(const int fd, struct map_session_data* sd, const char* str, int gmlvl);
+int get_charcommand_level(const CharCommandFunc func);
+
+int charcommand_config_read(const char* cfgName);
+
+#endif /* _CHARCOMMAND_H_ */
|