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
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
)
Object
CLASS
CLASS(Object) Object
Definition:
oo.qh:318
CMD_REQUEST_USAGE
const int CMD_REQUEST_USAGE
Definition:
command.qh:4
entity
entity() spawn
METHOD
#define METHOD(cname, name, prototype)
Definition:
oo.qh:257
ATTRIB
#define ATTRIB(...)
Definition:
oo.qh:136
CMD_REQUEST_COMMAND
const int CMD_REQUEST_COMMAND
Definition:
command.qh:3
TC
#define TC(T, sym)
Definition:
_all.inc:82
ENDCLASS
#define ENDCLASS(cname)
Definition:
oo.qh:269
Command
Definition:
command.qh:6
m_name
string m_name
Definition:
scores.qh:135
common
command
command.qh
Generated on Thu Mar 17 2022 17:26:27 for Xonotic by
1.8.13