Navigation
API > API/Plugins > API/Plugins/GameFeatures
Finds plugin dependencies and returns them in dependency order (reverse topological sort order)
| Name | FDepthFirstGameFeatureSorter |
| Type | class |
| Header File | /Engine/Plugins/Runtime/GameFeatures/Source/GameFeatures/Public/GameFeatureVersePathMapperCommandlet.h |
| Include Path | #include "GameFeatureVersePathMapperCommandlet.h" |
Syntax
class FDepthFirstGameFeatureSorter
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FDepthFirstGameFeatureSorter
(
const TMap< FName, FGameFeaturePluginInfo >& InGfpInfoMap, |
Constructor @Param InGfpInfoMap Map containing plugin dependencies (FDepthFirstGameFeatureSorter points to this map, it is not copied) | GameFeatureVersePathMapperCommandlet.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bIncludeVirtualNodes | bool | GameFeatureVersePathMapperCommandlet.h | ||
| GfpInfoMap | const TMap< FName, FGameFeaturePluginInfo > & | GameFeatureVersePathMapperCommandlet.h | ||
| VisitedPlugins | TMap< FName, EVisitState > | GameFeatureVersePathMapperCommandlet.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool Sort
(
TFunctionRef< FName()> GetNextRootPlugin, |
Find and sort all dependencies @Param GetNextRootPlugin function that iterates plugins in the root set, returning None after the final plugin in the set. | GameFeatureVersePathMapperCommandlet.h | |
bool Sort
(
TConstArrayView< FName > RootPlugins, |
Find and sort all dependencies @Param RootPlugins set of root plugins @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 | GameFeatureVersePathMapperCommandlet.h | |
bool Sort
(
FName RootPlugin, |
GameFeatureVersePathMapperCommandlet.h | ||
| Find and sort all dependencies @Param RootPlugins set of root plugins @Param OutPlugins roots and dependencies in dependency order @Return false if there is an error or a cyclic dependency is discovered | GameFeatureVersePathMapperCommandlet.h | ||
| GameFeatureVersePathMapperCommandlet.h |