21 lines
517 B
C++
Executable file
21 lines
517 B
C++
Executable file
#include "ShootingPlant.h"
|
|
#include "Net/UnrealNetwork.h"
|
|
|
|
void AShootingPlant::SetTarget(AActor* NewTarget) {
|
|
}
|
|
|
|
void AShootingPlant::OnRep_Target_Implementation() {
|
|
}
|
|
|
|
void AShootingPlant::GetLifetimeReplicatedProps(TArray<FLifetimeProperty>& OutLifetimeProps) const {
|
|
Super::GetLifetimeReplicatedProps(OutLifetimeProps);
|
|
|
|
DOREPLIFETIME(AShootingPlant, IsVisible);
|
|
DOREPLIFETIME(AShootingPlant, Target);
|
|
}
|
|
|
|
AShootingPlant::AShootingPlant() {
|
|
this->IsVisible = false;
|
|
this->Target = NULL;
|
|
}
|
|
|