#[repr(C)]pub struct PlayerCheckpointHandlerVTable {
pub on_player_enter_checkpoint: unsafe extern "thiscall" fn(*mut PlayerCheckpointHandler, *mut IPlayer),
pub on_player_leave_checkpoint: unsafe extern "thiscall" fn(*mut PlayerCheckpointHandler, *mut IPlayer),
pub on_player_enter_race_checkpoint: unsafe extern "thiscall" fn(*mut PlayerCheckpointHandler, *mut IPlayer),
pub on_player_leave_race_checkpoint: unsafe extern "thiscall" fn(*mut PlayerCheckpointHandler, *mut IPlayer),
}Expand description
PlayerCheckpointEventHandler in Server/Components/Checkpoints/checkpoints.hpp.
Fields§
§on_player_enter_checkpoint: unsafe extern "thiscall" fn(*mut PlayerCheckpointHandler, *mut IPlayer)void onPlayerEnterCheckpoint(IPlayer &).
on_player_leave_checkpoint: unsafe extern "thiscall" fn(*mut PlayerCheckpointHandler, *mut IPlayer)void onPlayerLeaveCheckpoint(IPlayer &).
on_player_enter_race_checkpoint: unsafe extern "thiscall" fn(*mut PlayerCheckpointHandler, *mut IPlayer)void onPlayerEnterRaceCheckpoint(IPlayer &).
on_player_leave_race_checkpoint: unsafe extern "thiscall" fn(*mut PlayerCheckpointHandler, *mut IPlayer)void onPlayerLeaveRaceCheckpoint(IPlayer &).
Implementations§
Source§impl PlayerCheckpointHandlerVTable
impl PlayerCheckpointHandlerVTable
Sourcepub const DEFAULT: PlayerCheckpointHandlerVTable
pub const DEFAULT: PlayerCheckpointHandlerVTable
Every entry doing what the C++ handler’s own body does.
Trait Implementations§
Source§impl Clone for PlayerCheckpointHandlerVTable
impl Clone for PlayerCheckpointHandlerVTable
Source§fn clone(&self) -> PlayerCheckpointHandlerVTable
fn clone(&self) -> PlayerCheckpointHandlerVTable
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for PlayerCheckpointHandlerVTable
Auto Trait Implementations§
impl Freeze for PlayerCheckpointHandlerVTable
impl RefUnwindSafe for PlayerCheckpointHandlerVTable
impl Send for PlayerCheckpointHandlerVTable
impl Sync for PlayerCheckpointHandlerVTable
impl Unpin for PlayerCheckpointHandlerVTable
impl UnsafeUnpin for PlayerCheckpointHandlerVTable
impl UnwindSafe for PlayerCheckpointHandlerVTable
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