martinluckyrobots 3eb18f4d20 Optimize some WB_GameWidget codes and Gameinstance codes
2025-04-04 10:21:44 +08:00

28 lines
572 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, ELogItemType LogItemType);
UFUNCTION(BlueprintImplementableEvent)
void DoRefreshListView();
};