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,33 @@
#pragma once
#include "RE/B/BSTEvent.h"
#include "Scaleform/G/GFx_Value.h"
namespace RE
{
class PipboyValueChangedEvent;
class __declspec(novtable) PipboySubMenu :
public BSTEventSink<PipboyValueChangedEvent> // 00
{
public:
static constexpr auto RTTI{ RTTI::PipboySubMenu };
static constexpr auto VTABLE{ VTABLE::PipboySubMenu };
// override (BSTEventSink<PipboyValueChangedEvent>)
BSEventNotifyControl ProcessEvent(const PipboyValueChangedEvent& a_event, BSTEventSource<PipboyValueChangedEvent>* a_source) override
{
using func_t = decltype(&PipboySubMenu::ProcessEvent);
static REL::Relocation<func_t> func{ ID::PipboySubMenu::ProcessEvent };
return func(this, a_event, a_source);
}
// add
virtual void UpdateData() = 0; // 02
// members
Scaleform::GFx::Value* dataObj; // 08
Scaleform::GFx::Value* menuObj; // 10
};
static_assert(sizeof(PipboySubMenu) == 0x18);
}