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.