#[repr(C)]pub struct PickupHandlerVTable {
pub on_player_pick_up_pickup: unsafe extern "thiscall" fn(*mut PickupHandler, *mut IPlayer, *mut IPickup),
}Expand description
PickupEventHandler in Server/Components/Pickups/pickups.hpp.
Fields§
§on_player_pick_up_pickup: unsafe extern "thiscall" fn(*mut PickupHandler, *mut IPlayer, *mut IPickup)void onPlayerPickUpPickup(IPlayer &, IPickup &).
Implementations§
Source§impl PickupHandlerVTable
impl PickupHandlerVTable
Sourcepub const DEFAULT: PickupHandlerVTable
pub const DEFAULT: PickupHandlerVTable
Every entry doing what the C++ handler’s own body does.
Trait Implementations§
Source§impl Clone for PickupHandlerVTable
impl Clone for PickupHandlerVTable
Source§fn clone(&self) -> PickupHandlerVTable
fn clone(&self) -> PickupHandlerVTable
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 PickupHandlerVTable
Auto Trait Implementations§
impl Freeze for PickupHandlerVTable
impl RefUnwindSafe for PickupHandlerVTable
impl Send for PickupHandlerVTable
impl Sync for PickupHandlerVTable
impl Unpin for PickupHandlerVTable
impl UnsafeUnpin for PickupHandlerVTable
impl UnwindSafe for PickupHandlerVTable
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