docs: add plugin setup guide
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
#pragma once
|
||||
|
||||
#include "RE/B/BSTEvent.h"
|
||||
|
||||
namespace RE
|
||||
{
|
||||
class LocksPicked
|
||||
{
|
||||
public:
|
||||
class Event
|
||||
{
|
||||
public:
|
||||
};
|
||||
static_assert(std::is_empty_v<LocksPicked::Event>);
|
||||
|
||||
[[nodiscard]] static BSTEventSource<LocksPicked::Event>* GetEventSource()
|
||||
{
|
||||
using func_t = decltype(&LocksPicked::GetEventSource);
|
||||
static REL::Relocation<func_t> func{ ID::LocksPicked::GetEventSource };
|
||||
return func();
|
||||
}
|
||||
};
|
||||
static_assert(std::is_empty_v<LocksPicked>);
|
||||
}
|
||||
Reference in New Issue
Block a user