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