#include "MULE.h" #include "HealthComponent.h" #include "Net/UnrealNetwork.h" #include "SimpleObjectInfoComponent.h" void AMULE::SetIsDown(bool NewIsDown) { } void AMULE::GetLifetimeReplicatedProps(TArray& OutLifetimeProps) const { Super::GetLifetimeReplicatedProps(OutLifetimeProps); DOREPLIFETIME(AMULE, IsDown); } AMULE::AMULE() { this->HealthComponent = CreateDefaultSubobject(TEXT("HealthComponent")); this->ObjectInfo = CreateDefaultSubobject(TEXT("ObjectInfo")); this->IsDown = false; }