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
+19
View File
@@ -0,0 +1,19 @@
#pragma once
#include "REX/W32/NT.h"
namespace RE
{
class TLS
{
public:
[[nodiscard]] static TLS* GetSingleton()
{
return *static_cast<TLS**>(REX::W32::NtCurrentTeb()->threadLocalStoragePointer);
}
// members
std::byte pad000[0x830]; // 000
bool consoleMode; // 830
};
}