#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& OutLifetimeProps) const { Super::GetLifetimeReplicatedProps(OutLifetimeProps); DOREPLIFETIME(ATether, IsOnGround); } ATether::ATether() { this->BaseMesh = CreateDefaultSubobject(TEXT("BaseMesh")); this->UsableComponent = CreateDefaultSubobject(TEXT("Usable")); this->Carry = CreateDefaultSubobject(TEXT("CarryComponent")); this->UseTrigger = CreateDefaultSubobject(TEXT("UseTrigger")); this->TetherBeam = CreateDefaultSubobject(TEXT("TetherBeam")); this->PysicalCollision = CreateDefaultSubobject(TEXT("PhysCollision")); this->ExplosionDamage = CreateDefaultSubobject(TEXT("ExplosionDamage")); this->ExplosionParticle = NULL; this->ExplosionSound = NULL; this->IsOnGround = false; this->KnockBackForce = 300.00f; }