RealtimeStyleTransferRuntime/Plugins/GameSettings/Source/Public/Widgets/Misc/GameSettingRotator.h

30 lines
721 B
C
Raw Normal View History

2022-05-23 18:41:30 +00:00
// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "CommonRotator.h"
2022-09-13 07:18:28 +00:00
#include "HAL/Platform.h"
#include "UObject/UObjectGlobals.h"
2022-05-23 18:41:30 +00:00
#include "GameSettingRotator.generated.h"
2022-09-13 07:18:28 +00:00
class UObject;
2022-05-23 18:41:30 +00:00
/**
*
*/
UCLASS(Abstract, meta = (Category = "Settings", DisableNativeTick))
class GAMESETTINGS_API UGameSettingRotator : public UCommonRotator
{
GENERATED_BODY()
public:
UGameSettingRotator(const FObjectInitializer& Initializer);
void SetDefaultOption(int32 DefaultOptionIndex);
protected:
UFUNCTION(BlueprintImplementableEvent, Category = Events, meta = (DisplayName = "On Default Option Specified"))
void BP_OnDefaultOptionSpecified(int32 DefaultOptionIndex);
};