CommonLibSSE (powerof3)
RE::AttackBlockHandler Struct Reference

#include <AttackBlockHandler.h>

Inheritance diagram for RE::AttackBlockHandler:
RE::HeldStateHandler RE::PlayerInputHandler

Public Types

enum class  AttackType : std::uint8_t { kRight = 0 , kLeft = 1 , kDual = 2 }
 

Public Member Functions

virtual ~AttackBlockHandler ()
 
virtual bool CanProcess (InputEvent *a_event) override
 
virtual void ProcessButton (ButtonEvent *a_event, PlayerControlsData *a_data) override
 
virtual void UpdateHeldStateActive (const ButtonEvent *a_event) override
 
virtual void SetHeldStateActive (bool a_flag) override
 
- Public Member Functions inherited from RE::HeldStateHandler
 ~HeldStateHandler () override=default
 
- Public Member Functions inherited from RE::PlayerInputHandler
virtual ~PlayerInputHandler ()=default
 
virtual void ProcessThumbstick ([[maybe_unused]] ThumbstickEvent *a_event, [[maybe_unused]] PlayerControlsData *a_data)
 
virtual void ProcessMouseMove ([[maybe_unused]] MouseMoveEvent *a_event, [[maybe_unused]] PlayerControlsData *a_data)
 
virtual void ProcessButton ([[maybe_unused]] ButtonEvent *a_event, [[maybe_unused]] PlayerControlsData *a_data)
 
bool IsInputEventHandlingEnabled () const
 
void SetInputEventHandlingEnabled (bool a_enabled)
 

Public Attributes

std::uint32_t heldTimeMs
 
std::uint32_t unk1C
 
BSFixedString controlID
 
AttackType attackType
 
std::uint8_t pad29
 
std::uint16_t pad2A
 
std::uint8_t attackCount
 
float initialPowerAttackDelay
 
std::uint32_t pad34
 
float subsequentPowerAttackDelay
 
bool ignore
 
bool unk41
 
bool heldLeft
 
bool heldRight
 
std::uint32_t unk44
 
- Public Attributes inherited from RE::HeldStateHandler
bool heldStateActive { false }
 
bool triggerReleaseEvent { false }
 
std::uint16_t pad12 { 0 }
 
std::uint32_t pad14 { 0 }
 
- Public Attributes inherited from RE::PlayerInputHandler
bool inputEventHandlingEnabled { true }
 
std::uint8_t pad09 { 0 }
 
std::uint16_t pad0A { 0 }
 
std::uint32_t pad0C { 0 }
 

Static Public Attributes

static constexpr auto RTTI = RTTI_AttackBlockHandler
 
static constexpr auto VTABLE = VTABLE_AttackBlockHandler
 
- Static Public Attributes inherited from RE::HeldStateHandler
static constexpr auto RTTI = RTTI_HeldStateHandler
 
static constexpr auto VTABLE = VTABLE_HeldStateHandler
 
- Static Public Attributes inherited from RE::PlayerInputHandler
static constexpr auto RTTI = RTTI_PlayerInputHandler
 
static constexpr auto VTABLE = VTABLE_PlayerInputHandler
 

Member Enumeration Documentation

◆ AttackType

enum RE::AttackBlockHandler::AttackType : std::uint8_t
strong
Enumerator
kRight 
kLeft 
kDual 

Constructor & Destructor Documentation

◆ ~AttackBlockHandler()

virtual RE::AttackBlockHandler::~AttackBlockHandler ( )
virtual

Member Function Documentation

◆ CanProcess()

virtual bool RE::AttackBlockHandler::CanProcess ( InputEvent a_event)
overridevirtual

◆ ProcessButton()

virtual void RE::AttackBlockHandler::ProcessButton ( ButtonEvent a_event,
PlayerControlsData a_data 
)
overridevirtual

◆ SetHeldStateActive()

virtual void RE::AttackBlockHandler::SetHeldStateActive ( bool  a_flag)
overridevirtual

Reimplemented from RE::HeldStateHandler.

◆ UpdateHeldStateActive()

virtual void RE::AttackBlockHandler::UpdateHeldStateActive ( const ButtonEvent a_event)
overridevirtual

Reimplemented from RE::HeldStateHandler.

Member Data Documentation

◆ attackCount

std::uint8_t RE::AttackBlockHandler::attackCount

◆ attackType

AttackType RE::AttackBlockHandler::attackType

◆ controlID

BSFixedString RE::AttackBlockHandler::controlID

◆ heldLeft

bool RE::AttackBlockHandler::heldLeft

◆ heldRight

bool RE::AttackBlockHandler::heldRight

◆ heldTimeMs

std::uint32_t RE::AttackBlockHandler::heldTimeMs

◆ ignore

bool RE::AttackBlockHandler::ignore

◆ initialPowerAttackDelay

float RE::AttackBlockHandler::initialPowerAttackDelay

◆ pad29

std::uint8_t RE::AttackBlockHandler::pad29

◆ pad2A

std::uint16_t RE::AttackBlockHandler::pad2A

◆ pad34

std::uint32_t RE::AttackBlockHandler::pad34

◆ RTTI

constexpr auto RE::AttackBlockHandler::RTTI = RTTI_AttackBlockHandler
inlinestaticconstexpr

◆ subsequentPowerAttackDelay

float RE::AttackBlockHandler::subsequentPowerAttackDelay

◆ unk1C

std::uint32_t RE::AttackBlockHandler::unk1C

◆ unk41

bool RE::AttackBlockHandler::unk41

◆ unk44

std::uint32_t RE::AttackBlockHandler::unk44

◆ VTABLE

constexpr auto RE::AttackBlockHandler::VTABLE = VTABLE_AttackBlockHandler
inlinestaticconstexpr

The documentation for this struct was generated from the following file: