#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 debugGeometry; // 38 }; static_assert(sizeof(SpectatorThreatInfo) == 0x40); }