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