CommonLibSSE (Parapets fork)
BSSoundMessage.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include "RE/M/MemoryManager.h"
4 #include "RE/N/NiPoint3.h"
5 #include "RE/N/NiSmartPointer.h"
6 
7 namespace RE
8 {
9  class NiAVObject;
10 
11  enum class SOUND_MSG
12  {
13  None = 0,
14  Init = 1,
15  Shutdown = 2,
16  Play = 4,
17  Pause = 5,
18  UnPause = 6,
19  Stop = 7,
20  PlayAfter = 8,
21  FadeIn = 10,
22  FadeOut = 11,
23  SetVolume = 13,
24  SetFrequency = 14,
26  VolumeChanged = 16,
27  FadeTo = 18,
28  SetPosition = 19,
29  SetBeamEnd = 20,
31  LoadForPlayback = 25,
32  KillAll = 27,
33  ReleaseSound = 28,
37  AddToCache = 38,
38  SuspendAudioThread = 39,
42  SetOutputModel = 50,
43  };
44 
46  {
47  public:
49 
50  // members
52  std::uint32_t id; // 04
53  std::int32_t iData; // 08
54  std::byte pad0C[4]; // 0C
55  void* pData; // 10
57  union // 20
58  {
60  std::uint16_t curveValue[5];
61  };
62  std::byte pad2C[4]; // 2C
65  };
66  static_assert(sizeof(BSSoundMessage) == 0x40);
67 }
Definition: BSSoundMessage.h:46
std::byte pad2C[4]
Definition: BSSoundMessage.h:62
SOUND_MSG message
Definition: BSSoundMessage.h:51
NiPoint3 vector3
Definition: BSSoundMessage.h:59
std::uint16_t curveValue[5]
Definition: BSSoundMessage.h:60
NiPointer< NiAVObject > spData
Definition: BSSoundMessage.h:56
std::byte pad0C[4]
Definition: BSSoundMessage.h:54
BSSoundMessage * prev
Definition: BSSoundMessage.h:64
std::uint32_t id
Definition: BSSoundMessage.h:52
BSSoundMessage * next
Definition: BSSoundMessage.h:63
void * pData
Definition: BSSoundMessage.h:55
std::int32_t iData
Definition: BSSoundMessage.h:53
Definition: NiPoint3.h:6
Definition: NiSmartPointer.h:9
Definition: AbsorbEffect.h:6
SOUND_MSG
Definition: BSSoundMessage.h:12
@ SetListenerTopOrientation
@ SetListenerFrontOrientation