// Copyright Epic Games, Inc. All Rights Reserved. #pragma once #include "GameSettingValue.h" #include "GameSettingValueDiscrete.generated.h" #define UE_API GAMESETTINGS_API class UObject; struct FFrame; UCLASS(MinimalAPI, Abstract) class UGameSettingValueDiscrete : public UGameSettingValue { GENERATED_BODY() public: UE_API UGameSettingValueDiscrete(); /** UGameSettingValueDiscrete */ UE_API virtual void SetDiscreteOptionByIndex(int32 Index) PURE_VIRTUAL(,); UFUNCTION(BlueprintCallable) UE_API virtual int32 GetDiscreteOptionIndex() const PURE_VIRTUAL(,return INDEX_NONE;); /** Optional */ UFUNCTION(BlueprintCallable) virtual int32 GetDiscreteOptionDefaultIndex() const { return INDEX_NONE; } UFUNCTION(BlueprintCallable) UE_API virtual TArray GetDiscreteOptions() const PURE_VIRTUAL(,return TArray();); UE_API virtual FString GetAnalyticsValue() const; }; #undef UE_API