source_engine_types/
plugin.rs

1pub enum PLUGIN_RESULT {
2    PLUGIN_CONTINUE = 0,
3    PLUGIN_OVERRIDE = 1,
4    PLUGIN_STOP = 2,
5}
6
7pub enum EQueryCvarValueStatus {
8    eQueryCvarValueStatus_ValueIntact = 0,
9    eQueryCvarValueStatus_CvarNotFound = 1,
10    eQueryCvarValueStatus_NotACvar = 2,
11    eQueryCvarValueStatus_CvarProtected = 3,
12}
13
14pub type QueryCvarCookie_t = u32;
15pub const InvalidQueryCvarCookie: i32 = -1;
16
17pub const INTERFACEVERSION_ISERVERPLUGINCALLBACKS_VERSION_1: &'static str = "ISERVERPLUGINCALLBACKS001";
18pub const INTERFACEVERSION_ISERVERPLUGINCALLBACKS_VERSION_2: &'static str = "ISERVERPLUGINCALLBACKS002";
19pub const INTERFACEVERSION_ISERVERPLUGINCALLBACKS: &'static str = "ISERVERPLUGINCALLBACKS003";
20
21pub const INTERFACEVERSION_ISERVERPLUGINHELPERS: &'static str = "ISERVERPLUGINHELPERS001";
22
23pub enum DIALOG_TYPE {
24    DIALOG_MSG = 0,
25    DIALOG_MENU = 1,
26    DIALOG_TEXT = 2,
27    DIALOG_ENTRY = 3,
28    DIALOG_ASKCONNECT = 4,
29}