Space Plunder
Loading...
Searching...
No Matches
GameplayDebuggerCategory_Server.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#if WITH_GAMEPLAY_DEBUGGER
6
7#include "CoreMinimal.h"
8#include "GameplayDebuggerCategory.h"
9#include "GameplayDebuggerTypes.h"
10
11// namespace FGameplayDebuggerServerVars
12// {
13// inline bool bShowServerValues = false;
14// inline float RefreshInterval = 0.5f;
15// }
16
17
21class AActor;
22class APlayerController;
23
24class FGameplayDebuggerCategory_Server : public FGameplayDebuggerCategory
25{
26public:
27
28 FGameplayDebuggerCategory_Server();
29
30 virtual void CollectData(APlayerController* OwnerPC, AActor* DebugActor) override;
31 virtual void DrawData(APlayerController* OwnerPC, FGameplayDebuggerCanvasContext& CanvasContext) override;
32
33 static TSharedRef<FGameplayDebuggerCategory> MakeInstance();
34
35
36
37
38 // void ToggleShowServerValues();
39
40
41protected:
42
43 struct FRepData
44 {
45 // FString PawnName;
46 // bool bCanChangeReference = false;
47 // bool bIsUsingPlayerActor = false;
48
49 void Serialize(FArchive& Ar);
50 };
51
52 FRepData DataPack;
53
54};
55
56
57#endif