Xonotic QuakeC
The free, fast arena FPS with crisp movement and a wide array of weapons
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
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
)
entity
var entity(vector mins, vector maxs,.entity tofield) findbox_tofield_OrFallback
Command
Definition
command.qh:6
Command::ATTRIB
ATTRIB(Command, m_name, string)
Command::m_invokecmd
virtual void m_invokecmd()
Definition
command.qh:9
Object
CMD_REQUEST_COMMAND
const int CMD_REQUEST_COMMAND
Definition
command.qh:3
CMD_REQUEST_USAGE
const int CMD_REQUEST_USAGE
Definition
command.qh:4
m_name
string m_name
Definition
scores.qh:142
TC
#define TC(T, sym)
Definition
_all.inc:82
CLASS
#define CLASS(...)
Definition
oo.qh:145
ENDCLASS
#define ENDCLASS(cname)
Definition
oo.qh:281
METHOD
#define METHOD(cname, name, prototype)
Definition
oo.qh:269
m_description
this m_description
Definition
pages.qc:28
this
entity this
Definition
self.qh:72
common
command
command.qh
Generated on
for Xonotic QuakeC by
1.14.0