#include "HostileGuntowerModule.h" #include "Particles/ParticleSystemComponent.h" #include "Components/SkeletalMeshComponent.h" #include "EnemyComponent.h" #include "Net/UnrealNetwork.h" void AHostileGuntowerModule::OnWeakpointDied(UHealthComponentBase* Health) { } void AHostileGuntowerModule::OnRep_ModuleMaxHealth() { } void AHostileGuntowerModule::OnModuleDied(UHealthComponentBase* Health) { } void AHostileGuntowerModule::GetLifetimeReplicatedProps(TArray& OutLifetimeProps) const { Super::GetLifetimeReplicatedProps(OutLifetimeProps); DOREPLIFETIME(AHostileGuntowerModule, ModuleMaxHealth); DOREPLIFETIME(AHostileGuntowerModule, CurrentAimRotation); } AHostileGuntowerModule::AHostileGuntowerModule() { this->DestroyedMesh = CreateDefaultSubobject(TEXT("DestroyedMesh")); this->DestroyedSmoke = CreateDefaultSubobject(TEXT("DestroyedSmoke")); this->EnemyComponent = CreateDefaultSubobject(TEXT("EnemyComponent")); this->ModuleMaxHealth = 1.00f; }