#[repr(C)]pub struct Playerblock {Show 41 fields
pub state: c_int,
pub ft_kind: c_int,
pub type_: c_int,
pub isTransformed: [u8_; 2],
pub tagPos: Vec3,
pub spawnPos: Vec3,
pub respawnPos: Vec3,
pub x34: c_int,
pub x38: c_int,
pub x3C: c_int,
pub initialFacing: f32,
pub costume: u8_,
pub x45: u8_,
pub tint: u8_,
pub team: u8_,
pub controller: u8_,
pub cpuLv: u8_,
pub cpuKind: u8_,
pub handicap: u8_,
pub x50: f32,
pub attack: f32,
pub defense: f32,
pub scale: f32,
pub damage: u16_,
pub initialDamage: u16_,
pub stamina: u16_,
pub falls: [c_int; 2],
pub ko: [c_int; 6],
pub x88: c_int,
pub selfDestructs: u16_,
pub stocks: u8_,
pub coins_curr: c_int,
pub coins_total: c_int,
pub x98: c_int,
pub x9c: c_int,
pub stickSmashes: [c_int; 2],
pub tag: c_int,
pub flags2: u8_,
pub flags3: u8_,
pub fighterData: *mut GOBJ,
pub fighterDataSub: *mut GOBJ,
}Expand description
Structs
Fields§
§state: c_int§ft_kind: c_int§type_: c_int§isTransformed: [u8_; 2]§tagPos: Vec3§spawnPos: Vec3§respawnPos: Vec3§x34: c_int§x38: c_int§x3C: c_int§initialFacing: f32§costume: u8_§x45: u8_§tint: u8_§team: u8_§controller: u8_§cpuLv: u8_§cpuKind: u8_§handicap: u8_§x50: f32§attack: f32§defense: f32§scale: f32§damage: u16_§initialDamage: u16_§stamina: u16_§falls: [c_int; 2]§ko: [c_int; 6]§x88: c_int§selfDestructs: u16_§stocks: u8_§coins_curr: c_int§coins_total: c_int§x98: c_int§x9c: c_int§stickSmashes: [c_int; 2]§tag: c_int§flags2: u8_§flags3: u8_§fighterData: *mut GOBJ§fighterDataSub: *mut GOBJTrait Implementations§
Source§impl Clone for Playerblock
impl Clone for Playerblock
Source§fn clone(&self) -> Playerblock
fn clone(&self) -> Playerblock
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for Playerblock
impl Debug for Playerblock
impl Copy for Playerblock
Auto Trait Implementations§
impl Freeze for Playerblock
impl RefUnwindSafe for Playerblock
impl !Send for Playerblock
impl !Sync for Playerblock
impl Unpin for Playerblock
impl UnwindSafe for Playerblock
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