Navigation
API > API/Plugins > API/Plugins/GameFeatures > API/Plugins/GameFeatures/UGameFeaturesSubsystem
Description
Returns the required bundles for this plugin based upon the current state machine. Unlike GetInstallBundleName this will return all the bundles and dependencies for the given plugin.
| Name | GetBundlesForPlugin |
| Type | function |
| Header File | /Engine/Plugins/Runtime/GameFeatures/Source/GameFeatures/Public/GameFeaturesSubsystem.h |
| Include Path | #include "GameFeaturesSubsystem.h" |
| Source | /Engine/Plugins/Runtime/GameFeatures/Source/GameFeatures/Private/GameFeaturesSubsystem.cpp |
bool GetBundlesForPlugin
(
FStringView PluginName,
TArray < FName > & OutBundles
)
true if an existing state machine with install bundle protocol is found.
Parameters
| Name | Remarks |
|---|---|
| - | PluginName - the name of the GameFeaturePlugin we want to get the bundles for. |