2025-07-08 16:50:31 +02:00
|
|
|
|
// Fill out your copyright notice in the Description page of Project Settings.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#include "FTDFluxUtils.h"
|
|
|
|
|
|
|
2025-07-08 18:24:26 +02:00
|
|
|
|
#include "DTFluxCoreSubsystem.h"
|
|
|
|
|
|
|
2025-07-13 01:18:31 +02:00
|
|
|
|
FText UFTDFluxUtils::GetFormatedName(const int& Bib, const int MaxChar, const FString Separator,
|
|
|
|
|
|
const FString OverFlowChar)
|
2025-07-08 18:24:26 +02:00
|
|
|
|
{
|
|
|
|
|
|
UDTFluxCoreSubsystem* CoreSubsystem = GEngine->GetEngineSubsystem<UDTFluxCoreSubsystem>();
|
|
|
|
|
|
const FDTFluxParticipant OutParticipant = CoreSubsystem->GetParticipant(Bib);
|
2025-07-13 01:18:31 +02:00
|
|
|
|
return OutParticipant.GetFormattedNameText(MaxChar, Separator, OverFlowChar);
|
2025-07-08 18:24:26 +02:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
FText UFTDFluxUtils::GetParticipantFormatedName(FDTFluxParticipant& Participant, const int MaxChar,
|
2025-07-13 01:18:31 +02:00
|
|
|
|
const FString Separator,
|
2025-07-08 18:24:26 +02:00
|
|
|
|
const FString OverFlowChar)
|
2025-07-08 16:50:31 +02:00
|
|
|
|
{
|
2025-07-13 01:18:31 +02:00
|
|
|
|
return Participant.GetFormattedNameText(MaxChar, Separator, OverFlowChar);
|
2025-07-08 16:50:31 +02:00
|
|
|
|
}
|