Enum quake3_native_vm::qagame::Exports
source · #[repr(C)]pub enum Exports {
GAME_INIT,
GAME_SHUTDOWN,
GAME_CLIENT_CONNECT,
GAME_CLIENT_BEGIN,
GAME_CLIENT_USERINFO_CHANGED,
GAME_CLIENT_DISCONNECT,
GAME_CLIENT_COMMAND,
GAME_CLIENT_THINK,
GAME_RUN_FRAME,
GAME_CONSOLE_COMMAND,
BOTAI_START_FRAME,
}
Expand description
Functions exported by the module
See gameExport_t
in ioquake3’s game/g_public.h
.
Variants§
GAME_INIT
Initialize module upon loading a level
GAME_SHUTDOWN
Shutdown module upon loading another level, mod etc.
GAME_CLIENT_CONNECT
Connect or reject a client
GAME_CLIENT_BEGIN
Client finished connecting
GAME_CLIENT_USERINFO_CHANGED
Userinfo data for client changed
GAME_CLIENT_DISCONNECT
Disconnect a client
GAME_CLIENT_COMMAND
Client text command
GAME_CLIENT_THINK
Run client frame
GAME_RUN_FRAME
Run server frame
GAME_CONSOLE_COMMAND
Server console text command
BOTAI_START_FRAME
Run bot frame
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Exports
impl Send for Exports
impl Sync for Exports
impl Unpin for Exports
impl UnwindSafe for Exports
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more