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: u64
The id of the base suit used for the loadout.
suit_name: Suit
The kind of suit used for the loadout.
suit_name_localized: Option<String>
The localized name of the suit used for the loadout.
loadout_id: u64
The id of the loadout.
loadout_name: String
The name of the loadout.
slot_name: SuitSlot
The slot where the module was equipped.
module_name: Weapon
The name of the module that was equipped.
module_name_localized: Option<String>
The localized module of the module that was equipped.
class: u8
The class of the module equipped.
weapon_mods: Vec<WeaponMod>
A list of mods that are applied to the equipped module.
suit_module_id: u64
The 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 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 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§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 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