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,30 @@
#pragma once
#include "RE/B/BSPointerHandle.h"
#include "RE/T/TESObjectREFR.h"
namespace RE
{
class BGSHackTerminal
{
public:
BGSHackTerminal(TESObjectREFR* a_terminal, std::uint32_t a_success) :
success(a_success)
{
if (a_terminal) {
terminal = a_terminal->GetHandle();
}
}
[[nodiscard]] static std::uint32_t EVENT_INDEX()
{
static REL::Relocation<std::uint32_t*> eventIdx{ ID::BGSHackTerminal::EventIndex };
return *eventIdx;
}
// members
ObjectRefHandle terminal; // 00
std::uint32_t success; // 04
};
static_assert(sizeof(BGSHackTerminal) == 0x08);
}