CommonLibSSE (Parapets fork)
Loading...
Searching...
No Matches
TESKey.h
Go to the documentation of this file.
1#pragma once
2
3#include "RE/F/FormTypes.h"
5
6namespace RE
7{
8 class TESKey : public TESObjectMISC
9 {
10 public:
11 inline static constexpr auto RTTI = RTTI_TESKey;
12 inline static constexpr auto FORMTYPE = FormType::KeyMaster;
13
15 {
16 enum RecordFlag : std::uint32_t
17 {
18 kNonPlayable = 1 << 2,
19 kDeleted = 1 << 5,
20 kIgnored = 1 << 12
21 };
22 };
23
24 ~TESKey() override; // 00
25
26 // override (BGSKeywordForm)
27 [[nodiscard]] BGSKeyword* GetDefaultKeyword() const override; // 05
28 };
29 static_assert(sizeof(TESKey) == 0x100);
30}
Definition: BGSKeyword.h:10
Definition: TESKey.h:9
static constexpr auto RTTI
Definition: TESKey.h:11
BGSKeyword * GetDefaultKeyword() const override
~TESKey() override
static constexpr auto FORMTYPE
Definition: TESKey.h:12
Definition: TESObjectMISC.h:28
Definition: AbsorbEffect.h:6
constexpr REL::ID RTTI_TESKey
Definition: Offsets_RTTI.h:6008
Definition: TESKey.h:15
RecordFlag
Definition: TESKey.h:17
@ kNonPlayable
Definition: TESKey.h:18
@ kIgnored
Definition: TESKey.h:20
@ kDeleted
Definition: TESKey.h:19