unitysamples / LyraStarterGame /Source /LyraGame /GameFeatures /GameFeatureAction_AddGameplayCuePath.h
| // Copyright Epic Games, Inc. All Rights Reserved. | |
| /** | |
| * GameFeatureAction responsible for adding gameplay cue paths to the gameplay cue manager. | |
| * | |
| * @see UAbilitySystemGlobals::GameplayCueNotifyPaths | |
| */ | |
| UCLASS(MinimalAPI, meta = (DisplayName = "Add Gameplay Cue Path")) | |
| class UGameFeatureAction_AddGameplayCuePath final : public UGameFeatureAction | |
| { | |
| GENERATED_BODY() | |
| public: | |
| UGameFeatureAction_AddGameplayCuePath(); | |
| //~UObject interface | |
| virtual EDataValidationResult IsDataValid(class FDataValidationContext& Context) const override; | |
| //~End of UObject interface | |
| const TArray<FDirectoryPath>& GetDirectoryPathsToAdd() const { return DirectoryPathsToAdd; } | |
| private: | |
| /** List of paths to register to the gameplay cue manager. These are relative tot he game content directory */ | |
| UPROPERTY(EditAnywhere, Category = "Game Feature | Gameplay Cues", meta = (RelativeToGameContentDir, LongPackageName)) | |
| TArray<FDirectoryPath> DirectoryPathsToAdd; | |
| }; | |