martinluckyrobots 0a4ec92d9a Optimize some WB_GameWidget codes
2025-04-03 15:10:44 +08:00

28 lines
581 B
C++

// Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "CoreMinimal.h"
#include "Blueprint/UserWidget.h"
#include "SharedDef.h"
#include "GameUserWidget.generated.h"
/**
*
*/
UCLASS()
class LUCKYROBOTS_API UGameUserWidget : public UUserWidget
{
GENERATED_BODY()
protected:
virtual void NativeConstruct();
public:
UFUNCTION(BlueprintImplementableEvent)
void DoLogItemAdd(const FString& Topic, const FString& MsgText,int Type, ELogItemType LogItemType);
UFUNCTION(BlueprintImplementableEvent)
void DoRefreshListView();
};