docs: add plugin setup guide

This commit is contained in:
2026-05-30 18:33:24 +12:00
parent f3db41c402
commit b61043a3fe
1776 changed files with 122386 additions and 2 deletions
@@ -0,0 +1,30 @@
#pragma once
#include "RE/B/BSFixedString.h"
#include "RE/B/BSStringT.h"
#include "RE/B/BaseFormComponent.h"
namespace RE
{
class __declspec(novtable) TESTexture :
public BaseFormComponent // 00
{
public:
static constexpr auto RTTI{ RTTI::TESTexture };
static constexpr auto VTABLE{ VTABLE::TESTexture };
// override (BaseFormComponent)
void InitializeDataComponent() override; // 02
void ClearDataComponent() override { return; } // 03
void CopyComponent(BaseFormComponent*) override; // 06
// add
virtual std::uint32_t GetMaxAllowedSize() { return 0; } // 07
virtual const char* GetAsNormalFile(BSString& a_outFilename) const; // 08
virtual const char* GetDefaultPath() const { return "Textures\\"; } // 09
// members
BSFixedString textureName; // 08
};
static_assert(sizeof(TESTexture) == 0x10);
}