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
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
12string cmd_name;
15
35#define EV_Menu_ConsoleCommand(i, o) \
36 i(string, cmd_name) \
37 i(int, cmd_argc) \
38 i(string, cmd_string) \
39 /**/
41
42#define EV_ConfigureDialogs(i, o) \
43 i(entity, MUTATOR_ARGV_0_entity) \
44 /**/
#define MUTATOR_HOOKABLE(id, params)
Definition base.qh:129
string cmd_string
Definition events.qh:14
#define EV_ConfigureDialogs(i, o)
Definition events.qh:42
string cmd_name
Definition events.qh:12
int cmd_argc
Definition events.qh:13
#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