pub enum M2EventType {
Sound = 0,
SoundStop = 1,
SpellCastOMG = 2,
Hide = 3,
Unknown4 = 4,
StandOrLand = 5,
SpeechEmote = 6,
FootstepFront = 7,
FootstepBack = 8,
PlaySoundKitFromTable = 9,
}Expand description
Event types
Variants§
Sound = 0
Play sound
SoundStop = 1
Stop sound
SpellCastOMG = 2
Create a spell animation at a bone
Hide = 3
Hide a model
Unknown4 = 4
Unknown
StandOrLand = 5
Footstep sound
SpeechEmote = 6
Used for displaying speech bubbles
FootstepFront = 7
Unknown
FootstepBack = 8
Unknown
PlaySoundKitFromTable = 9
Play a sound from a sound table
Implementations§
Trait Implementations§
Source§impl Clone for M2EventType
impl Clone for M2EventType
Source§fn clone(&self) -> M2EventType
fn clone(&self) -> M2EventType
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 M2EventType
Source§impl Debug for M2EventType
impl Debug for M2EventType
impl Eq for M2EventType
Source§impl PartialEq for M2EventType
impl PartialEq for M2EventType
Source§fn eq(&self, other: &M2EventType) -> bool
fn eq(&self, other: &M2EventType) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for M2EventType
Auto Trait Implementations§
impl Freeze for M2EventType
impl RefUnwindSafe for M2EventType
impl Send for M2EventType
impl Sync for M2EventType
impl Unpin for M2EventType
impl UnsafeUnpin for M2EventType
impl UnwindSafe for M2EventType
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more