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,29 @@
#pragma once
#include "RE/H/hkBaseObject.h"
#include "RE/H/hkSimdFloat32.h"
namespace RE
{
class hknpCollisionResult;
class __declspec(novtable) hknpCollisionQueryCollector :
public hkBaseObject // 00
{
public:
static constexpr auto RTTI{ RTTI::hknpCollisionQueryCollector };
static constexpr auto VTABLE{ VTABLE::hknpCollisionQueryCollector };
// add
virtual void Reset() = 0; // 0x08 [01]
virtual void AddHit(const hknpCollisionResult& a_hit) = 0; // 0x10 [02]
virtual bool HasHit() const = 0; // 0x18 [03]
virtual std::int32_t GetNumHits() const = 0; // 0x20 [04]
virtual const hknpCollisionResult* GetHits() const = 0; // 0x28 [05]
// members
std::int32_t m_hints; // 0x08
hkSimdFloat32 m_earlyOutThreshold; // 0x10
};
static_assert(sizeof(hknpCollisionQueryCollector) == 0x20);
}