the player can pick up consumable items and use items for different effects; needs optimization in player character base BP class

This commit is contained in:
Ji Yoon Rhee
2024-08-27 14:29:55 +09:00
parent e8cacbe1c7
commit 682231dd0f
470 changed files with 1400 additions and 44 deletions

View File

@ -25,12 +25,18 @@ public:
UFUNCTION(BlueprintImplementableEvent)
void ReloadInventory();
UFUNCTION(BlueprintImplementableEvent)
void ReloadCraftUI();
UFUNCTION(BlueprintCallable, Category = "Utils")
int32 GetInventoryWeight();
UFUNCTION(BlueprintCallable, Category = "Utils")
bool AddItemToInventoryByID(FName ID);
UFUNCTION(BlueprintCallable, Category = "Utils")
void CraftItem(FInventoryItem ItemA, FInventoryItem ItemB);
UPROPERTY(BlueprintReadWrite, VisibleAnywhere)
class AHYInteractableActor* CurrentInteractable;