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