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
+38
View File
@@ -0,0 +1,38 @@
#pragma once
namespace RE
{
enum class SEX : std::uint32_t
{
kNone = static_cast<std::underlying_type_t<SEX>>(-1),
kMale = 0x0,
kFemale = 0x1,
kTotal = 0x2
};
}
template <>
struct std::formatter<RE::SEX>
{
template <class ParseContext>
constexpr auto parse(ParseContext& a_ctx)
{
return a_ctx.begin();
}
template <class FormatContext>
constexpr auto format(const RE::SEX& a_sex, FormatContext& a_ctx) const
{
switch (a_sex) {
case RE::SEX::kNone:
return format_to(a_ctx.out(), "None");
case RE::SEX::kMale:
return format_to(a_ctx.out(), "Male");
case RE::SEX::kFemale:
return format_to(a_ctx.out(), "Female");
}
return format_to(a_ctx.out(), "Unknown");
}
};