CommonLibVR
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  inline static constexpr auto VTABLE = VTABLE_MouseMoveEvent;
12 
13  ~MouseMoveEvent() override; // 00
14 
15  void Init(std::int32_t a_mouseInputX, std::int32_t a_mouseInputY)
16  {
17  mouseInputX = a_mouseInputX;
18  mouseInputY = a_mouseInputY;
19  }
20 
21  void Init(std::int32_t a_mouseInputX, std::int32_t a_mouseInputY, const BSFixedString& a_userEvent)
22  {
23  mouseInputX = a_mouseInputX;
24  mouseInputY = a_mouseInputY;
25  userEvent = a_userEvent;
26  }
27 
28  // members
29  std::int32_t mouseInputX; // 28
30  std::int32_t mouseInputY; // 2C
31  private:
32  KEEP_FOR_RE()
33  };
34  static_assert(sizeof(MouseMoveEvent) == 0x30);
35 }
#define KEEP_FOR_RE()
Definition: PCH.h:713
Definition: IDEvent.h:9
BSFixedString userEvent
Definition: IDEvent.h:23
Definition: MouseMoveEvent.h:8
void Init(std::int32_t a_mouseInputX, std::int32_t a_mouseInputY, const BSFixedString &a_userEvent)
Definition: MouseMoveEvent.h:21
~MouseMoveEvent() override
void Init(std::int32_t a_mouseInputX, std::int32_t a_mouseInputY)
Definition: MouseMoveEvent.h:15
std::int32_t mouseInputX
Definition: MouseMoveEvent.h:29
std::int32_t mouseInputY
Definition: MouseMoveEvent.h:30
static constexpr auto RTTI
Definition: MouseMoveEvent.h:10
static constexpr auto VTABLE
Definition: MouseMoveEvent.h:11
Definition: AbsorbEffect.h:6
constexpr REL::ID RTTI_MouseMoveEvent(static_cast< std::uint64_t >(690300))
constexpr std::array< REL::ID, 1 > VTABLE_MouseMoveEvent
Definition: Offsets_VTABLE.h:12038