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 
18  MenuEventHandler() = default;
19  virtual ~MenuEventHandler() = default; // 00
20 
21  virtual bool CanProcess(InputEvent* a_event) = 0; // 01
22  virtual bool ProcessKinect(KinectEvent* a_event); // 02 - { return false; }
23  virtual bool ProcessThumbstick(ThumbstickEvent* a_event); // 03 - { return false; }
24  virtual bool ProcessMouseMove(MouseMoveEvent* a_event); // 04 - { return false; }
25  virtual bool ProcessButton(ButtonEvent* a_event); // 05 - { return false; }
26 
27  // members
28  bool registered; // 0C
29  std::uint8_t unk0D; // 0D
30  std::uint16_t pad0E; // 0E
31  };
32  static_assert(sizeof(MenuEventHandler) == 0x10);
33 }
Definition: ButtonEvent.h:10
Definition: InputEvent.h:22
Definition: KinectEvent.h:9
Definition: MenuEventHandler.h:14
virtual ~MenuEventHandler()=default
virtual bool ProcessButton(ButtonEvent *a_event)
bool registered
Definition: MenuEventHandler.h:28
MenuEventHandler()=default
std::uint16_t pad0E
Definition: MenuEventHandler.h:30
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:29
Definition: MouseMoveEvent.h:8
Definition: ThumbstickEvent.h:8
Definition: AbsorbEffect.h:6
constexpr REL::ID RTTI_MenuEventHandler
Definition: Offsets_RTTI.h:5154
Definition: BSIntrusiveRefCounted.h:8