CommonLibSSE (Parapets fork)
Loading...
Searching...
No Matches
BGSSoundDescriptor.h
Go to the documentation of this file.
1#pragma once
2
4
5namespace RE
6{
7 class BGSSoundCategory;
8 class TESFile;
9 class TESForm;
10
12 {
13 public:
14 inline static constexpr auto RTTI = RTTI_BGSSoundDescriptor;
15
16 ~BGSSoundDescriptor() override; // 00
17
18 // add
19 virtual void InitSound(TESForm* a_src); // 03
20 virtual bool LoadSound(TESFile* a_mod); // 04
21 [[nodiscard]] virtual std::uint32_t GetType() const = 0; // 05 - CRC hash of class name
22 virtual void Unk_06(void) = 0; // 06
23
24 // members
27 std::uint32_t pad14; // 14
28 };
29 static_assert(sizeof(BGSSoundDescriptor) == 0x18);
30}
Definition: BGSSoundCategory.h:14
Definition: BGSSoundDescriptor.h:12
static constexpr auto RTTI
Definition: BGSSoundDescriptor.h:14
virtual bool LoadSound(TESFile *a_mod)
virtual void InitSound(TESForm *a_src)
std::uint32_t pad14
Definition: BGSSoundDescriptor.h:27
virtual void Unk_06(void)=0
~BGSSoundDescriptor() override
virtual std::uint32_t GetType() const =0
FormID alternateSoundFormID
Definition: BGSSoundDescriptor.h:26
BGSSoundCategory * category
Definition: BGSSoundDescriptor.h:25
Definition: BSISoundDescriptor.h:6
Definition: TESFile.h:14
Definition: TESForm.h:34
Definition: AbsorbEffect.h:6
constexpr REL::ID RTTI_BGSSoundDescriptor
Definition: Offsets_RTTI.h:1541
std::uint32_t FormID
Definition: BSCoreTypes.h:5