Fix Output BluePrint ByRef
This commit is contained in:
@ -56,11 +56,11 @@ void UFTDFluxUtils::GetFullName(const int Bib, FText& OutFullName)
|
|||||||
UE_LOG(logDTFluxUtilities, Error, TEXT("DTFluxCoreSubsystem not available"));
|
UE_LOG(logDTFluxUtilities, Error, TEXT("DTFluxCoreSubsystem not available"));
|
||||||
}
|
}
|
||||||
|
|
||||||
void UFTDFluxUtils::SortSplitRankingsByRank(TArray<FDTFluxSplitSensorInfo>& Rankings, TArray<FDTFluxSplitSensorInfo>& OutRankings)
|
TArray<FDTFluxSplitSensorInfo>& UFTDFluxUtils::SortSplitRankingsByRank(TArray<FDTFluxSplitSensorInfo>& OutRankings)
|
||||||
{
|
{
|
||||||
Rankings.Sort([](const FDTFluxSplitSensorInfo& A, const FDTFluxSplitSensorInfo& B)
|
OutRankings.Sort([](const FDTFluxSplitSensorInfo& A, const FDTFluxSplitSensorInfo& B)
|
||||||
{
|
{
|
||||||
return A.Rank < B.Rank;
|
return A.Rank < B.Rank;
|
||||||
});
|
});
|
||||||
OutRankings = Rankings;
|
return OutRankings;
|
||||||
}
|
}
|
||||||
@ -71,7 +71,7 @@ public:
|
|||||||
static void GetFullName(const int Bib, FText& OutFullName);
|
static void GetFullName(const int Bib, FText& OutFullName);
|
||||||
|
|
||||||
UFUNCTION(BlueprintCallable, Category="DTFlux|Utils")
|
UFUNCTION(BlueprintCallable, Category="DTFlux|Utils")
|
||||||
static void SortSplitRankingsByRank(TArray<FDTFluxSplitSensorInfo>& Rankings, TArray<FDTFluxSplitSensorInfo>& OutRankings);
|
static TArray<FDTFluxSplitSensorInfo>& SortSplitRankingsByRank(TArray<FDTFluxSplitSensorInfo>& OutRankings);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user