From 8f0a770bfb0705d7bcbdd6928fb4c3faba611746 Mon Sep 17 00:00:00 2001 From: MH261677 Date: Mon, 14 Nov 2022 16:52:04 +0000 Subject: [PATCH] Removed ItemPurchaseComponent script Removed the script as I am not using it for now and solely sticking to creating the inventory system and items currently. --- .../ItemPurchaseComponent.cpp | 35 ------------------- .../ItemPurchaseComponent.h | 26 -------------- 2 files changed, 61 deletions(-) delete mode 100644 Source/the_twilight_abyss/MerchantInteraction/ItemPurchaseComponent.cpp delete mode 100644 Source/the_twilight_abyss/MerchantInteraction/ItemPurchaseComponent.h diff --git a/Source/the_twilight_abyss/MerchantInteraction/ItemPurchaseComponent.cpp b/Source/the_twilight_abyss/MerchantInteraction/ItemPurchaseComponent.cpp deleted file mode 100644 index 0f06d98..0000000 --- a/Source/the_twilight_abyss/MerchantInteraction/ItemPurchaseComponent.cpp +++ /dev/null @@ -1,35 +0,0 @@ -// Fill out your copyright notice in the Description page of Project Settings. - - -#include "ItemPurchaseComponent.h" - - -// Sets default values for this component's properties -UItemPurchaseComponent::UItemPurchaseComponent() -{ - // Set this component to be initialized when the game starts, and to be ticked every frame. You can turn these features - // off to improve performance if you don't need them. - PrimaryComponentTick.bCanEverTick = true; - - // ... -} - - -// Called when the game starts -void UItemPurchaseComponent::BeginPlay() -{ - Super::BeginPlay(); - - // ... - -} - - -// Called every frame -void UItemPurchaseComponent::TickComponent(float DeltaTime, ELevelTick TickType, FActorComponentTickFunction* ThisTickFunction) -{ - Super::TickComponent(DeltaTime, TickType, ThisTickFunction); - - // ... -} - diff --git a/Source/the_twilight_abyss/MerchantInteraction/ItemPurchaseComponent.h b/Source/the_twilight_abyss/MerchantInteraction/ItemPurchaseComponent.h deleted file mode 100644 index 9b7bb90..0000000 --- a/Source/the_twilight_abyss/MerchantInteraction/ItemPurchaseComponent.h +++ /dev/null @@ -1,26 +0,0 @@ -// Fill out your copyright notice in the Description page of Project Settings. - -#pragma once - -#include "CoreMinimal.h" -#include "Components/ActorComponent.h" -#include "ItemPurchaseComponent.generated.h" - - -UCLASS(ClassGroup=(Custom), meta=(BlueprintSpawnableComponent)) -class THE_TWILIGHT_ABYSS_API UItemPurchaseComponent : public UActorComponent -{ - GENERATED_BODY() - -public: - // Sets default values for this component's properties - UItemPurchaseComponent(); - -protected: - // Called when the game starts - virtual void BeginPlay() override; - -public: - // Called every frame - virtual void TickComponent(float DeltaTime, ELevelTick TickType, FActorComponentTickFunction* ThisTickFunction) override; -};