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

35 lines
968 B
C++

#pragma once
#include "RE/B/BSPointerHandle.h"
#include "RE/B/BSSoundHandle.h"
#include "RE/N/NiPointer.h"
#include "RE/T/TESObjectREFR.h"
namespace RE
{
class NiLight;
class __declspec(novtable) Hazard :
public TESObjectREFR // 000
{
public:
static constexpr auto RTTI{ RTTI::Hazard };
static constexpr auto VTABLE{ VTABLE::Hazard };
static constexpr auto FORM_ID{ ENUM_FORM_ID::kPHZD };
// members
void* hazardDBHandle; // 110 - TODO
ActorHandle ownerActor; // 118
float age; // 11C
float lifetime; // 120
float targetTimer; // 124
float radius; // 128
float magnitude; // 12C
BGSHazard* hazard; // 130
NiPointer<NiLight> light; // 138
BSSoundHandle sound; // 140
std::uint32_t flags; // 148
};
static_assert(sizeof(Hazard) == 0x150);
}