Navigation
API > API/Plugins > API/Plugins/GameFeatures > API/Plugins/GameFeatures/FDepthFirstGameFeatureSorter > API/Plugins/GameFeatures/FDepthFirstGameFeatureSorter/Sort
References
| Module | GameFeatures |
| Header | /Engine/Plugins/Runtime/GameFeatures/Source/GameFeatures/Public/GameFeatureVersePathMapperCommandlet.h |
| Include | #include "GameFeatureVersePathMapperCommandlet.h" |
| Source | /Engine/Plugins/Runtime/GameFeatures/Source/GameFeatures/Private/GameFeatureVersePathMapperCommandlet.cpp |
bool Sort
(
TFunctionRef < FName > GetNextRootPlugin,
TFunctionRef < void, const FString &)> AddOutput
)
Remarks
Find and sort all dependencies @Param GetNextRootPlugin function that iterates plugins in the root set, returning None after the final plugin in the set. @Param AddOutput callback to receive roots and dependencies, called in dependency order @Return false if there is an error or a cyclic dependency is discovered