]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blob - qcsrc/common/command/command.qh
Merge branch 'master' into Mario/balance
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / command / command.qh
1 #ifndef COMMAND_H
2 #define COMMAND_H
3
4 const int CMD_REQUEST_COMMAND = 1;
5 const int CMD_REQUEST_USAGE = 2;
6
7 CLASS(Command, Object)
8         ATTRIB(Command, m_name, string, string_null);
9         ATTRIB(Command, m_description, string, string_null);
10         METHOD(Command, m_invokecmd, void(Command this, int request, entity caller, int arguments, string command))
11         {
12         TC(Command, this);
13         }
14 ENDCLASS(Command)
15
16 #endif