Navigation
API > API/Plugins > API/Plugins/GameFeatures
Inheritance Hierarchy
- UPrimaryDataAsset
- UGameFeatureData
References
| Module | GameFeatures |
| Header | /Engine/Plugins/Runtime/GameFeatures/Source/GameFeatures/Public/GameFeatureData.h |
| Include | #include "GameFeatureData.h" |
Syntax
UCLASS ()
class UGameFeatureData : public UPrimaryDataAsset
Remarks
Data related to a game feature, a collection of code and content that adds a separable discrete feature to the game
Variables
| Type | Name | Description | |
|---|---|---|---|
| TArray< TObjectPtr< UGameFeatureAction > > | Actions | List of actions to perform as this game feature is loaded/activated/deactivated/unloaded | |
| TArray< FPrimaryAssetTypeInfo > | PrimaryAssetTypesToScan | List of asset types to scan at startup |
Functions
| Type | Name | Description | |
|---|---|---|---|
| const TArray< UGameFeatureAction * > & | GetActions () |
||
| void | GetAssetRegistryTags
(
TArray< FAssetRegistryTag >& OutTags |
||
| void | GetAssetRegistryTags
(
FAssetRegistryTagsContext Context |
||
| FName | |||
| void | GetContentBundleGuidsFromAsset
(
const FAssetData& Asset, |
||
| void | GetDependencyDirectoriesFromAssetData
(
const FAssetData& AssetData, |
||
| FString | GetInstallBundleName
(
FStringView PluginName, |
Returns the install bundle name if one exists for this plugin. | |
| TArray< TObjectPtr< UGameFeatureAction > > & | |||
| FString | GetOptionalInstallBundleName
(
FStringView PluginName, |
Returns the optional install bundle name if one exists for this plugin. | |
| void | GetPluginName
(
const UGameFeatureData* GFD, |
||
| void | GetPluginName
(
FString& PluginName |
||
| TArray< FPrimaryAssetTypeInfo > & | |||
| const TArray< FPrimaryAssetTypeInfo > & | Method to get where the primary assets should scanned from in the plugin hierarchy | ||
| void | InitializeBasePluginIniFile
(
const FString& PluginInstalledFilename |
Method to process the base ini file for the plugin during loading | |
| void | InitializeHierarchicalPluginIniFiles
(
const FString& PluginInstalledFilename |
Method to process ini files for the plugin during activation | |
| EDataValidationResult | IsDataValid
(
FDataValidationContext& Context |
||
| bool | IsGameFeaturePluginActive
(
bool bCheckForActivating |
Returns whether the game feature plugin is active or not. | |
| bool | IsGameFeaturePluginRegistered
(
bool bCheckForRegistering |
Returns whether the game feature plugin is registered or not. | |
| void |