36 lines
1.2 KiB
C++
36 lines
1.2 KiB
C++
// Fill out your copyright notice in the Description page of Project Settings.
|
|
|
|
#pragma once
|
|
|
|
#include "CoreMinimal.h"
|
|
#include "Assets/DTFluxModelAsset.h"
|
|
#include "Engine/DeveloperSettings.h"
|
|
#include "DTFluxGeneralSettings.generated.h"
|
|
|
|
class UAvaRundown;
|
|
// class UDTFluxModelAsset;
|
|
/**
|
|
*
|
|
*/
|
|
UCLASS(Config=Engine, DefaultConfig, meta=(DisplayName="DTFlux General Settings"))
|
|
class DTFLUXPROJECTSETTINGS_API UDTFluxGeneralSettings : public UDeveloperSettings
|
|
{
|
|
GENERATED_BODY()
|
|
|
|
public:
|
|
virtual bool SupportsAutoRegistration() const override{ return false; }
|
|
UDTFluxGeneralSettings();
|
|
UPROPERTY(Category="General", Config, EditAnywhere, BlueprintReadOnly, DisplayName="Datastorage File")
|
|
TSoftObjectPtr<UDTFluxModelAsset> ModelAsset;
|
|
UPROPERTY(Category="General|Remote HTTP", Config, EditAnywhere, BlueprintReadOnly, DisplayName="Rundown Remote Target")
|
|
TSoftObjectPtr<UAvaRundown> RemoteTargetRundown;
|
|
|
|
#if WITH_EDITOR
|
|
virtual void PostEditChangeProperty(FPropertyChangedEvent& PropertyChangedEvent) override;
|
|
|
|
DECLARE_MULTICAST_DELEGATE_OneParam(FOnRemoteRundownChanged, const TSoftObjectPtr<UAvaRundown>& );
|
|
FOnRemoteRundownChanged OnRemoteRundownChanged;
|
|
#endif
|
|
|
|
};
|