From 1e72d8a6c5560cb95aa2fb1961b2c13e4d685d48 Mon Sep 17 00:00:00 2001 From: Qudix <17361645+Qudix@users.noreply.github.com> Date: Sat, 2 Nov 2024 21:03:39 -0500 Subject: [PATCH] feat: `Events` --- include/RE/E/Events.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/include/RE/E/Events.h b/include/RE/E/Events.h index 725e9d0f..887c3c6f 100644 --- a/include/RE/E/Events.h +++ b/include/RE/E/Events.h @@ -233,6 +233,20 @@ namespace RE } }; + struct BGSAppPausedEvent + { + [[nodiscard]] static BSTEventSource* GetEventSource() + { + using func_t = decltype(&BGSAppPausedEvent::GetEventSource); + static REL::Relocation func{ REL::ID(167011) }; + return func(); + } + + // members + bool paused; // 00 + }; + static_assert(sizeof(BGSAppPausedEvent) == 0x1); + struct BGSCellGridLoadEvent { [[nodiscard]] static BSTEventSource* GetEventSource()