CommonLibSSE NG
Loading...
Searching...
No Matches
BSAudioManager.h
Go to the documentation of this file.
1#pragma once
2
5#include "RE/B/BSTHashMap.h"
6
7namespace RE
8{
9 class BSISoundDescriptor;
10 class BSXAudio2GameSound;
11 struct BSSoundHandle;
12
14 {
15 public:
17
18 bool Play(FormID a_soundFormID);
19 bool Play(BSISoundDescriptor* a_descriptor);
20 bool BuildSoundDataFromDescriptor(BSSoundHandle& a_soundHandle, BSISoundDescriptor* a_descriptor, std::uint32_t a_flags = 0x1A);
21 void BuildSoundDataFromEditorID(BSSoundHandle& a_soundHandle, const char* a_editorID, std::uint32_t a_flags);
22
23 // members
24 std::uint64_t unk000; // 000
25 void* unk008; // 008
26 void* unk010; // 010
27 void* unk018; // 018
28 void* unk020; // 020
29 std::uint64_t unk028; // 028
34 std::uint64_t unk0F0; // 0F0
36 std::uint64_t unk100; // 100
38 std::uint64_t unk110; // 110
39 std::uint64_t unk118; // 118
40 std::uint64_t unk120; // 120
41 std::uint64_t unk128; // 128
42 std::uint64_t unk130; // 130
43 std::uint64_t unk138; // 138
44 std::uint64_t unk140; // 140
45 std::uint64_t unk148; // 148
46 std::uint64_t unk150; // 150
47 std::uint64_t unk158; // 158
48 std::uint64_t unk160; // 160
49 std::uint64_t unk168; // 168
50 std::uint64_t unk170; // 170
51 std::uint64_t unk178; // 178
52 std::uint64_t unk180; // 180
53 std::uint64_t unk188; // 188
54 };
55 static_assert(sizeof(BSAudioManager) == 0x190);
56}
Definition BSAudioManager.h:14
std::uint64_t unk178
Definition BSAudioManager.h:51
std::uint64_t unk140
Definition BSAudioManager.h:44
std::uint64_t unk110
Definition BSAudioManager.h:38
bool Play(BSISoundDescriptor *a_descriptor)
void * unk010
Definition BSAudioManager.h:26
void * unk008
Definition BSAudioManager.h:25
BSTHashMap< UnkKey, UnkValue > unk0C0
Definition BSAudioManager.h:33
bool Play(FormID a_soundFormID)
std::uint64_t unk180
Definition BSAudioManager.h:52
std::uint64_t unk150
Definition BSAudioManager.h:46
BSTHashMap< std::uint32_t, BSXAudio2GameSound * > unk030
Definition BSAudioManager.h:30
std::uint64_t unk118
Definition BSAudioManager.h:39
BSFixedString unk108
Definition BSAudioManager.h:37
BSTHashMap< UnkKey, UnkValue > unk090
Definition BSAudioManager.h:32
std::uint64_t unk170
Definition BSAudioManager.h:50
std::uint64_t unk188
Definition BSAudioManager.h:53
void * unk020
Definition BSAudioManager.h:28
std::uint64_t unk100
Definition BSAudioManager.h:36
std::uint64_t unk168
Definition BSAudioManager.h:49
std::uint64_t unk130
Definition BSAudioManager.h:42
std::uint64_t unk148
Definition BSAudioManager.h:45
std::uint64_t unk138
Definition BSAudioManager.h:43
std::uint64_t unk128
Definition BSAudioManager.h:41
void BuildSoundDataFromEditorID(BSSoundHandle &a_soundHandle, const char *a_editorID, std::uint32_t a_flags)
std::uint64_t unk0F0
Definition BSAudioManager.h:34
std::uint64_t unk000
Definition BSAudioManager.h:24
std::uint64_t unk120
Definition BSAudioManager.h:40
BSTHashMap< UnkKey, UnkValue > unk060
Definition BSAudioManager.h:31
void * unk018
Definition BSAudioManager.h:27
std::uint64_t unk160
Definition BSAudioManager.h:48
bool BuildSoundDataFromDescriptor(BSSoundHandle &a_soundHandle, BSISoundDescriptor *a_descriptor, std::uint32_t a_flags=0x1A)
std::uint64_t unk158
Definition BSAudioManager.h:47
std::uint64_t unk028
Definition BSAudioManager.h:29
static BSAudioManager * GetSingleton()
BSAudioManagerThread * unk0F8
Definition BSAudioManager.h:35
Definition BSAudioManagerThread.h:8
Definition BSISoundDescriptor.h:6
Definition BSTHashMap.h:21
Definition AbsorbEffect.h:6
std::uint32_t FormID
Definition BSCoreTypes.h:5
Definition BSSoundHandle.h:9