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,31 @@
#pragma once
#include "RE/B/BGSTypedKeywordValue.h"
#include "RE/B/BaseFormComponent.h"
namespace RE
{
class __declspec(novtable) BGSAttachParentArray :
public BaseFormComponent, // 00
public BGSTypedKeywordValueArray<KeywordType::kAttachPoint> // 08
{
public:
static constexpr auto RTTI{ RTTI::BGSAttachParentArray };
static constexpr auto VTABLE{ VTABLE::BGSAttachParentArray };
// override (BaseFormComponent)
std::uint32_t GetFormComponentType() const override { return 'APPA'; } // 01
void InitializeDataComponent() override { return; } // 02
void ClearDataComponent() override; // 03
void CopyComponent(BaseFormComponent*) override { return; } // 06
void CopyComponent(BaseFormComponent*, TESForm*) override; // 05
void SetParentGroupNumber(BGSKeyword* a_parent, std::uint32_t a_groupID)
{
using func_t = decltype(&BGSAttachParentArray::SetParentGroupNumber);
static REL::Relocation<func_t> func{ ID::BGSAttachParentArray::SetParentGroupNumber };
return func(this, a_parent, a_groupID);
}
};
static_assert(sizeof(BGSAttachParentArray) == 0x18);
}