Files
Commonwealth-Online-Public/plugin/lib/commonlibf4/include/RE/S/SpectatorThreatInfo.h
T
2026-05-30 18:33:24 +12:00

37 lines
908 B
C++

#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);
}