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

33 lines
848 B
C++

#include "DestinationTrackerPawnComponent.h"
#include "Net/UnrealNetwork.h"
void UDestinationTrackerPawnComponent::OnRep_Destination() {
}
bool UDestinationTrackerPawnComponent::HasDestination() const {
return false;
}
float UDestinationTrackerPawnComponent::GetDistanceSquared() const {
return 0.0f;
}
FRotator UDestinationTrackerPawnComponent::GetDirection() const {
return FRotator{};
}
FVector UDestinationTrackerPawnComponent::GetDestination() const {
return FVector{};
}
void UDestinationTrackerPawnComponent::GetLifetimeReplicatedProps(TArray<FLifetimeProperty>& OutLifetimeProps) const {
Super::GetLifetimeReplicatedProps(OutLifetimeProps);
DOREPLIFETIME(UDestinationTrackerPawnComponent, Destination);
}
UDestinationTrackerPawnComponent::UDestinationTrackerPawnComponent() {
DistanceSquared = 1;
}