Navigation
API > API/Plugins > API/Plugins/GameFeatures
Inheritance Hierarchy
- UObject
- UGameFeatureAction
- UGameFeatureAction_AddActorFactory
- UGameFeatureAction_AddAttributeDefaults
- UGameFeatureAction_AddCheats
- UGameFeatureAction_AddChunkOverride
- UGameFeatureAction_AddComponents
- UGameFeatureAction_AddWorldPartitionContent
- UGameFeatureAction_AddWPContent
- UGameFeatureAction_AudioActionBase
- UGameFeatureAction_ConfigureInstancedActors
- UGameFeatureAction_DataRegistry
- UGameFeatureAction_DataRegistrySource
References
| Module | GameFeatures |
| Header | /Engine/Plugins/Runtime/GameFeatures/Source/GameFeatures/Public/GameFeatureAction.h |
| Include | #include "GameFeatureAction.h" |
Syntax
UCLASS (DefaultToInstanced, EditInlineNew, Abstract)
class UGameFeatureAction : public UObject
Remarks
Represents an action to be taken when a game feature is activated
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | AddAdditionalAssetBundleData
(
FAssetBundleData& AssetBundleData |
||
| UGameFeatureData * | |||
| bool | IsGameFeaturePluginActive
(
bool bCheckForActivating |
Returns whether the action game feature plugin is active or not. | |
| bool | IsGameFeaturePluginRegistered
(
bool bCheckForRegistering |
Returns whether the action game feature plugin is registered or not. | |
| void | Older-style activation function with no context, called by base class if context version is not overridden | ||
| void | OnGameFeatureActivating
(
FGameFeatureActivatingContext& Context |
Called when the feature is actually applied | |
| void | OnGameFeatureDeactivating
(
FGameFeatureDeactivatingContext& Context |
Called when game feature is deactivated, it may be activated again in the near future | |
| void | Called to indicate that a feature is being loaded for activation in the near future | ||
| void | Called when the object owning the action is registered for possible activation, this is called even if a feature never activates | ||
| void | Called to indicate that a feature is being unloaded | ||
| void | Called to unregister an action, it will not be activated again without being registered again |