Updated Separator On Name Computation

This commit is contained in:
2025-07-13 01:18:31 +02:00
parent 700a7120f0
commit 6a88fec83a
2 changed files with 7 additions and 4 deletions

View File

@ -5,15 +5,17 @@
#include "DTFluxCoreSubsystem.h"
FText UFTDFluxUtils::GetFormatedName(const int& Bib, const int MaxChar, const FString OverFlowChar)
FText UFTDFluxUtils::GetFormatedName(const int& Bib, const int MaxChar, const FString Separator,
const FString OverFlowChar)
{
UDTFluxCoreSubsystem* CoreSubsystem = GEngine->GetEngineSubsystem<UDTFluxCoreSubsystem>();
const FDTFluxParticipant OutParticipant = CoreSubsystem->GetParticipant(Bib);
return OutParticipant.GetFormattedNameText(MaxChar, OverFlowChar);
return OutParticipant.GetFormattedNameText(MaxChar, Separator, OverFlowChar);
}
FText UFTDFluxUtils::GetParticipantFormatedName(FDTFluxParticipant& Participant, const int MaxChar,
const FString Separator,
const FString OverFlowChar)
{
return Participant.GetFormattedNameText(MaxChar, OverFlowChar);
return Participant.GetFormattedNameText(MaxChar, Separator, OverFlowChar);
}