mirror of
https://github.com/Ed94/Cog.git
synced 2026-08-01 20:28:14 +00:00
27 lines
586 B
C++
27 lines
586 B
C++
#pragma once
|
|
|
|
#include "CoreMinimal.h"
|
|
#include "CogDebugLogCategory.generated.h"
|
|
|
|
struct FCogLogCategory;
|
|
|
|
//--------------------------------------------------------------------------------------------------------------------------
|
|
USTRUCT(BlueprintType)
|
|
struct COGDEBUG_API FCogLogCategory
|
|
{
|
|
GENERATED_USTRUCT_BODY()
|
|
|
|
FCogLogCategory() {}
|
|
|
|
UPROPERTY(EditAnywhere, BlueprintReadWrite)
|
|
FName Name;
|
|
|
|
FString GetName() const { return Name.ToString(); }
|
|
|
|
FLogCategoryBase* GetLogCategory() const;
|
|
|
|
private:
|
|
|
|
mutable FLogCategoryBase* LogCategory = nullptr;
|
|
};
|