Struct tf2types::events::player_death
source · [−]pub struct player_death {Show 26 fields
pub userid: i32,
pub victim_entindex: i32,
pub inflictor_entindex: i32,
pub attacker: i32,
pub weapon: String,
pub weaponid: i32,
pub damagebits: i32,
pub customkill: i32,
pub assister: i32,
pub weapon_logclassname: String,
pub stun_flags: i32,
pub death_flags: i32,
pub silent_kill: bool,
pub playerpenetratecount: i32,
pub assister_fallback: String,
pub kill_streak_total: i32,
pub kill_streak_wep: i32,
pub kill_streak_assist: i32,
pub kill_streak_victim: i32,
pub ducks_streaked: i32,
pub duck_streak_total: i32,
pub duck_streak_assist: i32,
pub duck_streak_victim: i32,
pub rocket_jump: bool,
pub weapon_def_index: i32,
pub crit_type: i32,
}Fields
userid: i32victim_entindex: i32inflictor_entindex: i32attacker: i32weapon: Stringweaponid: i32damagebits: i32customkill: i32assister: i32weapon_logclassname: Stringstun_flags: i32death_flags: i32silent_kill: boolplayerpenetratecount: i32assister_fallback: Stringkill_streak_total: i32kill_streak_wep: i32kill_streak_assist: i32kill_streak_victim: i32ducks_streaked: i32duck_streak_total: i32duck_streak_assist: i32duck_streak_victim: i32rocket_jump: boolweapon_def_index: i32crit_type: i32Auto Trait Implementations
impl RefUnwindSafe for player_death
impl Send for player_death
impl Sync for player_death
impl Unpin for player_death
impl UnwindSafe for player_death
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more