Navigation
API > API/Plugins > API/Plugins/GameFeatures
Inheritance Hierarchy
- FGameFeatureStateChangeContext
- FGameFeatureActivatingContext
- FGameFeatureDeactivatingContext
- FGameFeaturePauseStateChangeContext
References
| Module | GameFeatures |
| Header | /Engine/Plugins/Experimental/GameFeatures/Source/GameFeatures/Public/GameFeaturesSubsystem.h |
| Include | #include "GameFeaturesSubsystem.h" |
Syntax
struct FGameFeatureStateChangeContext
Remarks
Struct that determines if game feature action state changes should be applied for cases where there are multiple worlds or contexts. The default value means to apply to all possible objects. This can be safely copied and used for later querying.
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | SetRequiredWorldContextHandle
(
FName Handle |
Sets a specific world context handle to limit changes to | |
| bool | ShouldApplyToWorldContext
(
const FWorldContext& WorldContext |
Sees if the specific world context matches the application rules | |
| bool | ShouldApplyUsingOtherContext
(
const FGameFeatureStateChangeContext& OtherContext |
True if events bound using this context should apply when using other context |
Operators
| Type | Name | Description | |
|---|---|---|---|
| bool | operator==
(
const FGameFeatureStateChangeContext& OtherContext |
Check if this has the exact same state change application rules |