DRG-Femboy-Voice/Source/FSD/Private/ThrowableActor.cpp
2025-04-15 12:39:31 -07:00

22 lines
624 B
C++
Executable file

#include "ThrowableActor.h"
#include "GameFramework/ProjectileMovementComponent.h"
#include "Net/UnrealNetwork.h"
void AThrowableActor::OnRep_IsMoving() {
}
void AThrowableActor::GetLifetimeReplicatedProps(TArray<FLifetimeProperty>& OutLifetimeProps) const {
Super::GetLifetimeReplicatedProps(OutLifetimeProps);
DOREPLIFETIME(AThrowableActor, IsMoving);
}
AThrowableActor::AThrowableActor() {
this->Movement = CreateDefaultSubobject<UProjectileMovementComponent>(TEXT("ProjectileMovement"));
this->IsMoving = true;
this->IgnoreFellOutOfWorld = false;
this->IgnoreOwnersCollision = true;
}