itHit

Struct itHit 

Source
#[repr(C)]
pub struct itHit {
Show 73 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 _bitfield_1: __BindgenBitfieldUnit<[u8; 1], u8>, pub x41: c_char, pub _bitfield_2: __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 victim: *mut GOBJ, pub x78: c_int, pub x7c: c_int, pub x80: c_int, pub x84: c_int, pub x88: c_int, pub x8c: c_int, pub x90: c_int, pub x94: c_int, pub x98: c_int, pub x9c: c_int, pub xa0: c_int, pub xa4: c_int, pub xa8: c_int, pub xac: c_int, pub xb0: c_int, pub xb4: c_int, pub xb8: c_int, pub xbc: c_int, pub xc0: c_int, pub xc4: c_int, pub xc8: c_int, pub xcc: c_int, pub xd0: c_int, pub xd4: c_int, pub xd8: c_int, pub xdc: c_int, pub xe0: c_int, pub xe4: c_int, pub xe8: c_int, pub xec: c_int, pub xf0: c_int, pub xf4: c_int, pub xf8: c_int, pub xfc: c_int, pub x100: c_int, pub x104: c_int, pub x108: c_int, pub x10c: c_int, pub x110: c_int, pub x114: c_int, pub x118: c_int, pub x11c: c_int, pub x120: c_int, pub x124: c_int, pub x128: c_int, pub x12c: c_int, pub x130: c_int, pub x134: c_int, pub x138: 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§_bitfield_1: __BindgenBitfieldUnit<[u8; 1], u8>§x41: c_char§_bitfield_2: __BindgenBitfieldUnit<[u8; 2], u8>§x44: c_int§bone: *mut JOBJ§pos: Vec3§pos_prev: Vec3§pos_coll: Vec3§coll_distance: f32§victim: *mut GOBJ§x78: c_int§x7c: c_int§x80: c_int§x84: c_int§x88: c_int§x8c: c_int§x90: c_int§x94: c_int§x98: c_int§x9c: c_int§xa0: c_int§xa4: c_int§xa8: c_int§xac: c_int§xb0: c_int§xb4: c_int§xb8: c_int§xbc: c_int§xc0: c_int§xc4: c_int§xc8: c_int§xcc: c_int§xd0: c_int§xd4: c_int§xd8: c_int§xdc: c_int§xe0: c_int§xe4: c_int§xe8: c_int§xec: c_int§xf0: c_int§xf4: c_int§xf8: c_int§xfc: c_int§x100: c_int§x104: c_int§x108: c_int§x10c: c_int§x110: c_int§x114: c_int§x118: c_int§x11c: c_int§x120: c_int§x124: c_int§x128: c_int§x12c: c_int§x130: c_int§x134: c_int§x138: c_int

Implementations§

Source§

impl itHit

Source

pub fn x401(&self) -> c_uchar

Source

pub fn set_x401(&mut self, val: c_uchar)

Source

pub fn x402(&self) -> c_uchar

Source

pub fn set_x402(&mut self, val: c_uchar)

Source

pub fn hit_air(&self) -> c_uchar

Source

pub fn set_hit_air(&mut self, val: c_uchar)

Source

pub fn hit_ground(&self) -> c_uchar

Source

pub fn set_hit_ground(&mut self, val: c_uchar)

Source

pub fn x405(&self) -> c_uchar

Source

pub fn set_x405(&mut self, val: c_uchar)

Source

pub fn x406(&self) -> c_uchar

Source

pub fn set_x406(&mut self, val: c_uchar)

Source

pub fn x407(&self) -> c_uchar

Source

pub fn set_x407(&mut self, val: c_uchar)

Source

pub fn x408(&self) -> c_uchar

Source

pub fn set_x408(&mut self, val: c_uchar)

Source

pub fn new_bitfield_1( x401: c_uchar, x402: c_uchar, hit_air: c_uchar, hit_ground: c_uchar, x405: c_uchar, x406: c_uchar, x407: c_uchar, x408: c_uchar, ) -> __BindgenBitfieldUnit<[u8; 1], u8>

Source

pub fn x421(&self) -> c_uchar

Source

pub fn set_x421(&mut self, val: c_uchar)

Source

pub fn x422(&self) -> c_uchar

Source

pub fn set_x422(&mut self, val: c_uchar)

Source

pub fn hit_facing(&self) -> c_uchar

Source

pub fn set_hit_facing(&mut self, val: c_uchar)

Source

pub fn x424(&self) -> c_uchar

Source

pub fn set_x424(&mut self, val: c_uchar)

Source

pub fn no_hurt(&self) -> c_uchar

Source

pub fn set_no_hurt(&mut self, val: c_uchar)

Source

pub fn no_reflect(&self) -> c_uchar

Source

pub fn set_no_reflect(&mut self, val: c_uchar)

Source

pub fn x427(&self) -> c_uchar

Source

pub fn set_x427(&mut self, val: c_uchar)

Source

pub fn x428(&self) -> c_uchar

Source

pub fn set_x428(&mut self, val: c_uchar)

Source

pub fn x431(&self) -> c_uchar

Source

pub fn set_x431(&mut self, val: c_uchar)

Source

pub fn x432(&self) -> c_uchar

Source

pub fn set_x432(&mut self, val: c_uchar)

Source

pub fn hit_all(&self) -> c_uchar

Source

pub fn set_hit_all(&mut self, val: c_uchar)

Source

pub fn x434(&self) -> c_uchar

Source

pub fn set_x434(&mut self, val: c_uchar)

Source

pub fn x435(&self) -> c_uchar

Source

pub fn set_x435(&mut self, val: c_uchar)

Source

pub fn x436(&self) -> c_uchar

Source

pub fn set_x436(&mut self, val: c_uchar)

Source

pub fn x437(&self) -> c_uchar

Source

pub fn set_x437(&mut self, val: c_uchar)

Source

pub fn x438(&self) -> c_uchar

Source

pub fn set_x438(&mut self, val: c_uchar)

Source

pub fn new_bitfield_2( x421: c_uchar, x422: c_uchar, hit_facing: 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§

Source§

impl Clone for itHit

Source§

fn clone(&self) -> itHit

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for itHit

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Copy for itHit

Auto Trait Implementations§

§

impl Freeze for itHit

§

impl RefUnwindSafe for itHit

§

impl !Send for itHit

§

impl !Sync for itHit

§

impl Unpin for itHit

§

impl UnwindSafe for itHit

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.