added BlueprintCallable specifier to BuyTradableItems() event
This commit is contained in:
parent
a34821b9c8
commit
8c238093da
@ -20,7 +20,7 @@ public:
|
|||||||
|
|
||||||
// This Function will be called when player buy the item.
|
// 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.
|
// @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);
|
void BuyTradableItem(APlayerController* Controller, const FInventoryItem ItemToBuy, const int Amount);
|
||||||
|
|
||||||
// This Function will be called when player buy the item.
|
// This Function will be called when player buy the item.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user