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