38 lines
1.2 KiB
C++
Executable file
38 lines
1.2 KiB
C++
Executable file
#include "TetherStation.h"
|
|
#include "Components/SceneComponent.h"
|
|
#include "Components/SkeletalMeshComponent.h"
|
|
#include "Net/UnrealNetwork.h"
|
|
|
|
void ATetherStation::SpawnGeneratorLines(const FTransform& startL, const FTransform& startR, const TArray<FTransform>& endL, const TArray<FTransform>& endR, AFacilityGeneratorLine*& outLineL, AFacilityGeneratorLine*& outLineR) {
|
|
}
|
|
|
|
void ATetherStation::SetGeneratorsReady(bool ready) {
|
|
}
|
|
|
|
void ATetherStation::Onrep_FacilityActive() {
|
|
}
|
|
|
|
void ATetherStation::OnRep_AreGeneratorsReady() {
|
|
}
|
|
|
|
|
|
|
|
|
|
void ATetherStation::ActivateFacility() {
|
|
}
|
|
|
|
void ATetherStation::GetLifetimeReplicatedProps(TArray<FLifetimeProperty>& OutLifetimeProps) const {
|
|
Super::GetLifetimeReplicatedProps(OutLifetimeProps);
|
|
|
|
DOREPLIFETIME(ATetherStation, AreGeneratorsReady);
|
|
DOREPLIFETIME(ATetherStation, FacilityActive);
|
|
}
|
|
|
|
ATetherStation::ATetherStation() {
|
|
this->SceneRoot = CreateDefaultSubobject<USceneComponent>(TEXT("SceneRoot"));
|
|
this->BaseMesh = CreateDefaultSubobject<USkeletalMeshComponent>(TEXT("BaseMesh"));
|
|
this->FacilityGeneratorLineType = NULL;
|
|
this->AreGeneratorsReady = false;
|
|
this->FacilityActive = false;
|
|
}
|
|
|