Adding GetFormatedName() with Bib param
This commit is contained in:
@ -3,7 +3,17 @@
|
||||
|
||||
#include "FTDFluxUtils.h"
|
||||
|
||||
FText UFTDFluxUtils::GetFormatedName(FDTFluxParticipant& Participant, const int MaxChar, const FString OverFlowChar)
|
||||
#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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user