pub struct LoadoutRemoveModuleEvent {
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 removing a module from 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 removed from.
module_name: Weapon
The name of the module that was removed.
module_name_localized: Option<String>
The localized module of the module that was removed.
class: u8
The class of the removed module.
weapon_mods: Vec<WeaponMod>
A list of mods that are applied to the removed module.
suit_module_id: u64
The id of the module.
Trait Implementations§
Source§impl Clone for LoadoutRemoveModuleEvent
impl Clone for LoadoutRemoveModuleEvent
Source§fn clone(&self) -> LoadoutRemoveModuleEvent
fn clone(&self) -> LoadoutRemoveModuleEvent
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 LoadoutRemoveModuleEvent
impl Debug for LoadoutRemoveModuleEvent
Source§impl<'de> Deserialize<'de> for LoadoutRemoveModuleEvent
impl<'de> Deserialize<'de> for LoadoutRemoveModuleEvent
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 LoadoutRemoveModuleEvent
impl PartialEq for LoadoutRemoveModuleEvent
Source§impl Serialize for LoadoutRemoveModuleEvent
impl Serialize for LoadoutRemoveModuleEvent
impl StructuralPartialEq for LoadoutRemoveModuleEvent
Auto Trait Implementations§
impl Freeze for LoadoutRemoveModuleEvent
impl RefUnwindSafe for LoadoutRemoveModuleEvent
impl Send for LoadoutRemoveModuleEvent
impl Sync for LoadoutRemoveModuleEvent
impl Unpin for LoadoutRemoveModuleEvent
impl UnwindSafe for LoadoutRemoveModuleEvent
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