added BlueprintCallable specifier to BuyTradableItems() event

This commit is contained in:
Ji Yoon Rhee 2025-06-06 22:02:07 +09:00
parent a34821b9c8
commit 8c238093da

View File

@ -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.