docs: add plugin setup guide

This commit is contained in:
2026-05-30 18:33:24 +12:00
parent f3db41c402
commit b61043a3fe
1776 changed files with 122386 additions and 2 deletions
@@ -0,0 +1,31 @@
#pragma once
#include "RE/B/BSInputEventReceiver.h"
#include "RE/B/BSTEvent.h"
namespace RE
{
class MenuOpenCloseEvent;
class IdleInputEvent;
class BSIdleInputWatcher :
public BSInputEventReceiver,
public BSTEventSink<MenuOpenCloseEvent>,
public BSTSingletonSDM<BSIdleInputWatcher>,
public BSTEventSource<IdleInputEvent>
{
public:
[[nodiscard]] static BSIdleInputWatcher* GetSingleton()
{
static REL::Relocation<BSIdleInputWatcher**> singleton{ ID::BSIdleInputWatcher::Singleton };
return *singleton;
}
// members
std::uint64_t lastInputTime; // 78
std::uint8_t disableCount; // 80
bool isInputIdle; // 81
};
static_assert(sizeof(BSIdleInputWatcher) == 0x88);
}