Xonotic QuakeC
The free, fast arena FPS with crisp movement and a wide array of weapons
events.qh
Go to the documentation of this file.
1
#pragma once
2
3
#include <
common/mutators/base.qh
>
4
5
// register all possible hooks here
6
7
// to use a hook, first register your mutator using REGISTER_MUTATOR
8
// then create your function using MUTATOR_HOOKFUNCTION
9
10
// globals
11
12
string
cmd_name
;
13
int
cmd_argc
;
14
string
cmd_string
;
15
35
#define EV_Menu_ConsoleCommand(i, o) \
36
i(string, cmd_name) \
37
i(int, cmd_argc) \
38
i(string, cmd_string) \
39
/**/
40
MUTATOR_HOOKABLE
(Menu_ConsoleCommand,
EV_Menu_ConsoleCommand
);
41
42
#define EV_ConfigureDialogs(i, o) \
43
i(entity, MUTATOR_ARGV_0_entity) \
44
/**/
45
MUTATOR_HOOKABLE
(ConfigureDialogs,
EV_ConfigureDialogs
);
base.qh
MUTATOR_HOOKABLE
#define MUTATOR_HOOKABLE(id, params)
Definition
base.qh:129
cmd_string
string cmd_string
Definition
events.qh:14
EV_ConfigureDialogs
#define EV_ConfigureDialogs(i, o)
Definition
events.qh:42
cmd_name
string cmd_name
Definition
events.qh:12
cmd_argc
int cmd_argc
Definition
events.qh:13
EV_Menu_ConsoleCommand
#define EV_Menu_ConsoleCommand(i, o)
Called when a menu command is parsed NOTE: hooks MUST start with if (MUTATOR_RETURNVALUE) return fals...
Definition
events.qh:35
menu
mutators
events.qh
Generated on
for Xonotic QuakeC by
1.14.0