Struct brawllib_rs::high_level_fighter::HitBoxValues
source · pub struct HitBoxValues {Show 35 fields
pub hitbox_index: u8,
pub rehit_hitbox_index: u8,
pub damage: i32,
pub trajectory: i32,
pub weight_knockback: i16,
pub kbg: i16,
pub shield_damage: i16,
pub bkb: i16,
pub size: f32,
pub tripping_rate: f32,
pub hitlag_mult: f32,
pub di_mult: f32,
pub effect: Effect,
pub sound_level: u8,
pub ground: bool,
pub aerial: bool,
pub ty: u8,
pub clang: bool,
pub direct: bool,
pub rehit_rate: i32,
pub angle_flipping: AngleFlip,
pub stretches: bool,
pub can_hit_multiplayer_characters: bool,
pub can_hit_sse_enemies: bool,
pub can_hit_damageable_ceilings: bool,
pub can_hit_damageable_walls: bool,
pub can_hit_damageable_floors: bool,
pub enabled: bool,
pub can_be_shielded: bool,
pub can_be_reflected: bool,
pub can_be_absorbed: bool,
pub can_hit_gripped_character: bool,
pub ignore_invincibility: bool,
pub freeze_frame_disable: bool,
pub flinchless: bool,
}
Fields§
§hitbox_index: u8
§rehit_hitbox_index: u8
§damage: i32
§trajectory: i32
§weight_knockback: i16
§kbg: i16
§shield_damage: i16
§bkb: i16
§size: f32
§tripping_rate: f32
§hitlag_mult: f32
§di_mult: f32
§effect: Effect
§sound_level: u8
§ground: bool
§aerial: bool
§ty: u8
§clang: bool
§direct: bool
§rehit_rate: i32
§angle_flipping: AngleFlip
§stretches: bool
§can_hit_multiplayer_characters: bool
§can_hit_sse_enemies: bool
§can_hit_damageable_ceilings: bool
§can_hit_damageable_walls: bool
§can_hit_damageable_floors: bool
§enabled: bool
§can_be_shielded: bool
§can_be_reflected: bool
§can_be_absorbed: bool
§can_hit_gripped_character: bool
§ignore_invincibility: bool
§freeze_frame_disable: bool
§flinchless: bool
Implementations§
source§impl HitBoxValues
impl HitBoxValues
pub fn from_hitbox(args: &HitBoxArguments) -> HitBoxValues
pub fn from_special_hitbox(
special_args: &SpecialHitBoxArguments
) -> HitBoxValues
Trait Implementations§
source§impl Clone for HitBoxValues
impl Clone for HitBoxValues
source§fn clone(&self) -> HitBoxValues
fn clone(&self) -> HitBoxValues
Returns a copy 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 more