CommonLibSSE (powerof3)
BGSSoundDescriptorForm.h
Go to the documentation of this file.
1
#pragma once
2
3
#include "
RE/B/BSISoundDescriptor.h
"
4
#include "
RE/F/FormTypes.h
"
5
#include "
RE/T/TESForm.h
"
6
7
namespace
RE
8
{
9
class
BGSSoundDescriptor;
10
11
class
BGSSoundDescriptorForm
:
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
19
struct
RecordFlags
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
40
BGSSoundDescriptor
*
soundDescriptor
;
// 28
41
};
42
static_assert(
sizeof
(
BGSSoundDescriptorForm
) == 0x30);
43
}
BSISoundDescriptor.h
FormTypes.h
TESForm.h
RE::BGSSoundDescriptorForm
Definition:
BGSSoundDescriptorForm.h:14
RE::BGSSoundDescriptorForm::GetDescriptorType
virtual std::uint32_t GetDescriptorType()
RE::BGSSoundDescriptorForm::FORMTYPE
static constexpr auto FORMTYPE
Definition:
BGSSoundDescriptorForm.h:17
RE::BGSSoundDescriptorForm::InitItemImpl
void InitItemImpl() override
RE::BGSSoundDescriptorForm::Load
bool Load(TESFile *a_mod) override
RE::BGSSoundDescriptorForm::~BGSSoundDescriptorForm
~BGSSoundDescriptorForm() override
RE::BGSSoundDescriptorForm::SetFormEditorID
bool SetFormEditorID(const char *a_str) override
RE::BGSSoundDescriptorForm::soundDescriptor
BGSSoundDescriptor * soundDescriptor
Definition:
BGSSoundDescriptorForm.h:40
RE::BGSSoundDescriptorForm::RTTI
static constexpr auto RTTI
Definition:
BGSSoundDescriptorForm.h:16
RE::BGSSoundDescriptorForm::ClearData
void ClearData() override
RE::BGSSoundDescriptor
Definition:
BGSSoundDescriptor.h:12
RE::BSISoundDescriptor
Definition:
BSISoundDescriptor.h:6
RE::TESFile
Definition:
TESFile.h:14
RE::TESForm
Definition:
TESForm.h:34
RE
Definition:
AbsorbEffect.h:6
RE::RTTI_BGSSoundDescriptorForm
constexpr REL::ID RTTI_BGSSoundDescriptorForm
Definition:
Offsets_RTTI.h:1542
RE::FormType::SoundRecord
@ SoundRecord
RE::BGSSoundDescriptorForm::RecordFlags
Definition:
BGSSoundDescriptorForm.h:20
RE::BGSSoundDescriptorForm::RecordFlags::RecordFlag
RecordFlag
Definition:
BGSSoundDescriptorForm.h:22
RE::BGSSoundDescriptorForm::RecordFlags::kDeleted
@ kDeleted
Definition:
BGSSoundDescriptorForm.h:23
RE::BGSSoundDescriptorForm::RecordFlags::kIgnored
@ kIgnored
Definition:
BGSSoundDescriptorForm.h:24
CommonLibSSE
include
RE
B
BGSSoundDescriptorForm.h
Generated by
1.9.1