mirror of
https://github.com/ApfelTeeSaft/UnrealEvent.git
synced 2026-08-27 03:43:40 +00:00
26 lines
835 B
C++
26 lines
835 B
C++
#include "BuildingPropMusicPlayer.h"
|
|
#include "Components/AudioComponent.h"
|
|
#include "Net/UnrealNetwork.h"
|
|
|
|
void ABuildingPropMusicPlayer::StartSongForOptionsChange() {
|
|
}
|
|
|
|
void ABuildingPropMusicPlayer::OnRep_PlayingSongData() {
|
|
}
|
|
|
|
void ABuildingPropMusicPlayer::GetLifetimeReplicatedProps(TArray<FLifetimeProperty>& OutLifetimeProps) const {
|
|
Super::GetLifetimeReplicatedProps(OutLifetimeProps);
|
|
|
|
DOREPLIFETIME(ABuildingPropMusicPlayer, PlayingSongData);
|
|
}
|
|
|
|
ABuildingPropMusicPlayer::ABuildingPropMusicPlayer() {
|
|
this->bCheckAlternateHotfixValue = false;
|
|
this->bPlayingByDefault = false;
|
|
this->bPlayRandomSong = false;
|
|
this->MusicTrackTable = NULL;
|
|
this->SongAudioComponent = CreateDefaultSubobject<UAudioComponent>(TEXT("SongAudioComponent"));
|
|
this->PlaybackType = EMusicTrackPlayback::Enabled;
|
|
}
|
|
|