docs: add plugin setup guide
This commit is contained in:
@@ -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);
|
||||
}
|
||||
Reference in New Issue
Block a user