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
namespace RE
{
class __declspec(novtable) BSAwardsSystemUtility
{
public:
static constexpr auto RTTI{ RTTI::BSAwardsSystemUtility };
static constexpr auto VTABLE{ VTABLE::BSAwardsSystemUtility };
virtual ~BSAwardsSystemUtility() {} // 00
[[nodiscard]] static BSAwardsSystemUtility& GetSingleton()
{
using func_t = decltype(&BSAwardsSystemUtility::GetSingleton);
static REL::Relocation<func_t> func{ ID::BSAwardsSystemUtility::Singleton };
return func();
}
// add
virtual void DoInitialize() { return; } // 01
virtual void DoClearAward([[maybe_unused]] std::int32_t a_id) { return; } // 02
virtual void DoDestroy() { return; } // 03
virtual void DoRegister() { return; } // 04
virtual void DoUnlockAward([[maybe_unused]] std::int32_t a_id) { return; } // 05
virtual bool DoGetUltimateAwardEarned() const { return false; } // 06
};
static_assert(sizeof(BSAwardsSystemUtility) == 0x8);
}