#[repr(C)]pub struct GangZoneHandlerVTable {
pub on_player_enter_gang_zone: unsafe extern "thiscall" fn(*mut GangZoneHandler, *mut IPlayer, *mut IGangZone),
pub on_player_leave_gang_zone: unsafe extern "thiscall" fn(*mut GangZoneHandler, *mut IPlayer, *mut IGangZone),
pub on_player_click_gang_zone: unsafe extern "thiscall" fn(*mut GangZoneHandler, *mut IPlayer, *mut IGangZone),
}Expand description
GangZoneEventHandler in Server/Components/GangZones/gangzones.hpp.
Fields§
§on_player_enter_gang_zone: unsafe extern "thiscall" fn(*mut GangZoneHandler, *mut IPlayer, *mut IGangZone)void onPlayerEnterGangZone(IPlayer &, IGangZone &).
on_player_leave_gang_zone: unsafe extern "thiscall" fn(*mut GangZoneHandler, *mut IPlayer, *mut IGangZone)void onPlayerLeaveGangZone(IPlayer &, IGangZone &).
on_player_click_gang_zone: unsafe extern "thiscall" fn(*mut GangZoneHandler, *mut IPlayer, *mut IGangZone)void onPlayerClickGangZone(IPlayer &, IGangZone &).
Implementations§
Source§impl GangZoneHandlerVTable
impl GangZoneHandlerVTable
Sourcepub const DEFAULT: GangZoneHandlerVTable
pub const DEFAULT: GangZoneHandlerVTable
Every entry doing what the C++ handler’s own body does.
Trait Implementations§
Source§impl Clone for GangZoneHandlerVTable
impl Clone for GangZoneHandlerVTable
Source§fn clone(&self) -> GangZoneHandlerVTable
fn clone(&self) -> GangZoneHandlerVTable
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 GangZoneHandlerVTable
Auto Trait Implementations§
impl Freeze for GangZoneHandlerVTable
impl RefUnwindSafe for GangZoneHandlerVTable
impl Send for GangZoneHandlerVTable
impl Sync for GangZoneHandlerVTable
impl Unpin for GangZoneHandlerVTable
impl UnsafeUnpin for GangZoneHandlerVTable
impl UnwindSafe for GangZoneHandlerVTable
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