mirror of
https://github.com/ApfelTeeSaft/UnrealEvent.git
synced 2026-08-27 03:43:40 +00:00
40 lines
1.2 KiB
C++
40 lines
1.2 KiB
C++
#include "FortMissionStormSafeZone.h"
|
|
#include "Components/StaticMeshComponent.h"
|
|
#include "AbilitySystemComponent.h"
|
|
#include "Net/UnrealNetwork.h"
|
|
|
|
void AFortMissionStormSafeZone::SetSafeZoneRadius(const float InRadius) {
|
|
}
|
|
|
|
|
|
void AFortMissionStormSafeZone::OnRep_ZoneRadius() {
|
|
}
|
|
|
|
void AFortMissionStormSafeZone::OnRep_SafeZoneInStormStateChanged() {
|
|
}
|
|
|
|
|
|
float AFortMissionStormSafeZone::GetSafeZoneRadius() const {
|
|
return 0.0f;
|
|
}
|
|
|
|
float AFortMissionStormSafeZone::GetConvertedSafeZoneRadius() const {
|
|
return 0.0f;
|
|
}
|
|
|
|
void AFortMissionStormSafeZone::GetLifetimeReplicatedProps(TArray<FLifetimeProperty>& OutLifetimeProps) const {
|
|
Super::GetLifetimeReplicatedProps(OutLifetimeProps);
|
|
|
|
DOREPLIFETIME(AFortMissionStormSafeZone, bSafeZoneInStormStateChanged);
|
|
DOREPLIFETIME(AFortMissionStormSafeZone, SafeZoneRadius);
|
|
}
|
|
|
|
AFortMissionStormSafeZone::AFortMissionStormSafeZone() {
|
|
this->SafeZoneMesh = CreateDefaultSubobject<UStaticMeshComponent>(TEXT("Safe Zone Mesh"));
|
|
this->bScaleUniformly = true;
|
|
this->bSafeZoneInStormStateChanged = false;
|
|
this->SafeZoneRadius = 0.00f;
|
|
this->AbilityComponent = CreateDefaultSubobject<UAbilitySystemComponent>(TEXT("Ability Component"));
|
|
}
|
|
|