mirror of
https://github.com/ApfelTeeSaft/UnrealEvent.git
synced 2026-08-27 03:43:40 +00:00
36 lines
988 B
C++
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();
|
|
|
|
};
|
|
|