mirror of
https://github.com/FortniteModdingHub/FNGameProj.git
synced 2026-09-03 12:33:39 +00:00
26 lines
800 B
C++
26 lines
800 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() {
|
|
bCheckAlternateHotfixValue = false;
|
|
bPlayingByDefault = false;
|
|
bPlayRandomSong = false;
|
|
MusicTrackTable = NULL;
|
|
SongAudioComponent = CreateDefaultSubobject<UAudioComponent>(TEXT("SongAudioComponent"));
|
|
PlaybackType = EMusicTrackPlayback::Disabled;
|
|
}
|
|
|