Files
2026-04-22 15:51:07 +02:00

36 lines
988 B
C++

#pragma once
#include "CoreMinimal.h"
#include "CommonButton.h"
#include "EFortCollectionBookPopupButtonType.h"
#include "FortCollectionBookSlotButton.generated.h"
class UFortCollectionBookSlotWidget;
class UMenuAnchor;
class UWidget;
UCLASS(Abstract, Blueprintable, EditInlineNew)
class UFortCollectionBookSlotButton : public UCommonButton {
GENERATED_BODY()
public:
protected:
UPROPERTY(BlueprintReadWrite, EditAnywhere, Instanced, meta=(AllowPrivateAccess=true))
UFortCollectionBookSlotWidget* CollectionBookSlotWidget;
UPROPERTY(BlueprintReadWrite, EditAnywhere, Instanced, meta=(AllowPrivateAccess=true))
UMenuAnchor* PopupMenuAnchor;
public:
UFortCollectionBookSlotButton();
UFUNCTION(BlueprintCallable)
void PopupMenuClosedWithAction(EFortCollectionBookPopupButtonType Selection);
private:
UFUNCTION(BlueprintCallable)
void OnSlottedItemUpdated();
UFUNCTION(BlueprintCallable)
UWidget* GetPopupMenu();
};