5#include "CoreMinimal.h"
6#include "Components/WidgetComponent.h"
7#include "ScreenFacingWidgetComponent.generated.h"
13UCLASS(Blueprintable, ClassGroup=(BucciGames), hidecategories=(Object,Activation,
"Components|Activation",Sockets,
Base,Lighting,LOD,Mesh), editinlinenew, meta=(BlueprintSpawnableComponent) )
14class BASEHELPERS_API UScreenFacingWidgetComponent :
public UWidgetComponent
20 UScreenFacingWidgetComponent();
22 UFUNCTION(BlueprintCallable, Category="Widget")
23 virtual
void SetCollapsed(const
bool bCollapsed = true);
25 UFUNCTION(BlueprintCallable, Category="Widget")
26 void SetOwnerPlayerFromController(APlayerController* PlayerController);
28 UFUNCTION(BlueprintCallable, Category="Widget")
29 void SetOwnerPlayerFromPawn(APawn* PlayerPawn);
33 virtual
void BeginPlay() override;
35 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category="Widget")
36 bool bStartCollapsed = false;
38 void LogDebugError(const FString& Message) const;
39 void LogDebugError(const FString& Message, const int32 Value) const;
40 void LogDebugError(const FString& Message, const
float Value) const;
41 void LogDebugWarning(const FString& Message) const;
42 void LogDebugWarning(const FString& Message, const int32 Value) const;
43 void LogDebugWarning(const FString& Message, const
float Value) const;
45 void LogDebugMessage(const FString& Message, const
bool bWarning = false, const
bool bError = false) const;
46 void LogDebugMessage(const FString& Message, const int32 Value, const
bool bWarning = false, const
bool bError = false) const;
47 void LogDebugMessage(const FString& Message, const
float Value, const
bool bWarning = false, const
bool bError = false) const;
48 void LogDebugMessage(const FString& Message, const
bool bValue, const
bool bWarning, const
bool bError) const;
49 void LogOnScreenMessage(const int32 Key, const FString& Message, FColor Color = FColor::Green) const;
51 void SetCategoryName(const FLogCategoryBase& Category){CategoryName = Category.GetCategoryName();};
53 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category=
"Character|Debugging")
54 bool bDebuggingMode = false;
58 FLogCategoryName CategoryName = LogScreenFacingWidget.GetCategoryName();
62 UMaterialInterface* ScreenSpace;
UCLASS(Blueprintable, BlueprintType, ClassGroup=(BucciGames), meta=(BlueprintSpawnableComponent)) class CHATSYSTEM_API UChatSystemComponent
Definition ChatSystemComponent.h:13