| // Copyright Epic Games, Inc. All Rights Reserved. | |
| class UGameFeatureAction; | |
| /** | |
| * Definition of a set of actions to perform as part of entering an experience | |
| */ | |
| UCLASS(BlueprintType, NotBlueprintable) | |
| class ULyraExperienceActionSet : public UPrimaryDataAsset | |
| { | |
| GENERATED_BODY() | |
| public: | |
| ULyraExperienceActionSet(); | |
| //~UObject interface | |
| virtual EDataValidationResult IsDataValid(class FDataValidationContext& Context) const override; | |
| //~End of UObject interface | |
| //~UPrimaryDataAsset interface | |
| virtual void UpdateAssetBundleData() override; | |
| //~End of UPrimaryDataAsset interface | |
| public: | |
| // List of actions to perform as this experience is loaded/activated/deactivated/unloaded | |
| UPROPERTY(EditAnywhere, Instanced, Category="Actions to Perform") | |
| TArray<TObjectPtr<UGameFeatureAction>> Actions; | |
| // List of Game Feature Plugins this experience wants to have active | |
| UPROPERTY(EditAnywhere, Category="Feature Dependencies") | |
| TArray<FString> GameFeaturesToEnable; | |
| }; | |