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

42 lines
1.5 KiB
C++
Executable file

#include "BasicThrowableItem.h"
#include "Components/BoxComponent.h"
#include "Components/SphereComponent.h"
#include "Components/StaticMeshComponent.h"
#include "CarriableComponent.h"
#include "FirstPersonStaticMeshComponent.h"
#include "InstantUsable.h"
void ABasicThrowableItem::ThrowItem(const FVector& throwForce) {
}
void ABasicThrowableItem::ResetImpactSound() {
}
void ABasicThrowableItem::OnUsed(APlayerCharacter* User, EInputKeys Key) {
}
void ABasicThrowableItem::OnUsableChanged(bool CanUse) {
}
void ABasicThrowableItem::OnPickedUp() {
}
void ABasicThrowableItem::OnDropped() {
}
void ABasicThrowableItem::OnComponentHit(UPrimitiveComponent* HitComponent, AActor* OtherActor, UPrimitiveComponent* OtherComp, FVector NormalImpulse, const FHitResult& Hit) {
}
ABasicThrowableItem::ABasicThrowableItem() {
this->BoxComp = CreateDefaultSubobject<UBoxComponent>(TEXT("BoxCollision"));
this->UseSphere = CreateDefaultSubobject<USphereComponent>(TEXT("UseSphere"));
this->CarriableComp = CreateDefaultSubobject<UCarriableComponent>(TEXT("Carriable"));
this->UsableComp = CreateDefaultSubobject<UInstantUsable>(TEXT("Usable"));
this->WorldMeshComp = CreateDefaultSubobject<UStaticMeshComponent>(TEXT("ThirdpersonMesh"));
this->ViewMeshComp = CreateDefaultSubobject<UFirstPersonStaticMeshComponent>(TEXT("FirstPersonMesh"));
this->ImpactSound = NULL;
this->SquaredMinImpactForce = 100.00f;
this->ImpactAudioResetTime = 0.20f;
this->SquaredMinThrowforce = 10.00f;
}