You've already forked LuckyWorld
Optimize some UI
This commit is contained in:
@ -6,6 +6,8 @@
|
||||
#include "Blueprint/UserWidget.h"
|
||||
#include "AllRandomUserWidget.generated.h"
|
||||
|
||||
class UWrapBox;
|
||||
class UObjectsListUserWidget;
|
||||
/**
|
||||
*
|
||||
*/
|
||||
@ -13,8 +15,25 @@ UCLASS()
|
||||
class LUCKYWORLDV2_API UAllRandomUserWidget : public UUserWidget
|
||||
{
|
||||
GENERATED_BODY()
|
||||
|
||||
|
||||
protected:
|
||||
virtual void NativeConstruct() override;
|
||||
|
||||
public:
|
||||
UFUNCTION(BlueprintCallable, BlueprintImplementableEvent)
|
||||
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Config")
|
||||
TSubclassOf<UObjectsListUserWidget> ObjectsListUserWidgetClass;
|
||||
|
||||
public:
|
||||
UFUNCTION(BlueprintCallable)
|
||||
void DoAllRandomMenuStateChanged(bool open);
|
||||
|
||||
UFUNCTION(BlueprintCallable)
|
||||
void DoUpdateItemList(EItemCategory ItemCategory);
|
||||
|
||||
UFUNCTION(BlueprintCallable)
|
||||
void DoOpen();
|
||||
|
||||
public:
|
||||
UFUNCTION(BlueprintPure, BlueprintImplementableEvent)
|
||||
UWrapBox* GetWrapBox();
|
||||
};
|
||||
|
Reference in New Issue
Block a user