22 lines
891 B
C++
22 lines
891 B
C++
// Fill out your copyright notice in the Description page of Project Settings.
|
|
|
|
|
|
#include "FTDFluxUtils.h"
|
|
|
|
#include "DTFluxCoreSubsystem.h"
|
|
|
|
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, Separator, OverFlowChar);
|
|
}
|
|
|
|
FText UFTDFluxUtils::GetParticipantFormatedName(FDTFluxParticipant& Participant, const int MaxChar,
|
|
const FString Separator,
|
|
const FString OverFlowChar)
|
|
{
|
|
return Participant.GetFormattedNameText(MaxChar, Separator, OverFlowChar);
|
|
}
|