CommonLibSSE NG
Loading...
Searching...
No Matches
AttackBlockHandler.h
Go to the documentation of this file.
1#pragma once
2
4
5namespace RE
6{
8 {
9 public:
10 inline static constexpr auto RTTI = RTTI_AttackBlockHandler;
11
12 enum class AttackType : std::uint8_t
13 {
14 kRight = 0,
15 kLeft = 1,
16 kDual = 2
17 };
18
19 ~AttackBlockHandler() override; // 00
20
21 // override (PlayerInputHandler)
22 bool CanProcess(InputEvent* a_event) override; // 01
23 void ProcessButton(ButtonEvent* a_event, PlayerControlsData* a_data) override; // 04
24 void UpdateHeldStateActive(const ButtonEvent* a_event) override; // 05
25 void SetHeldStateActive(bool a_flag) override; // 06
26
27 // members
28 std::uint32_t heldTimeMs; // 18
29 std::uint32_t unk1C; // 1C
32 std::uint8_t pad29; // 29
33 std::uint16_t pad2A; // 2A
34 std::uint8_t attackCount; // 2C
36 std::uint32_t pad34; // 34
38 bool ignore; // 40
39 bool unk41; // 41
40 bool heldLeft; // 42
41 bool heldRight; // 43
42 std::uint32_t unk44; // 44
43 };
44 static_assert(sizeof(AttackBlockHandler) == 0x48);
45}
Definition ButtonEvent.h:11
Definition HeldStateHandler.h:8
Definition InputEvent.h:22
Definition PlayerControlsData.h:8
Definition AbsorbEffect.h:6
constexpr REL::VariantID RTTI_AttackBlockHandler(687060, 394909, 0x1f0b658)
Definition AttackBlockHandler.h:8
float subsequentPowerAttackDelay
Definition AttackBlockHandler.h:37
void ProcessButton(ButtonEvent *a_event, PlayerControlsData *a_data) override
std::uint8_t pad29
Definition AttackBlockHandler.h:32
bool heldLeft
Definition AttackBlockHandler.h:40
AttackType attackType
Definition AttackBlockHandler.h:31
void SetHeldStateActive(bool a_flag) override
bool CanProcess(InputEvent *a_event) override
std::uint32_t unk1C
Definition AttackBlockHandler.h:29
float initialPowerAttackDelay
Definition AttackBlockHandler.h:35
bool unk41
Definition AttackBlockHandler.h:39
std::uint32_t pad34
Definition AttackBlockHandler.h:36
bool ignore
Definition AttackBlockHandler.h:38
bool heldRight
Definition AttackBlockHandler.h:41
BSFixedString controlID
Definition AttackBlockHandler.h:30
~AttackBlockHandler() override
std::uint32_t heldTimeMs
Definition AttackBlockHandler.h:28
void UpdateHeldStateActive(const ButtonEvent *a_event) override
std::uint32_t unk44
Definition AttackBlockHandler.h:42
std::uint16_t pad2A
Definition AttackBlockHandler.h:33
static constexpr auto RTTI
Definition AttackBlockHandler.h:10
AttackType
Definition AttackBlockHandler.h:13
std::uint8_t attackCount
Definition AttackBlockHandler.h:34