MatchInit

Struct MatchInit 

Source
#[repr(C)]
pub struct MatchInit {
Show 29 fields pub _bitfield_1: __BindgenBitfieldUnit<[u8; 6], u8>, pub bombRain: u8_, pub unk13: u8_, pub isTeams: u8_, pub isKOCounterActive: u8_, pub unk14: u8_, pub itemFreq: u8_, pub unk15: u8_, pub unk16: u8_, pub stage: u16_, pub _bitfield_2: __BindgenBitfieldUnit<[u8; 4], u32>, pub timerSubSeconds: u8_, pub unk17: c_int, pub _bitfield_3: __BindgenBitfieldUnit<[u8; 8], u64>, pub unk18: c_int, pub cameraShakeMult: f32, pub unk19: f32, pub unk20: f32, pub x34: c_int, pub x38: c_int, pub x3c: c_int, pub onStartMelee: *mut c_void, pub unk21: c_int, pub onCheckPause: *mut c_void, pub unk22: c_int, pub onMatchFrame1: *mut c_void, pub onMatchFrame2: *mut c_void, pub onMatchEnd: *mut c_void, pub playerData: [PlayerData; 6],
}
Expand description

Structs

Fields§

§_bitfield_1: __BindgenBitfieldUnit<[u8; 6], u8>§bombRain: u8_§unk13: u8_§isTeams: u8_§isKOCounterActive: u8_§unk14: u8_§itemFreq: u8_§unk15: u8_§unk16: u8_§stage: u16_§_bitfield_2: __BindgenBitfieldUnit<[u8; 4], u32>§timerSubSeconds: u8_§unk17: c_int§_bitfield_3: __BindgenBitfieldUnit<[u8; 8], u64>§unk18: c_int§cameraShakeMult: f32§unk19: f32§unk20: f32§x34: c_int§x38: c_int§x3c: c_int§onStartMelee: *mut c_void§unk21: c_int§onCheckPause: *mut c_void§unk22: c_int§onMatchFrame1: *mut c_void§onMatchFrame2: *mut c_void§onMatchEnd: *mut c_void§playerData: [PlayerData; 6]

Implementations§

Source§

impl MatchInit

Source

pub fn matchType(&self) -> c_uchar

Source

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

Source

pub fn hudPos(&self) -> c_uchar

Source

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

Source

pub fn timer(&self) -> c_uchar

Source

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

Source

pub fn timer_unk2(&self) -> c_uchar

Source

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

Source

pub fn unk4(&self) -> c_uchar

Source

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

Source

pub fn hideReady(&self) -> c_uchar

Source

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

Source

pub fn hideGo(&self) -> c_uchar

Source

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

Source

pub fn isDisableMusic(&self) -> c_uchar

Source

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

Source

pub fn unk3(&self) -> c_uchar

Source

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

Source

pub fn timer_unk(&self) -> c_uchar

Source

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

Source

pub fn unk2(&self) -> c_uchar

Source

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

Source

pub fn unk9(&self) -> c_uchar

Source

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

Source

pub fn disableOffscreenDamage(&self) -> c_uchar

Source

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

Source

pub fn unk8(&self) -> c_uchar

Source

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

Source

pub fn isSingleButtonMode(&self) -> c_uchar

Source

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

Source

pub fn isDisablePause(&self) -> c_uchar

Source

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

Source

pub fn unk7(&self) -> c_uchar

Source

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

Source

pub fn isCreateHUD(&self) -> c_uchar

Source

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

Source

pub fn unk5(&self) -> c_uchar

Source

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

Source

pub fn isShowScore(&self) -> c_uchar

Source

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

Source

pub fn isShowAnalogStick(&self) -> c_uchar

Source

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

Source

pub fn isCheckForZRetry(&self) -> c_uchar

Source

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

Source

pub fn isShowZRetry(&self) -> c_uchar

Source

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

Source

pub fn isCheckForLRAStart(&self) -> c_uchar

Source

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

Source

pub fn isShowLRAStart(&self) -> c_uchar

Source

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

Source

pub fn isHidePauseHUD(&self) -> c_uchar

Source

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

Source

pub fn timerRunOnPause(&self) -> c_uchar

Source

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

Source

pub fn unk11(&self) -> c_uchar

Source

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

Source

pub fn isCheckStockSteal(&self) -> c_uchar

Source

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

Source

pub fn isRunStockLogic(&self) -> c_uchar

Source

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

Source

pub fn unk10(&self) -> c_uchar

Source

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

Source

pub fn isSkipEndCheck(&self) -> c_uchar

Source

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

Source

pub fn isSkipUnkStockCheck(&self) -> c_uchar

Source

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

Source

pub fn isDisableHit(&self) -> c_uchar

Source

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

Source

pub fn unk12(&self) -> c_uchar

Source

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

Source

pub fn new_bitfield_1( matchType: c_uchar, hudPos: c_uchar, timer: c_uchar, timer_unk2: c_uchar, unk4: c_uchar, hideReady: c_uchar, hideGo: c_uchar, isDisableMusic: c_uchar, unk3: c_uchar, timer_unk: c_uchar, unk2: c_uchar, unk9: c_uchar, disableOffscreenDamage: c_uchar, unk8: c_uchar, isSingleButtonMode: c_uchar, isDisablePause: c_uchar, unk7: c_uchar, isCreateHUD: c_uchar, unk5: c_uchar, isShowScore: c_uchar, isShowAnalogStick: c_uchar, isCheckForZRetry: c_uchar, isShowZRetry: c_uchar, isCheckForLRAStart: c_uchar, isShowLRAStart: c_uchar, isHidePauseHUD: c_uchar, timerRunOnPause: c_uchar, unk11: c_uchar, isCheckStockSteal: c_uchar, isRunStockLogic: c_uchar, unk10: c_uchar, isSkipEndCheck: c_uchar, isSkipUnkStockCheck: c_uchar, isDisableHit: c_uchar, unk12: c_uchar, ) -> __BindgenBitfieldUnit<[u8; 6], u8>

Source

pub fn timerSeconds(&self) -> c_int

Source

pub fn set_timerSeconds(&mut self, val: c_int)

Source

pub fn new_bitfield_2( timerSeconds: c_int, ) -> __BindgenBitfieldUnit<[u8; 4], u32>

Source

pub fn itemSwitch(&self) -> c_ulonglong

Source

pub fn set_itemSwitch(&mut self, val: c_ulonglong)

Source

pub fn new_bitfield_3( itemSwitch: c_ulonglong, ) -> __BindgenBitfieldUnit<[u8; 8], u64>

Trait Implementations§

Source§

impl Clone for MatchInit

Source§

fn clone(&self) -> MatchInit

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 MatchInit

Source§

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

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

impl Copy for MatchInit

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.