CommonLibSSE NG
FORM_ENUM_STRING.h
Go to the documentation of this file.
1
#pragma once
2
3
namespace
RE
4
{
5
enum class
FormType
;
6
7
struct
FORM_ENUM_STRING
8
{
9
public
:
10
[[nodiscard]]
static
std::span<FORM_ENUM_STRING, 138>
GetFormEnumString
()
11
{
12
REL::Relocation
<
FORM_ENUM_STRING
(*)[138]> formEnumString{
RELOCATION_ID
(501008, 359120) };
13
return
{ *formEnumString };
14
}
15
16
// members
17
FormType
formType
;
// 00
18
const
char
*
formString
;
// 08
19
std::uint32_t
formCode
;
// 10
20
};
21
static_assert(
sizeof
(
FORM_ENUM_STRING
) == 0x18);
22
}
RELOCATION_ID
#define RELOCATION_ID(a_se, a_ae)
Definition:
PCH.h:724
REL::Relocation
Definition:
Relocation.h:204
RE
Definition:
AbsorbEffect.h:6
RE::FormType
FormType
Definition:
FormTypes.h:139
RE::FORM_ENUM_STRING
Definition:
FORM_ENUM_STRING.h:8
RE::FORM_ENUM_STRING::GetFormEnumString
static std::span< FORM_ENUM_STRING, 138 > GetFormEnumString()
Definition:
FORM_ENUM_STRING.h:10
RE::FORM_ENUM_STRING::formString
const char * formString
Definition:
FORM_ENUM_STRING.h:18
RE::FORM_ENUM_STRING::formType
FormType formType
Definition:
FORM_ENUM_STRING.h:17
RE::FORM_ENUM_STRING::formCode
std::uint32_t formCode
Definition:
FORM_ENUM_STRING.h:19
CommonLibSSE-NG
include
RE
F
FORM_ENUM_STRING.h
Generated by
1.9.1