Files
DTFluxAPI/Source/DTFluxUtilities/Private/FTDFluxUtils.cpp

22 lines
891 B
C++
Raw Normal View History

// Fill out your copyright notice in the Description page of Project Settings.
#include "FTDFluxUtils.h"
#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)
{
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);
}
FText UFTDFluxUtils::GetParticipantFormatedName(FDTFluxParticipant& Participant, const int MaxChar,
2025-07-13 01:18:31 +02:00
const FString Separator,
const FString OverFlowChar)
{
2025-07-13 01:18:31 +02:00
return Participant.GetFormattedNameText(MaxChar, Separator, OverFlowChar);
}