You've already forked LuckyWorld
Optimize some WB_GameWidget codes
This commit is contained in:
@ -4,6 +4,7 @@
|
||||
|
||||
#include "CoreMinimal.h"
|
||||
#include "Blueprint/UserWidget.h"
|
||||
#include "SharedDef.h"
|
||||
#include "GameUserWidget.generated.h"
|
||||
|
||||
/**
|
||||
@ -19,7 +20,7 @@ protected:
|
||||
|
||||
public:
|
||||
UFUNCTION(BlueprintImplementableEvent)
|
||||
void DoLogItemAdd(const FString& Topic, const FString& MsgText,int Type);
|
||||
void DoLogItemAdd(const FString& Topic, const FString& MsgText,int Type, ELogItemType LogItemType);
|
||||
|
||||
UFUNCTION(BlueprintImplementableEvent)
|
||||
void DoRefreshListView();
|
||||
|
@ -51,7 +51,7 @@ public:
|
||||
void DoSendMessage(FString SendValue);
|
||||
|
||||
UFUNCTION(BlueprintCallable)
|
||||
void DoLogItemAdd(FString Topic, FString MsgText, int Type);
|
||||
void DoLogItemAdd(FString Topic, FString MsgText, int Type, ELogItemType LogItemType);
|
||||
|
||||
UFUNCTION(BlueprintCallable)
|
||||
void SwitchGamePaused();
|
||||
|
@ -108,7 +108,14 @@ enum class ESaveDataType : uint8
|
||||
none UMETA(DisplayName = "none")
|
||||
};
|
||||
|
||||
|
||||
UENUM(BlueprintType)
|
||||
enum class ELogItemType : uint8
|
||||
{
|
||||
Debug UMETA(DisplayName = "Debug"),
|
||||
War UMETA(DisplayName = "War"),
|
||||
Error UMETA(DisplayName = "Error"),
|
||||
Consol UMETA(DisplayName = "Consol")
|
||||
};
|
||||
USTRUCT(BlueprintType)
|
||||
struct FRobotData : public FTableRowBase
|
||||
{
|
||||
|
Reference in New Issue
Block a user