Rename t_items.qc to items.qc
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / command / command.qh
1 #pragma once
2
3 const int CMD_REQUEST_COMMAND = 1;
4 const int CMD_REQUEST_USAGE = 2;
5
6 CLASS(Command, Object)
7         ATTRIB(Command, m_name, string);
8         ATTRIB(Command, m_description, string);
9         METHOD(Command, m_invokecmd, void(Command this, int request, entity caller, int arguments, string command))
10         {
11                 TC(Command, this);
12         }
13 ENDCLASS(Command)