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,36 @@
#pragma once
#include "RE/B/BSPointerHandle.h"
#include "RE/N/NiPoint3.h"
#include "RE/N/NiPointer.h"
namespace RE
{
class NiAVObject;
class SpectatorThreatInfo
{
public:
enum class THREAT_LEVEL : std::int32_t
{
kNone = 0,
kMeleeWeapons = 1,
kProjectileWeapons = 2,
kExplosion = 3,
kInsane = 4
};
// members
ActorHandle source; // 00
ActorHandle target; // 04
THREAT_LEVEL threatLevel; // 08
std::time_t lastPerceivedTime; // 10
float radius; // 18
NiPoint3 lastKnownPosSource; // 1C
NiPoint3 lastKnownPosTarget; // 28
bool hasSource; // 34
bool hasTarget; // 35
NiPointer<NiAVObject> debugGeometry; // 38
};
static_assert(sizeof(SpectatorThreatInfo) == 0x40);
}