Space Plunder
Loading...
Searching...
No Matches
BaseActivatableWidget.h
Go to the documentation of this file.
1// Fill out your copyright notice in the Description page of Project Settings.
2
3#pragma once
4
5#include "CoreMinimal.h"
6#include "CommonActivatableWidget.h"
7#include "BaseActivatableWidget.generated.h"
8
9DECLARE_LOG_CATEGORY_CLASS(LogBaseWidget, Display, All);
10
11
15UCLASS()
16class BASEHELPERS_API UBaseActivatableWidget : public UCommonActivatableWidget
17{
18 GENERATED_BODY()
19
20
21protected:
22 void LogDebugError(const FString& Message) const;
23 void LogDebugError(const FString& Message, const int32 Value) const;
24 void LogDebugError(const FString& Message, const float Value) const;
25 void LogDebugWarning(const FString& Message) const;
26 void LogDebugWarning(const FString& Message, const int32 Value) const;
27 void LogDebugWarning(const FString& Message, const float Value) const;
28
29 void LogDebugMessage(const FString& Message, const bool bWarning = false, const bool bError = false) const;
30 void LogDebugMessage(const FString& Message, const int32 Value, const bool bWarning = false, const bool bError = false) const;
31 void LogDebugMessage(const FString& Message, const float Value, const bool bWarning = false, const bool bError = false) const;
32 void LogDebugMessage(const FString& Message, const bool bValue, const bool bWarning, const bool bError) const;
33 void LogOnScreenMessage(const int32 Key, const FString& Message, FColor Color = FColor::Green) const;
34
35 void SetCategoryName(const FLogCategoryBase& Category){CategoryName = Category.GetCategoryName();};
36
37
38 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Common|Debugging")
39 bool bDebuggingMode = false;
40
41private:
42 FLogCategoryName CategoryName = LogBaseWidget.GetCategoryName();
43
44};
DECLARE_LOG_CATEGORY_CLASS(LogBaseWidget, Display, All)
UCLASS(Blueprintable, BlueprintType, ClassGroup=(BucciGames), meta=(BlueprintSpawnableComponent)) class CHATSYSTEM_API UChatSystemComponent
Definition ChatSystemComponent.h:13
Definition BaseActivatableWidget.h:17
void SetCategoryName(const FLogCategoryBase &Category)
Definition BaseActivatableWidget.h:35