#[repr(C)]pub struct PlayerUpdateHandlerVTable {
pub on_player_update: unsafe extern "thiscall" fn(*mut PlayerUpdateHandler, *mut IPlayer, i64) -> bool,
}Expand description
PlayerUpdateEventHandler — fires for every player on every server
tick, so keep the body short. Returning false drops the update.
now is a TimePoint (steady_clock, nanoseconds): one 64-bit value
passed by value, which on i686 lands on the stack either way.
Fields§
§on_player_update: unsafe extern "thiscall" fn(*mut PlayerUpdateHandler, *mut IPlayer, i64) -> boolAuto Trait Implementations§
impl Freeze for PlayerUpdateHandlerVTable
impl RefUnwindSafe for PlayerUpdateHandlerVTable
impl Send for PlayerUpdateHandlerVTable
impl Sync for PlayerUpdateHandlerVTable
impl Unpin for PlayerUpdateHandlerVTable
impl UnsafeUnpin for PlayerUpdateHandlerVTable
impl UnwindSafe for PlayerUpdateHandlerVTable
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