map_gobjData

Struct map_gobjData 

Source
#[repr(C)]
pub struct map_gobjData {
Show 60 fields pub x0: c_int, pub gobj: *mut GOBJ, pub x8: c_int, pub xC: c_int, pub _bitfield_1: __BindgenBitfieldUnit<[u8; 2], u8>, pub map_gobjID: c_int, pub x18: c_int, pub onUnk: c_int, pub x20: c_int, pub x24: c_int, pub stateID: c_int, pub facingDirection: c_int, pub x30: c_int, pub x34: c_int, pub scale: f32, pub x3c: c_int, pub selfVelX: f32, pub selfVelY: f32, pub selfVelZ: f32, pub posX: f32, pub posY: f32, pub posZ: f32, pub x58: c_int, pub x5c: c_int, pub x60: c_int, pub x64: c_int, pub x68: c_int, pub x6c: c_int, pub x70: c_int, pub x74: c_int, 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: u8_, pub xc5: u8_, pub xc6: u8_, pub xc7: u8_, 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 map_struct: map_gobjData__bindgen_ty_1,
}

Fields§

§x0: c_int§gobj: *mut GOBJ§x8: c_int§xC: c_int§_bitfield_1: __BindgenBitfieldUnit<[u8; 2], u8>§map_gobjID: c_int§x18: c_int§onUnk: c_int§x20: c_int§x24: c_int§stateID: c_int§facingDirection: c_int§x30: c_int§x34: c_int§scale: f32§x3c: c_int§selfVelX: f32§selfVelY: f32§selfVelZ: f32§posX: f32§posY: f32§posZ: f32§x58: c_int§x5c: c_int§x60: c_int§x64: c_int§x68: c_int§x6c: c_int§x70: c_int§x74: c_int§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: u8_§xc5: u8_§xc6: u8_§xc7: u8_§xc8: c_int§xcc: c_int§xd0: c_int§xd4: c_int§xd8: c_int§xdc: c_int§map_struct: map_gobjData__bindgen_ty_1

Implementations§

Source§

impl map_gobjData

Source

pub fn flagx80(&self) -> c_uchar

Source

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

Source

pub fn flagx40(&self) -> c_uchar

Source

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

Source

pub fn isFog(&self) -> c_uchar

Source

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

Source

pub fn flagx10(&self) -> c_uchar

Source

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

Source

pub fn flagx8(&self) -> c_uchar

Source

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

Source

pub fn gx_unk1(&self) -> c_uchar

Source

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

Source

pub fn flagx2(&self) -> c_uchar

Source

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

Source

pub fn flagx1(&self) -> c_uchar

Source

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

Source

pub fn gx_unk2(&self) -> c_uchar

Source

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

Source

pub fn flag2x10(&self) -> c_uchar

Source

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

Source

pub fn flag2x08(&self) -> c_uchar

Source

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

Source

pub fn flag2x04(&self) -> c_uchar

Source

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

Source

pub fn flag2x02(&self) -> c_uchar

Source

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

Source

pub fn flag2x01(&self) -> c_uchar

Source

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

Source

pub fn new_bitfield_1( flagx80: c_uchar, flagx40: c_uchar, isFog: c_uchar, flagx10: c_uchar, flagx8: c_uchar, gx_unk1: c_uchar, flagx2: c_uchar, flagx1: c_uchar, gx_unk2: c_uchar, flag2x10: c_uchar, flag2x08: c_uchar, flag2x04: c_uchar, flag2x02: c_uchar, flag2x01: c_uchar, ) -> __BindgenBitfieldUnit<[u8; 2], u8>

Trait Implementations§

Source§

impl Clone for map_gobjData

Source§

fn clone(&self) -> map_gobjData

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 map_gobjData

Source§

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

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

impl Copy for map_gobjData

Auto Trait Implementations§

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.