Files
UnrealEngine/Samples/Games/Lyra/Plugins/GameSettings/Source/Public/GameSettingValueDiscrete.h
Brandyn / Techy fcc1b09210 init
2026-04-04 15:40:51 -05:00

39 lines
896 B
C++

// 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 */
virtual void SetDiscreteOptionByIndex(int32 Index) PURE_VIRTUAL(,);
UFUNCTION(BlueprintCallable)
virtual int32 GetDiscreteOptionIndex() const PURE_VIRTUAL(,return INDEX_NONE;);
/** Optional */
UFUNCTION(BlueprintCallable)
virtual int32 GetDiscreteOptionDefaultIndex() const { return INDEX_NONE; }
UFUNCTION(BlueprintCallable)
virtual TArray<FText> GetDiscreteOptions() const PURE_VIRTUAL(,return TArray<FText>(););
UE_API virtual FString GetAnalyticsValue() const;
};
#undef UE_API