// Copyright Epic Games, Inc. All Rights Reserved. #pragma once #include "GameSettingPressAnyKey.h" #include "KeyAlreadyBoundWarning.generated.h" #define UE_API GAMESETTINGS_API class UTextBlock; /** * UKeyAlreadyBoundWarning * Press any key screen with text blocks for warning users when a key is already bound */ UCLASS(MinimalAPI, Abstract) class UKeyAlreadyBoundWarning : public UGameSettingPressAnyKey { GENERATED_BODY() public: UE_API void SetWarningText(const FText& InText); UE_API void SetCancelText(const FText& InText); protected: UPROPERTY(BlueprintReadOnly, meta = (BindWidget, BlueprintProtected = true, AllowPrivateAccess = true)) TObjectPtr WarningText; UPROPERTY(BlueprintReadOnly, meta = (BindWidget, BlueprintProtected = true, AllowPrivateAccess = true)) TObjectPtr CancelText; }; #undef UE_API