From 8c238093dac9f74b8a34948b1e3f7d3825917572 Mon Sep 17 00:00:00 2001 From: Ji Yoon Rhee Date: Fri, 6 Jun 2025 22:02:07 +0900 Subject: [PATCH] added BlueprintCallable specifier to BuyTradableItems() event --- hwanyoung2/Source/hwanyoung2/HYShopNPCActor.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hwanyoung2/Source/hwanyoung2/HYShopNPCActor.h b/hwanyoung2/Source/hwanyoung2/HYShopNPCActor.h index f30172b2..446f031e 100644 --- a/hwanyoung2/Source/hwanyoung2/HYShopNPCActor.h +++ b/hwanyoung2/Source/hwanyoung2/HYShopNPCActor.h @@ -20,7 +20,7 @@ public: // This Function will be called when player buy the item. // @param Controller: Player Controller, ItemToBuy: the item structure(Data) to buy, Amount: the number of the item. - UFUNCTION(BlueprintNativeEvent) + UFUNCTION(BlueprintNativeEvent, BlueprintCallable) void BuyTradableItem(APlayerController* Controller, const FInventoryItem ItemToBuy, const int Amount); // This Function will be called when player buy the item.