#include "TowerEventModule.h" #include "Particles/ParticleSystemComponent.h" #include "Components/SceneComponent.h" #include "Components/SkeletalMeshComponent.h" #include "ArmorHealthDamageComponent.h" #include "EnemyHealthComponent.h" #include "Net/UnrealNetwork.h" #include "WeakpointGlowComponent.h" void ATowerEventModule::HideArmorPlates() { } void ATowerEventModule::DestroyArmor() { } void ATowerEventModule::GetLifetimeReplicatedProps(TArray& OutLifetimeProps) const { Super::GetLifetimeReplicatedProps(OutLifetimeProps); DOREPLIFETIME(ATowerEventModule, PreviousModule); DOREPLIFETIME(ATowerEventModule, NextModule); } ATowerEventModule::ATowerEventModule() { this->Root = CreateDefaultSubobject(TEXT("RootComponent")); this->Mesh = CreateDefaultSubobject(TEXT("MeshComponent")); this->Health = CreateDefaultSubobject(TEXT("HealthComponent")); this->ArmorDamage = CreateDefaultSubobject(TEXT("ArmorDamageComponent")); this->WeakpointGlow = CreateDefaultSubobject(TEXT("WeakpointGlowComponent")); this->SmokeParticles = CreateDefaultSubobject(TEXT("SmokeParticlesComponent")); this->DestroyedMesh = NULL; this->ExplosionSound = NULL; this->ExplosionEffect = NULL; this->PreviousModule = NULL; this->NextModule = NULL; this->ArmorMesh = NULL; this->ArmorPieces = 3; this->ArmorLifetime = 3.00f; this->ArmorPopForce = 300.00f; this->ArmorShedDelay = 0.50f; }