Compare commits
3 Commits
6b58525349
...
c02993057f
| Author | SHA1 | Date | |
|---|---|---|---|
| c02993057f | |||
| 69536766b1 | |||
| e63f54a882 |
@ -448,7 +448,7 @@ FGuid UDTFluxCoreSubsystem::InitSplitRankingsDisplay(const int ContestId, const
|
||||
this->OnSplitRankingDisplayReady.Broadcast(InReq.RequestId, false);
|
||||
});
|
||||
FGuid DisplayRequestId = NetworkSubsystem->SendTrackedRequestWithCallbacks(
|
||||
EDTFluxApiDataType::ContestRanking, ContestId, StageId, SplitId, OnSuccess, OnError, true);
|
||||
EDTFluxApiDataType::SplitRanking, ContestId, StageId, SplitId, OnSuccess, OnError, true);
|
||||
return DisplayRequestId;
|
||||
}
|
||||
UE_LOG(logDTFluxCoreSubsystem, Error, TEXT("DTFluxDatastorage unavailable ..."));
|
||||
|
||||
@ -10,7 +10,7 @@ FText UFTDFluxUtils::GetFormatedName(const int& Bib, const int MaxChar, const FS
|
||||
const FString OverFlowChar)
|
||||
{
|
||||
UDTFluxCoreSubsystem* CoreSubsystem = GEngine->GetEngineSubsystem<UDTFluxCoreSubsystem>();
|
||||
if (CoreSubsystem == nullptr)
|
||||
if (CoreSubsystem != nullptr)
|
||||
{
|
||||
FDTFluxParticipant OutParticipant;
|
||||
CoreSubsystem->GetParticipant(Bib, OutParticipant);
|
||||
@ -31,14 +31,13 @@ void UFTDFluxUtils::GetFullName(const int Bib, FText& OutFullName)
|
||||
{
|
||||
OutFullName = FText();
|
||||
UDTFluxCoreSubsystem* CoreSubsystem = GEngine->GetEngineSubsystem<UDTFluxCoreSubsystem>();
|
||||
FDTFluxParticipant Participant;
|
||||
CoreSubsystem->GetParticipant(Bib, Participant);
|
||||
if(CoreSubsystem != nullptr)
|
||||
{
|
||||
FDTFluxParticipant OutParticipant;
|
||||
if(CoreSubsystem->GetParticipant(Bib, OutParticipant))
|
||||
FDTFluxParticipant Participant;
|
||||
if(CoreSubsystem->GetParticipant(Bib, Participant))
|
||||
{
|
||||
FString FormattedName = "";
|
||||
if (OutParticipant.IsTeam())
|
||||
if (Participant.IsTeam())
|
||||
{
|
||||
OutFullName = FText::FromString(Participant.Team);
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user