| // Copyright Epic Games, Inc. All Rights Reserved. | |
| /** | |
| * Manager for experiences - primarily for arbitration between multiple PIE sessions | |
| */ | |
| UCLASS(MinimalAPI) | |
| class ULyraExperienceManager : public UEngineSubsystem | |
| { | |
| GENERATED_BODY() | |
| public: | |
| LYRAGAME_API void OnPlayInEditorBegun(); | |
| static void NotifyOfPluginActivation(const FString PluginURL); | |
| static bool RequestToDeactivatePlugin(const FString PluginURL); | |
| static void NotifyOfPluginActivation(const FString PluginURL) {} | |
| static bool RequestToDeactivatePlugin(const FString PluginURL) { return true; } | |
| private: | |
| // The map of requests to active count for a given game feature plugin | |
| // (to allow first in, last out activation management during PIE) | |
| TMap<FString, int32> GameFeaturePluginRequestCountMap; | |
| }; | |