Struct ClientPlayerChangeGameTypeEvent
pub struct ClientPlayerChangeGameTypeEvent {
pub player_id: i32,
pub player_uuid: u128,
pub current_game_type: i32,
pub new_game_type: i32,
}Expand description
What Hooks::client_player_change_game_type is told. Each field is that hook’s argument of the same name, described in the hook’s doc.
Fields§
§player_id: i32§player_uuid: u128§current_game_type: i32§new_game_type: i32Trait Implementations§
Auto Trait Implementations§
impl Freeze for ClientPlayerChangeGameTypeEvent
impl RefUnwindSafe for ClientPlayerChangeGameTypeEvent
impl Send for ClientPlayerChangeGameTypeEvent
impl Sync for ClientPlayerChangeGameTypeEvent
impl Unpin for ClientPlayerChangeGameTypeEvent
impl UnsafeUnpin for ClientPlayerChangeGameTypeEvent
impl UnwindSafe for ClientPlayerChangeGameTypeEvent
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