mirror of
https://github.com/ApfelTeeSaft/UnrealEvent.git
synced 2026-08-27 03:43:40 +00:00
32 lines
979 B
C++
32 lines
979 B
C++
#pragma once
|
|
#include "CoreMinimal.h"
|
|
#include "CommonUserWidget.h"
|
|
#include "ESettingType.h"
|
|
#include "SettingValueChangedDelegate.h"
|
|
#include "FortOptionsMenuSetting.generated.h"
|
|
|
|
class UCommonTextBlock;
|
|
|
|
UCLASS(Blueprintable, EditInlineNew)
|
|
class UFortOptionsMenuSetting : public UCommonUserWidget {
|
|
GENERATED_BODY()
|
|
public:
|
|
UPROPERTY(BlueprintAssignable, BlueprintCallable, BlueprintReadWrite, EditAnywhere, meta=(AllowPrivateAccess=true))
|
|
FSettingValueChanged SettingValueChanged;
|
|
|
|
UPROPERTY(BlueprintReadWrite, EditAnywhere, meta=(AllowPrivateAccess=true))
|
|
ESettingType SettingType;
|
|
|
|
UPROPERTY(BlueprintReadWrite, EditAnywhere, meta=(AllowPrivateAccess=true))
|
|
FText NameText;
|
|
|
|
UFortOptionsMenuSetting();
|
|
UFUNCTION(BlueprintCallable, BlueprintImplementableEvent)
|
|
void UpdateSetting(UCommonTextBlock* TooltipTextBlock);
|
|
|
|
UFUNCTION(BlueprintCallable, BlueprintImplementableEvent)
|
|
void CenterOnWidget();
|
|
|
|
};
|
|
|