CommonLibSSE (Parapets fork)
MouseMoveEvent.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include "RE/I/IDEvent.h"
4 
5 namespace RE
6 {
7  class MouseMoveEvent : public IDEvent
8  {
9  public:
10  inline static constexpr auto RTTI = RTTI_MouseMoveEvent;
11 
12  ~MouseMoveEvent() override; // 00
13 
14  void Init(std::int32_t a_mouseInputX, std::int32_t a_mouseInputY)
15  {
16  mouseInputX = a_mouseInputX;
17  mouseInputY = a_mouseInputY;
18  }
19 
20  void Init(std::int32_t a_mouseInputX, std::int32_t a_mouseInputY, const BSFixedString& a_userEvent)
21  {
22  mouseInputX = a_mouseInputX;
23  mouseInputY = a_mouseInputY;
24  userEvent = a_userEvent;
25  }
26 
27  // members
28  std::int32_t mouseInputX; // 28
29  std::int32_t mouseInputY; // 2C
30  };
31  static_assert(sizeof(MouseMoveEvent) == 0x30);
32 }
Definition: IDEvent.h:9
BSFixedString userEvent
Definition: IDEvent.h:22
Definition: MouseMoveEvent.h:8
void Init(std::int32_t a_mouseInputX, std::int32_t a_mouseInputY, const BSFixedString &a_userEvent)
Definition: MouseMoveEvent.h:20
~MouseMoveEvent() override
void Init(std::int32_t a_mouseInputX, std::int32_t a_mouseInputY)
Definition: MouseMoveEvent.h:14
std::int32_t mouseInputX
Definition: MouseMoveEvent.h:28
std::int32_t mouseInputY
Definition: MouseMoveEvent.h:29
static constexpr auto RTTI
Definition: MouseMoveEvent.h:10
Definition: AbsorbEffect.h:6
constexpr REL::ID RTTI_MouseMoveEvent
Definition: Offsets_RTTI.h:5190