File size: 955 Bytes
b315adb | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 | // 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<FText> GetDiscreteOptions() const PURE_VIRTUAL(,return TArray<FText>(););
UE_API virtual FString GetAnalyticsValue() const;
};
#undef UE_API
|