From 785974e1697404a7180b8d441355e0264f0ed389 Mon Sep 17 00:00:00 2001 From: MH261677 Date: Mon, 14 Nov 2022 16:58:20 +0000 Subject: [PATCH] Updated TempCharacter Commented the headerFile for tempcharacter.h --- Source/the_twilight_abyss/PlayerTemp/TempCharacter.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Source/the_twilight_abyss/PlayerTemp/TempCharacter.h b/Source/the_twilight_abyss/PlayerTemp/TempCharacter.h index 11da9ba..7cafb29 100644 --- a/Source/the_twilight_abyss/PlayerTemp/TempCharacter.h +++ b/Source/the_twilight_abyss/PlayerTemp/TempCharacter.h @@ -11,6 +11,10 @@ class THE_TWILIGHT_ABYSS_API ATempCharacter : public ACharacter { GENERATED_BODY() + //Player inventory + UPROPERTY(EditAnywhere, BlueprintReadOnly, Category = Inventory, meta = (AllowPrivateAccess = "true")) + class UInventoryComponent* Inventory; //Using the InventoryComponent class + public: // Sets default values for this character's properties ATempCharacter(); @@ -41,5 +45,5 @@ public: //Using the item in the inventory UFUNCTION(BlueprintCallable, Category= "Items") - void UseItem(class UBaseItem* Item); + void UseItem(class UBaseItem* Item); // Overriding the BaseItem Class };