Struct discord_game_sdk_sys::IDiscordLobbyEvents [−][src]
#[repr(C)]pub struct IDiscordLobbyEvents { pub on_lobby_update: Option<unsafe extern "C" fn(event_data: *mut c_void, lobby_id: i64)>, pub on_lobby_delete: Option<unsafe extern "C" fn(event_data: *mut c_void, lobby_id: i64, reason: u32)>, pub on_member_connect: Option<unsafe extern "C" fn(event_data: *mut c_void, lobby_id: i64, user_id: i64)>, pub on_member_update: Option<unsafe extern "C" fn(event_data: *mut c_void, lobby_id: i64, user_id: i64)>, pub on_member_disconnect: Option<unsafe extern "C" fn(event_data: *mut c_void, lobby_id: i64, user_id: i64)>, pub on_lobby_message: Option<unsafe extern "C" fn(event_data: *mut c_void, lobby_id: i64, user_id: i64, data: *mut u8, data_length: u32)>, pub on_speaking: Option<unsafe extern "C" fn(event_data: *mut c_void, lobby_id: i64, user_id: i64, speaking: bool)>, pub on_network_message: Option<unsafe extern "C" fn(event_data: *mut c_void, lobby_id: i64, user_id: i64, channel_id: u8, data: *mut u8, data_length: u32)>, }
Fields
on_lobby_update: Option<unsafe extern "C" fn(event_data: *mut c_void, lobby_id: i64)>
on_lobby_delete: Option<unsafe extern "C" fn(event_data: *mut c_void, lobby_id: i64, reason: u32)>
on_member_connect: Option<unsafe extern "C" fn(event_data: *mut c_void, lobby_id: i64, user_id: i64)>
on_member_update: Option<unsafe extern "C" fn(event_data: *mut c_void, lobby_id: i64, user_id: i64)>
on_member_disconnect: Option<unsafe extern "C" fn(event_data: *mut c_void, lobby_id: i64, user_id: i64)>
on_lobby_message: Option<unsafe extern "C" fn(event_data: *mut c_void, lobby_id: i64, user_id: i64, data: *mut u8, data_length: u32)>
on_speaking: Option<unsafe extern "C" fn(event_data: *mut c_void, lobby_id: i64, user_id: i64, speaking: bool)>
on_network_message: Option<unsafe extern "C" fn(event_data: *mut c_void, lobby_id: i64, user_id: i64, channel_id: u8, data: *mut u8, data_length: u32)>
Trait Implementations
Returns the “default value” for a type. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for IDiscordLobbyEvents
impl Send for IDiscordLobbyEvents
impl Sync for IDiscordLobbyEvents
impl Unpin for IDiscordLobbyEvents
impl UnwindSafe for IDiscordLobbyEvents
Blanket Implementations
Mutably borrows from an owned value. Read more