#include "FortServerDebugActor.h" #include "Net/UnrealNetwork.h" void AFortServerDebugActor::GetLifetimeReplicatedProps(TArray& 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; }