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
36#define params(i, o) \
37 i(string, 0) /* command name */ \
38 i(int, 1) /* argc (also, argv() can be used) */ \
39 i(string, 2) /* whole command, use only if you really have to */ \
40 /**/
41MUTATOR_HOOKABLE(Menu_ConsoleCommand, params);
42#undef params
43
44#define params(i, o) \
45 i(entity, 0) /* main window entity */ \
46 /**/
47MUTATOR_HOOKABLE(ConfigureDialogs, params);
48#undef params
#define MUTATOR_HOOKABLE(name, params)
Definition base.qh:168
#define params(i, o)
Called when a client command is parsed NOTE: hooks MUST start with if (MUTATOR_RETURNVALUE) return fa...
Definition events.qh:36