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

19 lines
582 B
C++
Executable file

#include "DroneBase.h"
#include "Components/PointLightComponent.h"
#include "Net/UnrealNetwork.h"
void ADroneBase::OnRep_CurrentState(EDroneState Previous) {
}
void ADroneBase::GetLifetimeReplicatedProps(TArray<FLifetimeProperty>& OutLifetimeProps) const {
Super::GetLifetimeReplicatedProps(OutLifetimeProps);
DOREPLIFETIME(ADroneBase, CurrentState);
}
ADroneBase::ADroneBase() {
this->StateLight = CreateDefaultSubobject<UPointLightComponent>(TEXT("StateLight"));
this->DefaultState = EDroneState::EFollow;
this->CurrentState = EDroneState::EFollow;
}