docs: add plugin setup guide
This commit is contained in:
@@ -0,0 +1,51 @@
|
||||
#pragma once
|
||||
|
||||
#include "RE/B/BGSEquipType.h"
|
||||
#include "RE/B/BGSMenuDisplayObject.h"
|
||||
#include "RE/T/TESDescription.h"
|
||||
#include "RE/T/TESForm.h"
|
||||
#include "RE/T/TESFullName.h"
|
||||
|
||||
namespace RE
|
||||
{
|
||||
class __declspec(novtable) TESShout :
|
||||
public TESForm, // 00
|
||||
public TESFullName, // 20
|
||||
public BGSMenuDisplayObject, // 30
|
||||
public BGSEquipType, // 40
|
||||
public TESDescription // 50
|
||||
{
|
||||
public:
|
||||
static constexpr auto RTTI{ RTTI::TESShout };
|
||||
static constexpr auto VTABLE{ VTABLE::TESShout };
|
||||
static constexpr auto FORM_ID{ ENUM_FORM_ID::kSHOU };
|
||||
|
||||
class Variation
|
||||
{
|
||||
public:
|
||||
// members
|
||||
TESWordOfPower* word; // 00
|
||||
SpellItem* spell; // 08
|
||||
float recoveryTime; // 10
|
||||
};
|
||||
static_assert(sizeof(Variation) == 0x18);
|
||||
|
||||
struct VariationIDs
|
||||
{
|
||||
enum VariationID : std::uint32_t
|
||||
{
|
||||
kNone = static_cast<std::underlying_type_t<VariationID>>(-1),
|
||||
kOne = 0,
|
||||
kTwo,
|
||||
kThree,
|
||||
|
||||
kTotal
|
||||
};
|
||||
};
|
||||
using VariationID = VariationIDs::VariationID;
|
||||
|
||||
// members
|
||||
Variation variations[3]; // 68
|
||||
};
|
||||
static_assert(sizeof(TESShout) == 0xB0);
|
||||
}
|
||||
Reference in New Issue
Block a user