#include "RessuplyPod.h" #include "DamageComponent.h" #include "Net/UnrealNetwork.h" #include "Templates/SubclassOf.h" void ARessuplyPod::SetIdling() { } void ARessuplyPod::OnRep_TargetLocation() { } void ARessuplyPod::OnRep_State(ERessuplyPodState oldState) { } AActor* ARessuplyPod::DropToTarget(UObject* WorldContextObject, TSubclassOf podClass, const FVector& Location, AActor* requester) { return NULL; } void ARessuplyPod::GetLifetimeReplicatedProps(TArray& OutLifetimeProps) const { Super::GetLifetimeReplicatedProps(OutLifetimeProps); DOREPLIFETIME(ARessuplyPod, TargetLocation); DOREPLIFETIME(ARessuplyPod, State); DOREPLIFETIME(ARessuplyPod, ServerDropProgress); } ARessuplyPod::ARessuplyPod() { this->Damage = CreateDefaultSubobject(TEXT("Damage")); this->KillRadius = 150.00f; this->DropHeight = 3500.00f; this->DropDelay = 0.00f; this->MissionShoutDelay = 2.00f; this->ShoutDialogOrderAccepted = NULL; this->DialogOrderAccepted = NULL; this->DialogPodArrived = NULL; this->CurrentMissionShout = NULL; this->State = ERessuplyPodState::ReadyToDrop; this->TargetDropTime = 0.00f; this->ServerDropProgress = 0.00f; this->DropCurve = NULL; this->PlayerSpawnPoint = NULL; this->CloseToImpactDistance = 150.00f; }