CommonLibSSE (Parapets fork)
Loading...
Searching...
No Matches
BSMusicManager.h
Go to the documentation of this file.
1#pragma once
2
3#include "RE/B/BSTArray.h"
4#include "RE/B/BSTEvent.h"
5#include "RE/B/BSTSingleton.h"
6
7namespace RE
8{
9 class BSIMusicType;
10 struct BSMusicEvent;
11
13 public BSTSingletonSDM<BSMusicManager>, // 00
14 public BSTEventSink<BSMusicEvent> // 08
15 {
16 public:
17 inline static constexpr auto RTTI = RTTI_BSMusicManager;
18
19 ~BSMusicManager() override; // 00
20
21 // override (BSTEventSink<BSMusicEvent>)
22 BSEventNotifyControl ProcessEvent(const BSMusicEvent* a_event, BSTEventSource<BSMusicEvent>* a_eventSource) override; // 01
23
24 [[nodiscard]] static BSMusicManager* GetSingleton()
25 {
27 return *singleton;
28 }
29
30 // members
33 std::uint32_t unk30; // 30
34 std::uint32_t pad34; // 34
35 };
36 static_assert(sizeof(BSMusicManager) == 0x38);
37}
Definition: BSIMusicType.h:11
Definition: BSMusicManager.h:15
BSTArray< BSIMusicType * > musicQueue
Definition: BSMusicManager.h:31
std::uint32_t unk30
Definition: BSMusicManager.h:33
BSEventNotifyControl ProcessEvent(const BSMusicEvent *a_event, BSTEventSource< BSMusicEvent > *a_eventSource) override
static constexpr auto RTTI
Definition: BSMusicManager.h:17
std::uint32_t pad34
Definition: BSMusicManager.h:34
~BSMusicManager() override
BSIMusicType * current
Definition: BSMusicManager.h:32
static BSMusicManager * GetSingleton()
Definition: BSMusicManager.h:24
Definition: BSTArray.h:377
Definition: BSTEvent.h:146
Definition: BSTEvent.h:28
Definition: Relocation.h:858
constexpr REL::ID Singleton(static_cast< std::uint64_t >(400896))
Definition: AbsorbEffect.h:6
constexpr REL::ID RTTI_BSMusicManager
Definition: Offsets_RTTI.h:1950
BSEventNotifyControl
Definition: BSTEvent.h:12
Definition: BSMusicEvent.h:8
Definition: BSTSingleton.h:50