Navigation
API > API/Plugins > API/Plugins/GameFeatures
Context that allows pausing prior to transitioning out of the mounting state
| Name | FGameFeaturePostMountingContext |
| Type | struct |
| Header File | /Engine/Plugins/Runtime/GameFeatures/Source/GameFeatures/Public/GameFeaturesSubsystem.h |
| Include Path | #include "GameFeaturesSubsystem.h" |
Syntax
struct FGameFeaturePostMountingContext : public FGameFeatureStateChangeContext
Inheritance Hierarchy
- FGameFeatureStateChangeContext → FGameFeaturePostMountingContext
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FGameFeaturePostMountingContext
(
FStringView InPluginName, |
GameFeaturesSubsystem.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| CompletionCallback | TFunction< void(FStringView InPauserTag)> | GameFeaturesSubsystem.h | ||
| NumPausers | int32 | GameFeaturesSubsystem.h | ||
| PluginName | FStringView | GameFeaturesSubsystem.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
int32 GetNumPausers() |
GameFeaturesSubsystem.h | ||
FSimpleDelegate PauseUntilComplete
(
FString InPauserTag |
Call this if your observer has an asynchronous action to complete prior to transitioning out of the mounting state and invoke the returned delegate when you are done (on the game thread!) | GameFeaturesSubsystem.h |