Files
FNGameProj/Source/FortniteGame/Private/FortServerDebugActor.cpp
T
2024-03-03 23:44:39 +01:00

32 lines
1.3 KiB
C++

#include "FortServerDebugActor.h"
#include "Net/UnrealNetwork.h"
void AFortServerDebugActor::GetLifetimeReplicatedProps(TArray<FLifetimeProperty>& OutLifetimeProps) const {
Super::GetLifetimeReplicatedProps(OutLifetimeProps);
DOREPLIFETIME(AFortServerDebugActor, ServerMemSharedInKb);
DOREPLIFETIME(AFortServerDebugActor, ServerMemUniqueInKb);
DOREPLIFETIME(AFortServerDebugActor, ServerMemVirtualInKb);
DOREPLIFETIME(AFortServerDebugActor, ServerMemPhysicalInKb);
DOREPLIFETIME(AFortServerDebugActor, SharedDeltaInLastMinute);
DOREPLIFETIME(AFortServerDebugActor, SharedDeltaSinceProcessStart);
DOREPLIFETIME(AFortServerDebugActor, SharedDeltaSinceDebugStart);
DOREPLIFETIME(AFortServerDebugActor, UniqueDeltaInLastMinute);
DOREPLIFETIME(AFortServerDebugActor, UniqueDeltaSinceProcessStart);
DOREPLIFETIME(AFortServerDebugActor, UniqueDeltaSinceDebugStart);
}
AFortServerDebugActor::AFortServerDebugActor() {
this->ServerMemSharedInKb = 0;
this->ServerMemUniqueInKb = 0;
this->ServerMemVirtualInKb = 0;
this->ServerMemPhysicalInKb = 0;
this->SharedDeltaInLastMinute = 0;
this->SharedDeltaSinceProcessStart = 0;
this->SharedDeltaSinceDebugStart = 0;
this->UniqueDeltaInLastMinute = 0;
this->UniqueDeltaSinceProcessStart = 0;
this->UniqueDeltaSinceDebugStart = 0;
}