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,22 @@
#pragma once
#include "RE/H/hknpConvexShape.h"
namespace RE
{
class __declspec(novtable) hknpSphereShape :
public hknpConvexShape
{
public:
static constexpr auto RTTI{ RTTI::hknpSphereShape };
static constexpr auto VTABLE{ VTABLE::hknpSphereShape };
static hknpSphereShape* CreateSphereShape(const hkVector4f& a_center, float a_radius)
{
using func_t = decltype(&hknpSphereShape::CreateSphereShape);
static REL::Relocation<func_t> func{ ID::hknpSphereShape::CreateSphereShape };
return func(a_center, a_radius);
}
};
static_assert(sizeof(hknpSphereShape) == 0x40);
}