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

20 lines
734 B
C++
Raw Normal View History

// 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 OverFlowChar)
{
UDTFluxCoreSubsystem* CoreSubsystem = GEngine->GetEngineSubsystem<UDTFluxCoreSubsystem>();
const FDTFluxParticipant OutParticipant = CoreSubsystem->GetParticipant(Bib);
return OutParticipant.GetFormattedNameText(MaxChar, OverFlowChar);
}
FText UFTDFluxUtils::GetParticipantFormatedName(FDTFluxParticipant& Participant, const int MaxChar,
const FString OverFlowChar)
{
return Participant.GetFormattedNameText(MaxChar, OverFlowChar);
}