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,29 @@
#pragma once
#include "RE/B/BSFixedString.h"
#include "RE/B/BSIntrusiveRefCounted.h"
namespace RE
{
class BSStorage;
namespace REFREventCallbacks
{
class IEventCallback :
public BSIntrusiveRefCounted // 00
{
public:
static constexpr auto RTTI{ RTTI::REFREventCallbacks__IEventCallback };
static constexpr auto VTABLE{ VTABLE::REFREventCallbacks__IEventCallback };
virtual ~IEventCallback(); // 00
// add
virtual void operator()() = 0; // 01
virtual bool Save(BSStorage& a_storage); // 02
virtual const BSFixedString* GetType() = 0; // 03
virtual bool Load(const BSStorage& a_storage); // 04
};
static_assert(sizeof(IEventCallback) == 0x10);
}
}