pub struct LoadoutEquipModuleEvent {
pub suit_id: u64,
pub suit_name: Suit,
pub suit_name_localized: Option<String>,
pub loadout_id: u64,
pub loadout_name: String,
pub slot_name: SuitSlot,
pub module_name: Weapon,
pub module_name_localized: Option<String>,
pub class: u8,
pub weapon_mods: Vec<WeaponMod>,
pub suit_module_id: u64,
}Expand description
Fired when equipping a module to a suit loadout.
Fields§
§suit_id: u64The id of the base suit used for the loadout.
suit_name: SuitThe kind of suit used for the loadout.
suit_name_localized: Option<String>The localized name of the suit used for the loadout.
loadout_id: u64The id of the loadout.
loadout_name: StringThe name of the loadout.
slot_name: SuitSlotThe slot where the module was equipped.
module_name: WeaponThe name of the module that was equipped.
module_name_localized: Option<String>The localized module of the module that was equipped.
class: u8The class of the module equipped.
weapon_mods: Vec<WeaponMod>A list of mods that are applied to the equipped module.
suit_module_id: u64The id of the module.
Trait Implementations§
Source§impl Clone for LoadoutEquipModuleEvent
impl Clone for LoadoutEquipModuleEvent
Source§fn clone(&self) -> LoadoutEquipModuleEvent
fn clone(&self) -> LoadoutEquipModuleEvent
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 moreSource§impl Debug for LoadoutEquipModuleEvent
impl Debug for LoadoutEquipModuleEvent
Source§impl<'de> Deserialize<'de> for LoadoutEquipModuleEvent
impl<'de> Deserialize<'de> for LoadoutEquipModuleEvent
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for LoadoutEquipModuleEvent
impl PartialEq for LoadoutEquipModuleEvent
Source§fn eq(&self, other: &LoadoutEquipModuleEvent) -> bool
fn eq(&self, other: &LoadoutEquipModuleEvent) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for LoadoutEquipModuleEvent
impl Serialize for LoadoutEquipModuleEvent
impl StructuralPartialEq for LoadoutEquipModuleEvent
Auto Trait Implementations§
impl Freeze for LoadoutEquipModuleEvent
impl RefUnwindSafe for LoadoutEquipModuleEvent
impl Send for LoadoutEquipModuleEvent
impl Sync for LoadoutEquipModuleEvent
impl Unpin for LoadoutEquipModuleEvent
impl UnsafeUnpin for LoadoutEquipModuleEvent
impl UnwindSafe for LoadoutEquipModuleEvent
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