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,24 @@
#pragma once
#include "RE/B/BSTEvent.h"
namespace RE
{
namespace LevelIncrease
{
class Event
{
public:
// members
std::uint32_t newLevel; // 00
};
static_assert(sizeof(Event) == 0x4);
[[nodiscard]] static inline BSTEventSource<LevelIncrease::Event>* GetEventSource()
{
using func_t = decltype(&LevelIncrease::GetEventSource);
static REL::Relocation<func_t> func{ ID::LevelIncrease::GetEventSource };
return func();
}
}
}