Files
LuckyWorld/Source/LuckyWorldV2/Public/UI/Settings/AllRandomUserWidget.h

40 lines
850 B
C
Raw Normal View History

2025-04-14 19:36:02 +08:00
// 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"
2025-04-17 23:30:37 +08:00
class UWrapBox;
class UObjectsListUserWidget;
2025-04-14 19:36:02 +08:00
/**
*
*/
UCLASS()
class LUCKYWORLDV2_API UAllRandomUserWidget : public UUserWidget
{
GENERATED_BODY()
2025-04-17 23:30:37 +08:00
protected:
virtual void NativeConstruct() override;
public:
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Config")
TSubclassOf<UObjectsListUserWidget> ObjectsListUserWidgetClass;
2025-04-14 19:36:02 +08:00
public:
2025-04-17 23:30:37 +08:00
UFUNCTION(BlueprintCallable)
void DoAllRandomMenuStateChanged(bool open);
UFUNCTION(BlueprintCallable)
void DoUpdateItemList(EItemCategory ItemCategory);
UFUNCTION(BlueprintCallable)
2025-04-14 19:36:02 +08:00
void DoOpen();
2025-04-17 23:30:37 +08:00
public:
UFUNCTION(BlueprintPure, BlueprintImplementableEvent)
UWrapBox* GetWrapBox();
2025-04-14 19:36:02 +08:00
};