CommonLibSSE (Parapets fork)
Loading...
Searching...
No Matches
BGSEquipSlot.h
Go to the documentation of this file.
1#pragma once
2
3#include "RE/B/BSTArray.h"
4#include "RE/F/FormTypes.h"
5#include "RE/T/TESForm.h"
6
7namespace RE
8{
9 class BGSEquipSlot : public TESForm
10 {
11 public:
12 inline static constexpr auto RTTI = RTTI_BGSEquipSlot;
13 inline static constexpr auto FORMTYPE = FormType::EquipSlot;
14
15 enum class Flag // DATA
16 {
17 kNone = 0,
18 kUseAllParents = 1 << 0,
19 kParentsOptional = 1 << 1,
20 kItemSlot = 1 << 2
21 };
22
24 {
25 enum RecordFlag : std::uint32_t
26 {
27 kDeleted = 1 << 5,
28 kIgnored = 1 << 12
29 };
30 };
31
32 ~BGSEquipSlot() override; // 00
33
34 // override (TESForm)
35 void InitializeData() override; // 04
36 void ClearData() override; // 05
37 bool Load(TESFile* a_mod) override; // 06
38 void InitItemImpl() override; // 13
39
40 // members
43 std::uint32_t pad3C; // 3C
44 };
45 static_assert(sizeof(BGSEquipSlot) == 0x40);
46}
Definition: BGSEquipSlot.h:10
std::uint32_t pad3C
Definition: BGSEquipSlot.h:43
bool Load(TESFile *a_mod) override
stl::enumeration< Flag, std::uint32_t > flags
Definition: BGSEquipSlot.h:42
void InitItemImpl() override
void ClearData() override
static constexpr auto RTTI
Definition: BGSEquipSlot.h:12
void InitializeData() override
BSTArray< BGSEquipSlot * > parentSlots
Definition: BGSEquipSlot.h:41
static constexpr auto FORMTYPE
Definition: BGSEquipSlot.h:13
~BGSEquipSlot() override
Flag
Definition: BGSEquipSlot.h:16
Definition: BSTArray.h:377
Definition: TESFile.h:14
Definition: TESForm.h:34
Definition: PCH.h:216
Definition: AbsorbEffect.h:6
constexpr REL::ID RTTI_BGSEquipSlot
Definition: Offsets_RTTI.h:1294
Definition: BGSEquipSlot.h:24
RecordFlag
Definition: BGSEquipSlot.h:26
@ kDeleted
Definition: BGSEquipSlot.h:27
@ kIgnored
Definition: BGSEquipSlot.h:28