#[repr(C)]pub struct SKSEMessagingInterface {
pub interfaceVersion: u32,
pub RegisterListener: unsafe extern "C" fn(PluginHandle, *const c_char, *mut c_void) -> bool,
pub Dispatch: unsafe extern "C" fn(PluginHandle, u32, *mut c_void, u32, *const c_char) -> bool,
pub GetEventDispatcher: unsafe extern "C" fn(u32) -> *mut c_void,
}
Expand description
The messaging interface for SKSE that allows plugin communication.
Fields§
§interfaceVersion: u32
The version of the messaging interface.
RegisterListener: unsafe extern "C" fn(PluginHandle, *const c_char, *mut c_void) -> bool
Registers a listener for messages.
Dispatch: unsafe extern "C" fn(PluginHandle, u32, *mut c_void, u32, *const c_char) -> bool
Dispatches a message.
GetEventDispatcher: unsafe extern "C" fn(u32) -> *mut c_void
Gets the event dispatcher for the messaging interface.
Trait Implementations§
Source§impl Debug for SKSEMessagingInterface
impl Debug for SKSEMessagingInterface
Auto Trait Implementations§
impl Freeze for SKSEMessagingInterface
impl RefUnwindSafe for SKSEMessagingInterface
impl Send for SKSEMessagingInterface
impl Sync for SKSEMessagingInterface
impl Unpin for SKSEMessagingInterface
impl UnwindSafe for SKSEMessagingInterface
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