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