Network total reforge. Team-List and Race-Data handled

This commit is contained in:
2025-06-29 19:04:36 +02:00
parent 3a45d4c3b7
commit 81bf37639b
92 changed files with 3736 additions and 4202 deletions

View File

@ -0,0 +1,27 @@
// Fill out your copyright notice in the Description page of Project Settings.
#include "DTFluxModelAssetFactory.h"
#include "DTFluxAssetsEditorModule.h"
#include "Assets/DTFluxModelAsset.h"
UDTFluxModelAssetFactory::UDTFluxModelAssetFactory(const FObjectInitializer& ObjectInitializer) : Super(ObjectInitializer)
{
SupportedClass = UDTFluxModelAsset::StaticClass();
bCreateNew = true;
}
// bool UDTFluxModelAssetFactory::CanCreateNew() const
// {
// return true;
// }
UObject* UDTFluxModelAssetFactory::FactoryCreateNew(UClass* InClass, UObject* InParent, FName InName,
EObjectFlags Flags, UObject* Context, FFeedbackContext* Warn)
{
UE_LOG(logDTFluxAssetEditor, Warning, TEXT("InParent Name %s"), InParent != nullptr ? *InParent->GetName() : TEXT("Parent is null !!!"))
return NewObject<UDTFluxModelAsset>(InParent, InClass, InName, Flags, Context);
}