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