1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
use super::prelude::*;
#[repr(C)]
pub struct ConCommandBase {
pub base_vtable: *mut c_void,
pub next: *mut ConCommandBase,
pub registered: bool,
pub name: *const c_char,
pub help_string: *const c_char,
pub flags: c_int,
}
iface! {
pub abstract struct ICVar {};
}
impl ICVar {
#[virtual_index(1)]
pub fn RegisterConCommand(&self, pCommandBase: *mut ConCommandBase) {}
#[virtual_index(2)]
pub fn UnregisterConCommand(&self, pCommandBase: *mut ConCommandBase) {}
#[virtual_index(11)]
pub fn GetCommands(&self) -> *mut ConCommandBase {}
}