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

38 lines
1.3 KiB
C++
Executable file

#include "Tether.h"
#include "Components/SkeletalMeshComponent.h"
#include "Components/SphereComponent.h"
#include "NiagaraComponent.h"
#include "CarriableComponent.h"
#include "DamageComponent.h"
#include "InstantUsable.h"
#include "Net/UnrealNetwork.h"
void ATether::SetIsOnGround(bool NewIsOnGround) {
}
void ATether::Explode_Implementation() {
}
void ATether::GetLifetimeReplicatedProps(TArray<FLifetimeProperty>& OutLifetimeProps) const {
Super::GetLifetimeReplicatedProps(OutLifetimeProps);
DOREPLIFETIME(ATether, IsOnGround);
}
ATether::ATether() {
this->BaseMesh = CreateDefaultSubobject<USkeletalMeshComponent>(TEXT("BaseMesh"));
this->UsableComponent = CreateDefaultSubobject<UInstantUsable>(TEXT("Usable"));
this->Carry = CreateDefaultSubobject<UCarriableComponent>(TEXT("CarryComponent"));
this->UseTrigger = CreateDefaultSubobject<USphereComponent>(TEXT("UseTrigger"));
this->TetherBeam = CreateDefaultSubobject<UNiagaraComponent>(TEXT("TetherBeam"));
this->PysicalCollision = CreateDefaultSubobject<USphereComponent>(TEXT("PhysCollision"));
this->ExplosionDamage = CreateDefaultSubobject<UDamageComponent>(TEXT("ExplosionDamage"));
this->ExplosionParticle = NULL;
this->ExplosionSound = NULL;
this->IsOnGround = false;
this->KnockBackForce = 300.00f;
}