RealtimeStyleTransferRuntime/Plugins/GameSettings/Source/Public/GameSettingValueDiscrete.h

41 lines
1.1 KiB
C
Raw Normal View History

2022-05-23 18:41:30 +00:00
// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
2022-09-13 07:18:28 +00:00
#include "Containers/Array.h"
#include "Containers/UnrealString.h"
#include "CoreTypes.h"
2022-05-23 18:41:30 +00:00
#include "GameSettingValue.h"
2022-09-13 07:18:28 +00:00
#include "Internationalization/Text.h"
#include "Misc/AssertionMacros.h"
#include "UObject/UObjectGlobals.h"
2022-05-23 18:41:30 +00:00
#include "GameSettingValueDiscrete.generated.h"
2022-09-13 07:18:28 +00:00
class UObject;
struct FFrame;
2022-05-23 18:41:30 +00:00
UCLASS(Abstract)
class GAMESETTINGS_API UGameSettingValueDiscrete : public UGameSettingValue
{
GENERATED_BODY()
public:
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>(););
virtual FString GetAnalyticsValue() const;
};