CommonLibSSE NG
Loading...
Searching...
No Matches
BGSKeyword.h
Go to the documentation of this file.
1#pragma once
2
4#include "RE/F/FormTypes.h"
5#include "RE/T/TESForm.h"
6
7namespace RE
8{
9 class BGSKeyword : public TESForm
10 {
11 public:
12 inline static constexpr auto RTTI = RTTI_BGSKeyword;
13 inline static constexpr auto VTABLE = VTABLE_BGSKeyword;
14 inline static constexpr auto FORMTYPE = FormType::Keyword;
15
17 {
18 enum RecordFlag : std::uint32_t
19 {
20 kDeleted = 1 << 5,
21 kIgnored = 1 << 12
22 };
23 };
24
25 ~BGSKeyword() override; // 00
26
27 // override (TESForm)
28 bool Load(TESFile* a_mod) override; // 06
29 const char* GetFormEditorID() const override; // 32 - { return formEditorID.c_str(); }
30 bool SetFormEditorID(const char* a_str) override; // 33 - { formEditorID = a_str; }
31
32 // members
34 };
35 static_assert(sizeof(BGSKeyword) == 0x28);
36}
Definition BGSKeyword.h:10
static constexpr auto RTTI
Definition BGSKeyword.h:12
static constexpr auto FORMTYPE
Definition BGSKeyword.h:14
static constexpr auto VTABLE
Definition BGSKeyword.h:13
bool Load(TESFile *a_mod) override
bool SetFormEditorID(const char *a_str) override
BSFixedString formEditorID
Definition BGSKeyword.h:33
const char * GetFormEditorID() const override
~BGSKeyword() override
Definition TESFile.h:15
Definition TESForm.h:35
Definition AbsorbEffect.h:6
constexpr std::array< REL::VariantID, 1 > VTABLE_BGSKeyword
Definition Offsets_VTABLE.h:875
constexpr REL::VariantID RTTI_BGSKeyword(513911, 392449, 0x1ed9878)
Definition BGSKeyword.h:17
RecordFlag
Definition BGSKeyword.h:19
@ kIgnored
Definition BGSKeyword.h:21
@ kDeleted
Definition BGSKeyword.h:20