#[repr(C)]pub struct ClassHandlerVTable {
pub on_player_request_class: unsafe extern "thiscall" fn(*mut ClassHandler, *mut IPlayer, u32) -> bool,
}Expand description
ClassEventHandler in Server/Components/Classes/classes.hpp.
Fields§
§on_player_request_class: unsafe extern "thiscall" fn(*mut ClassHandler, *mut IPlayer, u32) -> boolbool onPlayerRequestClass(IPlayer &, unsigned int).
Implementations§
Source§impl ClassHandlerVTable
impl ClassHandlerVTable
Sourcepub const DEFAULT: ClassHandlerVTable
pub const DEFAULT: ClassHandlerVTable
Every entry doing what the C++ handler’s own body does.
Trait Implementations§
Source§impl Clone for ClassHandlerVTable
impl Clone for ClassHandlerVTable
Source§fn clone(&self) -> ClassHandlerVTable
fn clone(&self) -> ClassHandlerVTable
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 ClassHandlerVTable
Auto Trait Implementations§
impl Freeze for ClassHandlerVTable
impl RefUnwindSafe for ClassHandlerVTable
impl Send for ClassHandlerVTable
impl Sync for ClassHandlerVTable
impl Unpin for ClassHandlerVTable
impl UnsafeUnpin for ClassHandlerVTable
impl UnwindSafe for ClassHandlerVTable
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