Module ssbm_utils::enums

source ·

Re-exports§

Modules§

Enums§

  • Individual Action State IDs. See ActionRange for state ranges.
  • Post-frame bitfield 1
  • Hurtbox state. Can be VULNERABLE, INVULNERABLE, or INTANGIBLE
  • L cancel status, active for 1 frame upon landing during an aerial attack, which indicates either SUCCESS or FAILURE. Value is NOT_APPLICABLE at all other times
  • The current direction the character is facing, can be LEFT, RIGHT, or DOWN*. Impl’s TryFrom as melee stores this value as a float for some reason
  • Ports P1-P4. Can be converted to the 0-indexed u8 value via as u8
  • Wrapper enum for ActionState, CharacterState, and any possibly unknown values. Mainly useful via State::from_state_and_char

Traits§

  • Marker trait to differentiate Input bitfields from all other bitfields