Xonotic
command.qh
Go to the documentation of this file.
1 #pragma once
2 
3 const int CMD_REQUEST_COMMAND = 1;
4 const int CMD_REQUEST_USAGE = 2;
5 
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  }
CLASS(Object) Object
Definition: oo.qh:318
const int CMD_REQUEST_USAGE
Definition: command.qh:4
entity() spawn
#define METHOD(cname, name, prototype)
Definition: oo.qh:257
#define ATTRIB(...)
Definition: oo.qh:136
const int CMD_REQUEST_COMMAND
Definition: command.qh:3
#define TC(T, sym)
Definition: _all.inc:82
#define ENDCLASS(cname)
Definition: oo.qh:269
string m_name
Definition: scores.qh:135