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

23 lines
690 B
C++
Executable file

#include "DestructibleSubHealthComponent.h"
#include "Net/UnrealNetwork.h"
void UDestructibleSubHealthComponent::ResetHealth() {
}
void UDestructibleSubHealthComponent::OnRep_Damage(float oldDamage) {
}
void UDestructibleSubHealthComponent::GetLifetimeReplicatedProps(TArray<FLifetimeProperty>& OutLifetimeProps) const {
Super::GetLifetimeReplicatedProps(OutLifetimeProps);
DOREPLIFETIME(UDestructibleSubHealthComponent, Damage);
}
UDestructibleSubHealthComponent::UDestructibleSubHealthComponent() {
this->MaxHealth = 0.00f;
this->RadialDamageResistance = 0.00f;
this->AllowInderectDamage = false;
this->Damage = 0.00f;
this->ArmorComponent = NULL;
}