#[repr(C)]pub struct PlayerDialogHandlerVTable {
pub on_dialog_response: unsafe extern "thiscall" fn(*mut PlayerDialogHandler, *mut IPlayer, i32, i32, i32, StringView),
}Expand description
PlayerDialogEventHandler in Server/Components/Dialogs/dialogs.hpp.
Fields§
§on_dialog_response: unsafe extern "thiscall" fn(*mut PlayerDialogHandler, *mut IPlayer, i32, i32, i32, StringView)void onDialogResponse(IPlayer &, int, DialogResponse, int, StringView).
Implementations§
Source§impl PlayerDialogHandlerVTable
impl PlayerDialogHandlerVTable
Sourcepub const DEFAULT: PlayerDialogHandlerVTable
pub const DEFAULT: PlayerDialogHandlerVTable
Every entry doing what the C++ handler’s own body does.
Trait Implementations§
Source§impl Clone for PlayerDialogHandlerVTable
impl Clone for PlayerDialogHandlerVTable
Source§fn clone(&self) -> PlayerDialogHandlerVTable
fn clone(&self) -> PlayerDialogHandlerVTable
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 PlayerDialogHandlerVTable
Auto Trait Implementations§
impl Freeze for PlayerDialogHandlerVTable
impl RefUnwindSafe for PlayerDialogHandlerVTable
impl Send for PlayerDialogHandlerVTable
impl Sync for PlayerDialogHandlerVTable
impl Unpin for PlayerDialogHandlerVTable
impl UnsafeUnpin for PlayerDialogHandlerVTable
impl UnwindSafe for PlayerDialogHandlerVTable
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