CommonLibSSE (Parapets fork)
BSISoundDescriptor.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include "RE/B/BSAudioMonitor.h"
4 #include "RE/B/BSCoreTypes.h"
5 #include "RE/B/BSTArray.h"
6 #include "RE/I/ID.h"
7 
8 namespace RE
9 {
10  class BSISoundCategory;
11  class BSISoundOutputModel;
12 
14  {
15  public:
16  inline static constexpr auto RTTI = RTTI_BSISoundDescriptor;
17 
19  {
20  public:
22 
23  virtual ~BSIPlaybackCharacteristics(); // 00
24 
25  // add
26  virtual std::uint8_t GetFrequencyShift() = 0; // 01
27  virtual std::uint8_t GetFrequencyVariance() = 0; // 02
28  virtual std::uint8_t GetPriority() = 0; // 03
29  virtual std::uint16_t GetStaticAttenuation() = 0; // 04
30  virtual std::uint8_t GetDBVariance() = 0; // 05
31  };
32  static_assert(sizeof(BSIPlaybackCharacteristics) == 0x8);
33 
34  struct Resolution
35  {
36  public:
37  // members
39  FormID formID; // 0C
41  std::uint32_t flags; // 14
46  };
47 
48  virtual ~BSISoundDescriptor(); // 00
49 
50  // add
51  virtual bool DoResolve(Resolution& a_resolution) = 0; // 01
52  virtual void Unk_02(void) = 0; // 02
53  };
54  static_assert(sizeof(BSISoundDescriptor) == 0x8);
55 }
Definition: BSISoundCategory.h:6
Definition: BSISoundDescriptor.h:19
static constexpr auto RTTI
Definition: BSISoundDescriptor.h:21
Definition: BSISoundDescriptor.h:14
virtual void Unk_02(void)=0
virtual bool DoResolve(Resolution &a_resolution)=0
virtual ~BSISoundDescriptor()
static constexpr auto RTTI
Definition: BSISoundDescriptor.h:16
Definition: BSISoundOutputModel.h:6
Definition: BSTArray.h:377
Definition: AbsorbEffect.h:6
constexpr REL::ID RTTI_BSISoundDescriptor__BSIPlaybackCharacteristics
Definition: Offsets_RTTI.h:1740
std::uint32_t FormID
Definition: BSCoreTypes.h:5
constexpr REL::ID RTTI_BSISoundDescriptor
Definition: Offsets_RTTI.h:1739
Definition: BSISoundDescriptor.h:35
BSResource::ID resourceID
Definition: BSISoundDescriptor.h:38
BSISoundOutputModel * outputModel
Definition: BSISoundDescriptor.h:43
BSTSmallArray< BSAudioMonitor::Request, 2 > monitorRequests
Definition: BSISoundDescriptor.h:45
std::uint32_t flags
Definition: BSISoundDescriptor.h:41
FormID formID
Definition: BSISoundDescriptor.h:39
FormID alternateFormID
Definition: BSISoundDescriptor.h:40
BSISoundCategory * soundCategory
Definition: BSISoundDescriptor.h:44
BSIPlaybackCharacteristics * playbackCharacteristics
Definition: BSISoundDescriptor.h:42
Definition: ID.h:10