2025-06-29 19:04:36 +02:00
|
|
|
|
// Fill out your copyright notice in the Description page of Project Settings.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#include "DTFluxGeneralSettings.h"
|
2025-07-17 19:07:50 +02:00
|
|
|
|
#include "Assets/DTFluxModelAsset.h"
|
2025-06-29 19:04:36 +02:00
|
|
|
|
|
|
|
|
|
|
#include "DTFluxProjectSettingsModule.h"
|
|
|
|
|
|
|
|
|
|
|
|
UDTFluxGeneralSettings::UDTFluxGeneralSettings()
|
|
|
|
|
|
{
|
|
|
|
|
|
CategoryName = "DTFlux API";
|
|
|
|
|
|
|
2025-07-03 17:28:51 +02:00
|
|
|
|
// UE_LOG(logDTFluxProjectSettings, Log, TEXT("ModelAssetLoded isNull() -> %s"), ModelAsset.IsNull() ? TEXT("TRUE") : TEXT("FALSE"));
|
|
|
|
|
|
//
|
|
|
|
|
|
UE_LOG(logDTFluxProjectSettings, Log, TEXT("Category Name -> %s"), *GetCategoryName().ToString());
|
|
|
|
|
|
|
2025-06-29 19:04:36 +02:00
|
|
|
|
}
|
2025-07-17 19:07:50 +02:00
|
|
|
|
|
|
|
|
|
|
void UDTFluxGeneralSettings::PostEditChangeProperty(FPropertyChangedEvent& PropertyChangedEvent)
|
|
|
|
|
|
{
|
|
|
|
|
|
Super::PostEditChangeProperty(PropertyChangedEvent);
|
|
|
|
|
|
if (PropertyChangedEvent.Property &&
|
|
|
|
|
|
PropertyChangedEvent.Property->GetFName() == GET_MEMBER_NAME_CHECKED(UDTFluxGeneralSettings, RemoteTargetRundown))
|
|
|
|
|
|
{
|
|
|
|
|
|
UE_LOG(LogTemp, Log, TEXT("RemoteTargetRundown property changed to: %s"),
|
|
|
|
|
|
RemoteTargetRundown.IsNull() ? TEXT("None") : *RemoteTargetRundown.ToString());
|
|
|
|
|
|
|
|
|
|
|
|
OnRemoteRundownChanged.Broadcast(RemoteTargetRundown);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
}
|