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,26 @@
#pragma once
#include "RE/B/BSExtraData.h"
namespace RE
{
class __declspec(novtable) ExtraHealth :
public BSExtraData // 00
{
public:
static constexpr auto RTTI{ RTTI::ExtraHealth };
static constexpr auto VTABLE{ VTABLE::ExtraHealth };
static constexpr auto TYPE{ EXTRA_DATA_TYPE::kHealth };
ExtraHealth(float a_health) :
BSExtraData(TYPE),
health(a_health)
{
REX::EMPLACE_VTABLE(this);
}
// members
float health; // 18
};
static_assert(sizeof(ExtraHealth) == 0x20);
}