forked from Ryan-rsm-McKenzie/CommonLibSSE
-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #137 from digital-apple/dev
Implement QuickSaveLoadHandler
- Loading branch information
Showing
2 changed files
with
30 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
#pragma once | ||
|
||
#include "RE/M/MenuEventHandler.h" | ||
|
||
namespace RE | ||
{ | ||
class ButtonEvent; | ||
class InputEvent; | ||
class KinectEvent; | ||
class MouseMoveEvent; | ||
class ThumbstickEvent; | ||
|
||
class QuickSaveLoadHandler : public MenuEventHandler | ||
{ | ||
public: | ||
inline static constexpr auto RTTI = RTTI_QuickSaveLoadHandler; | ||
inline static constexpr auto VTABLE = VTABLE_QuickSaveLoadHandler; | ||
|
||
~QuickSaveLoadHandler() override; // 00 | ||
|
||
// override (MenuEventHandler) | ||
bool CanProcess(InputEvent* a_event) override; // 01 | ||
bool ProcessKinect(KinectEvent* a_event) override; // 02 | ||
bool ProcessThumbstick(ThumbstickEvent* a_event) override; // 03 | ||
bool ProcessMouseMove(MouseMoveEvent* a_event) override; // 04 | ||
bool ProcessButton(ButtonEvent* a_event) override; // 05 | ||
}; | ||
static_assert(sizeof(QuickSaveLoadHandler) == 0x10); | ||
} |