5#include "CoreMinimal.h"
6#include "Subsystems/GameInstanceSubsystem.h"
7#include "Main/ST_AudioControlSettings.h"
8#include "ST_AudioControlManagerBase.generated.h"
35 virtual void Initialize(FSubsystemCollectionBase& Collection)
override;
51 UFUNCTION(BlueprintCallable, Category =
"ShaderTech|AudioControl")
60 UFUNCTION(BlueprintCallable, Category =
"ShaderTech|AudioControl")
69 UFUNCTION(BlueprintCallable, Category =
"ShaderTech|AudioControl")
78 UFUNCTION(BlueprintCallable, Category =
"ShaderTech|AudioControl")
131 TArray<UObject*> ManagedItems;
135 TArray<FST_AudioController> RegisteredControllers;
145 return RegisteredControllers;
bool RegisterManagedItem(UObject *ManagedItem)
Registers a managed item with the subsystem.
Definition ST_AudioControlManagerBase.cpp:38
UST_AudioControlManagerBase()
Constructor for UST_AudioControlManagerBase.
Definition ST_AudioControlManagerBase.cpp:8
const TArray< FST_AudioController > & GetRegisteredControllers() const
Gets the list of currently registered controllers.
Definition ST_AudioControlManagerBase.h:143
const TArray< UObject * > & GetManagedItems() const
Gets the list of currently managed items.
Definition ST_AudioControlManagerBase.h:138
virtual void Deinitialize() override
Called before the subsystem is destroyed.
Definition ST_AudioControlManagerBase.cpp:21
virtual void Initialize(FSubsystemCollectionBase &Collection) override
Called when the subsystem is initialized.
Definition ST_AudioControlManagerBase.cpp:14
bool DeregisterManagedItem(UObject *ManagedItem)
Deregisters a managed item from the subsystem.
Definition ST_AudioControlManagerBase.cpp:50
virtual void OnControllerRegistered(FST_AudioController Controller, bool bFirstControllerRegistered)
Called internally when a controller is registered.
Definition ST_AudioControlManagerBase.cpp:96
bool RegisterController(FST_AudioController Controller)
Registers an audio controller with the subsystem.
Definition ST_AudioControlManagerBase.cpp:62
bool DeregisterController(FST_AudioController Controller)
Deregisters an audio controller from the subsystem.
Definition ST_AudioControlManagerBase.cpp:74
virtual void OnManagedItemRegistered(UObject *ManagedItem, bool bFirstManagedItemRegistered)
Called internally when a managed item is registered.
Definition ST_AudioControlManagerBase.cpp:86
virtual void OnControllerDeregistered(FST_AudioController Controller, bool bAllControllersDeregistered)
Called internally when a controller is deregistered.
Definition ST_AudioControlManagerBase.cpp:100
virtual void OnManagedItemDeregistered(UObject *ManagedItem, bool bAllManagedItemDeregistered)
Called internally when a managed item is deregistered.
Definition ST_AudioControlManagerBase.cpp:91
Represents a basic audio controller reference.
Definition ST_AudioControlSettings.h:73