CommonLibSSE (powerof3)
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 inline static constexpr auto VTABLE = VTABLE_AttackBlockHandler;
12
13 enum class AttackType : std::uint8_t
14 {
15 kRight = 0,
16 kLeft = 1,
17 kDual = 2
18 };
19
20 virtual ~AttackBlockHandler(); // 00
21
22 // override (PlayerInputHandler)
23 virtual bool CanProcess(InputEvent* a_event) override; // 01
24 virtual void ProcessButton(ButtonEvent* a_event, PlayerControlsData* a_data) override; // 04
25 virtual void UpdateHeldStateActive(const ButtonEvent* a_event) override; // 05
26 virtual void SetHeldStateActive(bool a_flag) override; // 06
27
28 // members
29 std::uint32_t heldTimeMs; // 18
30 std::uint32_t unk1C; // 1C
33 std::uint8_t pad29; // 29
34 std::uint16_t pad2A; // 2A
35 std::uint8_t attackCount; // 2C
37 std::uint32_t pad34; // 34
39 bool ignore; // 40
40 bool unk41; // 41
41 bool heldLeft; // 42
42 bool heldRight; // 43
43 std::uint32_t unk44; // 44
44 };
45 static_assert(sizeof(AttackBlockHandler) == 0x48);
46}
Definition ButtonEvent.h:11
Definition HeldStateHandler.h:8
Definition InputEvent.h:25
Definition PlayerControlsData.h:8
Definition AbsorbEffect.h:6
constexpr REL::ID RTTI_AttackBlockHandler(static_cast< std::uint64_t >(687060))
constexpr std::array< REL::ID, 1 > VTABLE_AttackBlockHandler
Definition Offsets_VTABLE.h:7422
Definition AttackBlockHandler.h:8
float subsequentPowerAttackDelay
Definition AttackBlockHandler.h:38
std::uint8_t pad29
Definition AttackBlockHandler.h:33
bool heldLeft
Definition AttackBlockHandler.h:41
static constexpr auto VTABLE
Definition AttackBlockHandler.h:11
AttackType attackType
Definition AttackBlockHandler.h:32
std::uint32_t unk1C
Definition AttackBlockHandler.h:30
float initialPowerAttackDelay
Definition AttackBlockHandler.h:36
bool unk41
Definition AttackBlockHandler.h:40
virtual ~AttackBlockHandler()
std::uint32_t pad34
Definition AttackBlockHandler.h:37
virtual void ProcessButton(ButtonEvent *a_event, PlayerControlsData *a_data) override
bool ignore
Definition AttackBlockHandler.h:39
bool heldRight
Definition AttackBlockHandler.h:42
virtual void SetHeldStateActive(bool a_flag) override
BSFixedString controlID
Definition AttackBlockHandler.h:31
std::uint32_t heldTimeMs
Definition AttackBlockHandler.h:29
virtual bool CanProcess(InputEvent *a_event) override
std::uint32_t unk44
Definition AttackBlockHandler.h:43
std::uint16_t pad2A
Definition AttackBlockHandler.h:34
static constexpr auto RTTI
Definition AttackBlockHandler.h:10
AttackType
Definition AttackBlockHandler.h:14
virtual void UpdateHeldStateActive(const ButtonEvent *a_event) override
std::uint8_t attackCount
Definition AttackBlockHandler.h:35