Navigation
API > API/Plugins > API/Plugins/GameFeatures
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UDataAsset
- UPrimaryDataAsset
- UGameFeatureData
References
| Module | GameFeatures |
| Header | /Engine/Plugins/Experimental/GameFeatures/Source/GameFeatures/Public/GameFeatureData.h |
| Include | #include "GameFeatureData.h" |
Syntax
UCLASS&40;&41;
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 () |
||
| FName | |||
| void | GetContentBundleGuidsFromAsset
(
const FAssetData& Asset, |
||
| void | GetPluginName
(
FString& PluginName |
||
| void | GetPluginName
(
const UGameFeatureData* GFD, |
||
| const TArray< FPrimaryAssetTypeInfo > & | Method to get where the primary assets should scanned from in the plugin hierarchy | ||
| TArray< FPrimaryAssetTypeInfo > & | |||
| 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 |
Overridden from UPrimaryDataAsset
| Type | Name | Description | |
|---|---|---|---|
| void | This scans the class for AssetBundles metadata on asset properties and initializes the AssetBundleData with InitializeAssetBundlesFromMetadata |
Overridden from UObject
| Type | Name | Description | |
|---|---|---|---|
| void | GetAssetRegistryTags
(
TArray< FAssetRegistryTag >& OutTags |
Gathers a list of asset registry searchable tags which are name/value pairs with some type information This only needs to be implemented for asset objects | |
| EDataValidationResult | IsDataValid
(
FDataValidationContext& Context |
Generic function to validate objects during changelist validations, etc. |