CommonLibSSE NG
Loading...
Searching...
No Matches
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

 ~AttackBlockHandler () override
 
bool CanProcess (InputEvent *a_event) override
 
void ProcessButton (ButtonEvent *a_event, PlayerControlsData *a_data) override
 
void UpdateHeldStateActive (const ButtonEvent *a_event) override
 
void SetHeldStateActive (bool a_flag) override
 
- Public Member Functions inherited from RE::HeldStateHandler
 ~HeldStateHandler () override
 
virtual void UpdateHeldStateActive (const ButtonEvent *a_event)
 
virtual void SetHeldStateActive (bool a_flag)
 
- Public Member Functions inherited from RE::PlayerInputHandler
virtual ~PlayerInputHandler ()
 
virtual bool CanProcess (InputEvent *a_event)=0
 
virtual void ProcessThumbstick (ThumbstickEvent *a_event, PlayerControlsData *a_data)
 
virtual void ProcessMouseMove (MouseMoveEvent *a_event, PlayerControlsData *a_data)
 
virtual void ProcessButton (ButtonEvent *a_event, 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
 
bool triggerReleaseEvent
 
std::uint16_t pad12
 
std::uint32_t pad14
 
- Public Attributes inherited from RE::PlayerInputHandler
bool inputEventHandlingEnabled
 
std::uint8_t pad09
 
std::uint16_t pad0A
 
std::uint32_t pad0C
 

Static Public Attributes

static constexpr auto RTTI = RTTI_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
 

Member Enumeration Documentation

◆ AttackType

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

Constructor & Destructor Documentation

◆ ~AttackBlockHandler()

RE::AttackBlockHandler::~AttackBlockHandler ( )
override

Member Function Documentation

◆ CanProcess()

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

◆ ProcessButton()

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

Reimplemented from RE::PlayerInputHandler.

◆ SetHeldStateActive()

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

Reimplemented from RE::HeldStateHandler.

◆ UpdateHeldStateActive()

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

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