unitysamples / LyraStarterGame /Plugins /GameSettings /Source /Public /GameSettingValueDiscrete.h
Alexhas2's picture
Add files using upload-large-folder tool
b315adb verified
// 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