Files
FNGameProj/Source/FortniteGame/Private/AthenaBuildingFoundationObjective.cpp
T
2024-06-07 01:17:09 +02:00

17 lines
522 B
C++

#include "AthenaBuildingFoundationObjective.h"
#include "Net/UnrealNetwork.h"
void AAthenaBuildingFoundationObjective::GetLifetimeReplicatedProps(TArray<FLifetimeProperty>& OutLifetimeProps) const {
Super::GetLifetimeReplicatedProps(OutLifetimeProps);
DOREPLIFETIME(AAthenaBuildingFoundationObjective, CurrentHealth);
DOREPLIFETIME(AAthenaBuildingFoundationObjective, MaxHealth);
}
AAthenaBuildingFoundationObjective::AAthenaBuildingFoundationObjective() {
CurrentHealth = 1;
MaxHealth = 1;
}