#[repr(u32)]pub enum MessageType {
PostLoad = 0,
PostPostLoad = 1,
PreLoadGame = 2,
PostLoadGame = 3,
SaveGame = 4,
DeleteGame = 5,
InputLoaded = 6,
NewGame = 7,
DataLoaded = 8,
}
Expand description
Represents the different types of messages that can be sent or received through SKSE’s messaging system.
Variants§
PostLoad = 0
Fired after all plugins are loaded.
PostPostLoad = 1
Fired after all PostLoad
events have completed.
PreLoadGame = 2
Fired before loading a game save.
PostLoadGame = 3
Fired after loading a game save.
SaveGame = 4
Fired before saving a game.
DeleteGame = 5
Fired before deleting a game save.
InputLoaded = 6
Fired when the input system is loaded.
NewGame = 7
Fired when starting a new game.
DataLoaded = 8
Fired after all game data has loaded.
Trait Implementations§
Source§impl Clone for MessageType
impl Clone for MessageType
Source§fn clone(&self) -> MessageType
fn clone(&self) -> MessageType
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for MessageType
impl Debug for MessageType
Source§impl From<MessageType> for MessageType_CEnum
impl From<MessageType> for MessageType_CEnum
Source§fn from(value: MessageType) -> Self
fn from(value: MessageType) -> Self
Converts to this type from the input type.
Source§impl Hash for MessageType
impl Hash for MessageType
Source§impl Ord for MessageType
impl Ord for MessageType
Source§fn cmp(&self, other: &MessageType) -> Ordering
fn cmp(&self, other: &MessageType) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for MessageType
impl PartialEq for MessageType
Source§impl PartialOrd for MessageType
impl PartialOrd for MessageType
Source§impl TryFrom<MessageType_CEnum> for MessageType
impl TryFrom<MessageType_CEnum> for MessageType
impl Copy for MessageType
impl Eq for MessageType
impl StructuralPartialEq for MessageType
Auto Trait Implementations§
impl Freeze for MessageType
impl RefUnwindSafe for MessageType
impl Send for MessageType
impl Sync for MessageType
impl Unpin for MessageType
impl UnwindSafe for MessageType
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