CommonLibSSE (Parapets fork)
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 FORMTYPE = FormType::Keyword;
14
16 {
17 enum RecordFlag : std::uint32_t
18 {
19 kDeleted = 1 << 5,
20 kIgnored = 1 << 12
21 };
22 };
23
24 ~BGSKeyword() override; // 00
25
26 // override (TESForm)
27 bool Load(TESFile* a_mod) override; // 06
28 const char* GetFormEditorID() const override; // 32 - { return formEditorID.c_str(); }
29 bool SetFormEditorID(const char* a_str) override; // 33 - { formEditorID = a_str; }
30
31 // members
33 };
34 static_assert(sizeof(BGSKeyword) == 0x28);
35}
Definition: BGSKeyword.h:10
static constexpr auto RTTI
Definition: BGSKeyword.h:12
static constexpr auto FORMTYPE
Definition: BGSKeyword.h:13
bool Load(TESFile *a_mod) override
bool SetFormEditorID(const char *a_str) override
BSFixedString formEditorID
Definition: BGSKeyword.h:32
const char * GetFormEditorID() const override
~BGSKeyword() override
Definition: TESFile.h:14
Definition: TESForm.h:34
Definition: AbsorbEffect.h:6
constexpr REL::ID RTTI_BGSKeyword
Definition: Offsets_RTTI.h:1313
Definition: BGSKeyword.h:16
RecordFlag
Definition: BGSKeyword.h:18
@ kIgnored
Definition: BGSKeyword.h:20
@ kDeleted
Definition: BGSKeyword.h:19