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,32 @@
#pragma once
namespace RE
{
class __declspec(novtable) SavefileMetadata
{
public:
void FillDataFromFileName(const char* a_saveName)
{
using func_t = decltype(&SavefileMetadata::FillDataFromFileName);
REL::Relocation<func_t> func{ ID::SavefileMetadata::FillDataFromFileName };
return func(this, a_saveName);
}
// members
char fileNameA[260]; // 00
REX::W32::FILETIME creationTimeStamp; // 104
std::uint64_t playerLevel; // 110
std::uint32_t filenameVersion; // 118
std::uint32_t saveGameNumber; // 11C
std::uint64_t playerID; // 120
BSString playerName; // 128
BSString playerLocID; // 138
BSString playTime; // 148
bool isValid; // 158
bool hasSaveNumber; // 159
bool needsSync; // 15A
bool modded; // 15B
bool survival; // 15C
};
static_assert(sizeof(SavefileMetadata) == 0x160);
}