docs: add plugin setup guide
This commit is contained in:
@@ -0,0 +1,33 @@
|
||||
#pragma once
|
||||
|
||||
#include "RE/B/BSMaterialObject.h"
|
||||
#include "RE/B/BSTArray.h"
|
||||
#include "RE/T/TESForm.h"
|
||||
#include "RE/T/TESModel.h"
|
||||
|
||||
namespace RE
|
||||
{
|
||||
class __declspec(novtable) BGSMaterialObject :
|
||||
public TESForm, // 00
|
||||
public TESModel, // 20
|
||||
public BSMaterialObject // 50
|
||||
{
|
||||
public:
|
||||
static constexpr auto RTTI{ RTTI::BGSMaterialObject };
|
||||
static constexpr auto VTABLE{ VTABLE::BGSMaterialObject };
|
||||
static constexpr auto FORM_ID{ ENUM_FORM_ID::kMATO };
|
||||
|
||||
class FILE_DATA
|
||||
{
|
||||
public:
|
||||
// members
|
||||
char* buffer; // 00
|
||||
std::uint32_t bufferSize; // 08
|
||||
};
|
||||
static_assert(sizeof(FILE_DATA) == 0x10);
|
||||
|
||||
// members
|
||||
BSTArray<FILE_DATA> fileData; // A0
|
||||
};
|
||||
static_assert(sizeof(BGSMaterialObject) == 0xB8);
|
||||
}
|
||||
Reference in New Issue
Block a user