docs: add plugin setup guide
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
#pragma once
|
||||
|
||||
#include "RE/B/BSFixedString.h"
|
||||
#include "RE/B/BSTHashMap.h"
|
||||
#include "RE/T/TESForm.h"
|
||||
|
||||
namespace RE
|
||||
{
|
||||
class __declspec(novtable) BGSMaterialSwap :
|
||||
public TESForm // 00
|
||||
{
|
||||
public:
|
||||
static constexpr auto RTTI{ RTTI::BGSMaterialSwap };
|
||||
static constexpr auto VTABLE{ VTABLE::BGSMaterialSwap };
|
||||
static constexpr auto FORM_ID{ ENUM_FORM_ID::kMSWP };
|
||||
|
||||
class Entry
|
||||
{
|
||||
public:
|
||||
// members
|
||||
BSFixedString swapMaterial; // 00
|
||||
float colorRemappingIndex; // 08
|
||||
};
|
||||
static_assert(sizeof(Entry) == 0x10);
|
||||
|
||||
// members
|
||||
BSTHashMap<BSFixedString, Entry> swapMap; // 20
|
||||
};
|
||||
static_assert(sizeof(BGSMaterialSwap) == 0x50);
|
||||
}
|
||||
Reference in New Issue
Block a user