#[repr(C)]pub struct ftHit {Show 25 fields
pub active: c_int,
pub x4: c_int,
pub dmg: c_int,
pub dmg_f: f32,
pub offset: Vec3,
pub size: f32,
pub angle: c_int,
pub kb_growth: c_int,
pub wdsk: c_int,
pub kb: c_int,
pub attribute: c_int,
pub shield_dmg: c_int,
pub hitsound_severity: c_int,
pub hitsound_kind: c_int,
pub x40: c_char,
pub x41: c_char,
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 2], u8>,
pub x44: c_int,
pub bone: *mut JOBJ,
pub pos: Vec3,
pub pos_prev: Vec3,
pub pos_coll: Vec3,
pub coll_distance: f32,
pub victims: [HitVictim; 24],
pub x134: c_int,
}Fields§
§active: c_int§x4: c_int§dmg: c_int§dmg_f: f32§offset: Vec3§size: f32§angle: c_int§kb_growth: c_int§wdsk: c_int§kb: c_int§attribute: c_int§shield_dmg: c_int§hitsound_severity: c_int§hitsound_kind: c_int§x40: c_char§x41: c_char§_bitfield_1: __BindgenBitfieldUnit<[u8; 2], u8>§x44: c_int§bone: *mut JOBJ§pos: Vec3§pos_prev: Vec3§pos_coll: Vec3§coll_distance: f32§victims: [HitVictim; 24]§x134: c_intImplementations§
Source§impl ftHit
impl ftHit
pub fn x421(&self) -> c_uchar
pub fn set_x421(&mut self, val: c_uchar)
pub fn x422(&self) -> c_uchar
pub fn set_x422(&mut self, val: c_uchar)
pub fn x423(&self) -> c_uchar
pub fn set_x423(&mut self, val: c_uchar)
pub fn x424(&self) -> c_uchar
pub fn set_x424(&mut self, val: c_uchar)
pub fn no_hurt(&self) -> c_uchar
pub fn set_no_hurt(&mut self, val: c_uchar)
pub fn no_reflect(&self) -> c_uchar
pub fn set_no_reflect(&mut self, val: c_uchar)
pub fn x427(&self) -> c_uchar
pub fn set_x427(&mut self, val: c_uchar)
pub fn x428(&self) -> c_uchar
pub fn set_x428(&mut self, val: c_uchar)
pub fn x431(&self) -> c_uchar
pub fn set_x431(&mut self, val: c_uchar)
pub fn x432(&self) -> c_uchar
pub fn set_x432(&mut self, val: c_uchar)
pub fn hit_all(&self) -> c_uchar
pub fn set_hit_all(&mut self, val: c_uchar)
pub fn x434(&self) -> c_uchar
pub fn set_x434(&mut self, val: c_uchar)
pub fn x435(&self) -> c_uchar
pub fn set_x435(&mut self, val: c_uchar)
pub fn x436(&self) -> c_uchar
pub fn set_x436(&mut self, val: c_uchar)
pub fn x437(&self) -> c_uchar
pub fn set_x437(&mut self, val: c_uchar)
pub fn x438(&self) -> c_uchar
pub fn set_x438(&mut self, val: c_uchar)
pub fn new_bitfield_1( x421: c_uchar, x422: c_uchar, x423: c_uchar, x424: c_uchar, no_hurt: c_uchar, no_reflect: c_uchar, x427: c_uchar, x428: c_uchar, x431: c_uchar, x432: c_uchar, hit_all: c_uchar, x434: c_uchar, x435: c_uchar, x436: c_uchar, x437: c_uchar, x438: c_uchar, ) -> __BindgenBitfieldUnit<[u8; 2], u8>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ftHit
impl RefUnwindSafe for ftHit
impl !Send for ftHit
impl !Sync for ftHit
impl Unpin for ftHit
impl UnwindSafe for ftHit
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