summaryrefslogtreecommitdiff
path: root/src/map/charcommand.h
diff options
context:
space:
mode:
authorsketchyphoenix <sketchyphoenix@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-11-02 22:12:33 +0000
committersketchyphoenix <sketchyphoenix@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-11-02 22:12:33 +0000
commit5d034433e7f906e2a2c95bfe3bc9b8e5661a7ca2 (patch)
tree600efb315a182b5f1ec98084b3902644222ebdfa /src/map/charcommand.h
parentdace63e0dc06adb4c13f2c4159ea903622b35317 (diff)
downloadhercules-5d034433e7f906e2a2c95bfe3bc9b8e5661a7ca2.tar.gz
hercules-5d034433e7f906e2a2c95bfe3bc9b8e5661a7ca2.tar.bz2
hercules-5d034433e7f906e2a2c95bfe3bc9b8e5661a7ca2.tar.xz
hercules-5d034433e7f906e2a2c95bfe3bc9b8e5661a7ca2.zip
* Added charcommands again. Wrong project.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13344 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/charcommand.h')
-rw-r--r--src/map/charcommand.h19
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_ */