CommonLibSSE (Parapets fork)
Loading...
Searching...
No Matches
BGSNote.h
Go to the documentation of this file.
1#pragma once
2
4#include "RE/B/BSTList.h"
5#include "RE/F/FormTypes.h"
7#include "RE/T/TESFullName.h"
8#include "RE/T/TESIcon.h"
9#include "RE/T/TESModel.h"
10
11namespace RE
12{
13 class BGSNote :
14 public TESBoundObject, // 00
15 public TESModel, // 30
16 public TESFullName, // 58
17 public TESIcon, // 68
18 public BGSPickupPutdownSounds // 78
19 {
20 public:
21 inline static constexpr auto RTTI = RTTI_BGSNote;
22 inline static constexpr auto FORMTYPE = FormType::Note;
23
25 {
26 enum ChangeFlag : std::uint32_t
27 {
28 kNoteRead = (std::uint32_t)1 << 31
29 };
30 };
31
33 {
34 enum RecordFlag : std::uint32_t
35 {
36 };
37 };
38
39 ~BGSNote() override; // 00
40
41 // override (TESBoundObject)
42 void InitializeData() override; // 04
43 void ClearData() override; // 05
44 bool Load(TESFile* a_mod) override; // 06
45 void LoadGame(BGSLoadFormBuffer* a_buf) override; // 0F
46 void Revert(BGSLoadFormBuffer* a_buf) override; // 12
47 void InitItemImpl() override; // 13
48 bool Activate(TESObjectREFR* a_targetRef, TESObjectREFR* a_activatorRef, std::uint8_t a_arg3, TESBoundObject* a_object, std::int32_t a_targetCount) override; // 37
49
50 // members
54 std::uint64_t unkB0; // B0
55 };
56 static_assert(sizeof(BGSNote) == 0xB8);
57}
Definition: BGSNote.h:19
bool Activate(TESObjectREFR *a_targetRef, TESObjectREFR *a_activatorRef, std::uint8_t a_arg3, TESBoundObject *a_object, std::int32_t a_targetCount) override
static constexpr auto FORMTYPE
Definition: BGSNote.h:22
bool Load(TESFile *a_mod) override
void InitializeData() override
static constexpr auto RTTI
Definition: BGSNote.h:21
TESActorBase * unk98
Definition: BGSNote.h:52
void LoadGame(BGSLoadFormBuffer *a_buf) override
void InitItemImpl() override
~BGSNote() override
std::uint64_t unkB0
Definition: BGSNote.h:54
void ClearData() override
TESTopic * unk90
Definition: BGSNote.h:51
void Revert(BGSLoadFormBuffer *a_buf) override
BSSimpleList< TESQuest * > unkA0
Definition: BGSNote.h:53
Definition: BGSPickupPutdownSounds.h:10
Definition: BSTList.h:10
Definition: TESActorBase.h:32
Definition: TESBoundObject.h:24
Definition: TESFile.h:14
Definition: TESFullName.h:9
Definition: TESIcon.h:8
Definition: TESModel.h:16
Definition: TESObjectREFR.h:105
Definition: TESTopic.h:135
Definition: AbsorbEffect.h:6
constexpr REL::ID RTTI_BGSNote
Definition: Offsets_RTTI.h:1352
Definition: BGSNote.h:25
ChangeFlag
Definition: BGSNote.h:27
@ kNoteRead
Definition: BGSNote.h:28
Definition: BGSNote.h:33
RecordFlag
Definition: BGSNote.h:35