Files
DTFluxAPI/Source/DTFluxProjectSettings/Private/DTFluxGeneralSettings.cpp

32 lines
1.0 KiB
C++
Raw Permalink Normal View History

// 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"
#include "DTFluxProjectSettingsModule.h"
UDTFluxGeneralSettings::UDTFluxGeneralSettings()
{
CategoryName = "DTFlux API";
// 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-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);
}
}