LEAP Documentation 40220
Documentation for the LEAP project
UAnnouncerSubsystem Class Reference

#include <AnnouncerSubsystem.h>

Inheritance diagram for UAnnouncerSubsystem:

Public Member Functions

void PlayVoice (FString const VoiceToPlay)
 
bool IsAnnouncerSpeaking ()
 

Protected Member Functions

void PlayNextQueuedVoice ()
 
void AsyncLoadSound (TSoftObjectPtr< USoundCue > AssetPointer, FDelegateSoundCue Callback)
 
void PlayVoiceTrackInfo (FVoiceTrackInfo VoiceTrackInfo)
 
void OnStartedTalking (const TArray< struct FSubtitleCue > &Subtitles, float CueDuration)
 

Protected Attributes

TQueue< FVoiceTrackInfoSoundsQueue
 
FVoiceTrackInfo CurrentVoiceInfo
 
UAudioComponent * ActiveVoiceAudioComponent = nullptr
 
UDialogueWidgetUserWidget = nullptr
 
FDelegateSoundCue DelegateSoundCue
 

Member Function Documentation

◆ AsyncLoadSound()

void UAnnouncerSubsystem::AsyncLoadSound ( TSoftObjectPtr< USoundCue >  AssetPointer,
FDelegateSoundCue  Callback 
)
protected

◆ IsAnnouncerSpeaking()

bool UAnnouncerSubsystem::IsAnnouncerSpeaking ( )

◆ OnStartedTalking()

void UAnnouncerSubsystem::OnStartedTalking ( const TArray< struct FSubtitleCue > &  Subtitles,
float  CueDuration 
)
protected

◆ PlayNextQueuedVoice()

void UAnnouncerSubsystem::PlayNextQueuedVoice ( )
protected

◆ PlayVoice()

void UAnnouncerSubsystem::PlayVoice ( FString const  VoiceToPlay)

◆ PlayVoiceTrackInfo()

void UAnnouncerSubsystem::PlayVoiceTrackInfo ( FVoiceTrackInfo  VoiceTrackInfo)
protected

Member Data Documentation

◆ ActiveVoiceAudioComponent

UAudioComponent* UAnnouncerSubsystem::ActiveVoiceAudioComponent = nullptr
protected

◆ CurrentVoiceInfo

FVoiceTrackInfo UAnnouncerSubsystem::CurrentVoiceInfo
protected

◆ DelegateSoundCue

FDelegateSoundCue UAnnouncerSubsystem::DelegateSoundCue
protected

◆ SoundsQueue

TQueue<FVoiceTrackInfo> UAnnouncerSubsystem::SoundsQueue
protected

◆ UserWidget

UDialogueWidget* UAnnouncerSubsystem::UserWidget = nullptr
protected

The documentation for this class was generated from the following files: