CommonLibSSE (powerof3)
MenuEventHandler.h
Go to the documentation of this file.
1 #pragma once
2 
4 
5 namespace RE
6 {
7  class ButtonEvent;
8  class InputEvent;
9  class KinectEvent;
10  class MouseMoveEvent;
11  class ThumbstickEvent;
12 
14  {
15  public:
16  inline static constexpr auto RTTI = RTTI_MenuEventHandler;
17  inline static constexpr auto VTABLE = VTABLE_MenuEventHandler;
18 
19  MenuEventHandler() = default;
20  virtual ~MenuEventHandler() = default; // 00
21 
22  virtual bool CanProcess(InputEvent* a_event) = 0; // 01
23  virtual bool ProcessKinect(KinectEvent* a_event); // 02 - { return false; }
24  virtual bool ProcessThumbstick(ThumbstickEvent* a_event); // 03 - { return false; }
25  virtual bool ProcessMouseMove(MouseMoveEvent* a_event); // 04 - { return false; }
26  virtual bool ProcessButton(ButtonEvent* a_event); // 05 - { return false; }
27 
28  // members
29  bool registered; // 0C
30  std::uint8_t unk0D; // 0D
31  std::uint16_t pad0E; // 0E
32  };
33  static_assert(sizeof(MenuEventHandler) == 0x10);
34 }
Definition: ButtonEvent.h:11
Definition: InputEvent.h:25
Definition: KinectEvent.h:9
Definition: MenuEventHandler.h:14
static constexpr auto VTABLE
Definition: MenuEventHandler.h:17
virtual ~MenuEventHandler()=default
virtual bool ProcessButton(ButtonEvent *a_event)
bool registered
Definition: MenuEventHandler.h:29
MenuEventHandler()=default
std::uint16_t pad0E
Definition: MenuEventHandler.h:31
virtual bool ProcessKinect(KinectEvent *a_event)
virtual bool CanProcess(InputEvent *a_event)=0
virtual bool ProcessMouseMove(MouseMoveEvent *a_event)
virtual bool ProcessThumbstick(ThumbstickEvent *a_event)
static constexpr auto RTTI
Definition: MenuEventHandler.h:16
std::uint8_t unk0D
Definition: MenuEventHandler.h:30
Definition: MouseMoveEvent.h:8
Definition: ThumbstickEvent.h:8
Definition: AbsorbEffect.h:6
constexpr std::array< REL::ID, 1 > VTABLE_MenuEventHandler
Definition: Offsets_VTABLE.h:12002
constexpr REL::ID RTTI_MenuEventHandler(static_cast< std::uint64_t >(686414))
Definition: BSIntrusiveRefCounted.h:8