CommonLibSSE NG
Loading...
Searching...
No Matches
BGSSoundDescriptorForm.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 BGSSoundDescriptor;
10
12 public TESForm, // 00
13 public BSISoundDescriptor // 20
14 {
15 public:
16 inline static constexpr auto RTTI = RTTI_BGSSoundDescriptorForm;
17 inline static constexpr auto VTABLE = VTABLE_BGSSoundDescriptorForm;
18 inline static constexpr auto FORMTYPE = FormType::SoundRecord;
19
21 {
22 enum RecordFlag : std::uint32_t
23 {
24 kDeleted = 1 << 5,
25 kIgnored = 1 << 12
26 };
27 };
28
29 ~BGSSoundDescriptorForm() override; // 00
30
31 // override (TESForm)
32 void ClearData() override; // 05
33 bool Load(TESFile* a_mod) override; // 06
34 void InitItemImpl() override; // 13
35 bool SetFormEditorID(const char* a_str) override; // 33
36
37 // add
38 virtual std::uint32_t GetDescriptorType(); // 3B - { return soundDescriptor->GetType(); }
39
40 // members
42 };
43 static_assert(sizeof(BGSSoundDescriptorForm) == 0x30);
44}
Definition BGSSoundDescriptorForm.h:14
virtual std::uint32_t GetDescriptorType()
static constexpr auto FORMTYPE
Definition BGSSoundDescriptorForm.h:18
void InitItemImpl() override
bool Load(TESFile *a_mod) override
~BGSSoundDescriptorForm() override
bool SetFormEditorID(const char *a_str) override
BGSSoundDescriptor * soundDescriptor
Definition BGSSoundDescriptorForm.h:41
static constexpr auto RTTI
Definition BGSSoundDescriptorForm.h:16
static constexpr auto VTABLE
Definition BGSSoundDescriptorForm.h:17
void ClearData() override
Definition BGSSoundDescriptor.h:12
Definition BSISoundDescriptor.h:6
Definition TESFile.h:15
Definition TESForm.h:35
Definition AbsorbEffect.h:6
constexpr REL::VariantID RTTI_BGSSoundDescriptorForm(513996, 393060, 0x1ee3028)
constexpr std::array< REL::VariantID, 2 > VTABLE_BGSSoundDescriptorForm
Definition Offsets_VTABLE.h:777
Definition BGSSoundDescriptorForm.h:21
RecordFlag
Definition BGSSoundDescriptorForm.h:23
@ kDeleted
Definition BGSSoundDescriptorForm.h:24
@ kIgnored
Definition BGSSoundDescriptorForm.h:25