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/P/PipboySubMenu.h"
namespace RE
{
class __declspec(novtable) PipboyInventoryMenu :
public PipboySubMenu // 00
{
public:
static constexpr auto RTTI{ RTTI::PipboyInventoryMenu };
static constexpr auto VTABLE{ VTABLE::PipboyInventoryMenu };
// override (PipboySubMenu)
void UpdateData() override
{
using func_t = decltype(&PipboyInventoryMenu::UpdateData);
static REL::Relocation<func_t> func{ ID::PipboyInventoryMenu::UpdateData };
return func(this);
}
void SetQuickkey(int a_selectedIndex, int a_quickkeyIndex)
{
using func_t = decltype(&PipboyInventoryMenu::SetQuickkey);
static REL::Relocation<func_t> func{ ID::PipboyInventoryMenu::SetQuickkey };
return func(this, a_selectedIndex, a_quickkeyIndex);
}
};
static_assert(sizeof(PipboyInventoryMenu) == 0x18);
}