// Fill out your copyright notice in the Description page of Project Settings. #pragma once #include "CoreMinimal.h" #include "Blueprint/UserWidget.h" #include "AllRandomUserWidget.generated.h" class UWrapBox; class UObjectsListUserWidget; /** * */ UCLASS() class LUCKYWORLDV2_API UAllRandomUserWidget : public UUserWidget { GENERATED_BODY() protected: virtual void NativeConstruct() override; public: UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Config") TSubclassOf ObjectsListUserWidgetClass; public: UFUNCTION(BlueprintCallable) void DoAllRandomMenuStateChanged(bool open); UFUNCTION(BlueprintCallable) void DoUpdateItemList(EItemCategory ItemCategory); UFUNCTION(BlueprintCallable) void DoOpen(); public: UFUNCTION(BlueprintPure, BlueprintImplementableEvent) UWrapBox* GetWrapBox(); };