i'm losing my mind wtf is this
This commit is contained in:
@ -5,15 +5,24 @@
|
||||
|
||||
AHYPlayerCharacController::AHYPlayerCharacController()
|
||||
{
|
||||
//this is hardcoding the limits:
|
||||
InventorySlotLimit = 50;
|
||||
InventoryWeightLimit = 500;
|
||||
}
|
||||
|
||||
void AHYPlayerCharacController::ReloadInventory()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
int32 AHYPlayerCharacController::GetInventoryWeight()
|
||||
{
|
||||
return int32();
|
||||
int32 TotalWeight = 0;
|
||||
|
||||
for (auto& Item : Inventory) {
|
||||
TotalWeight += 1; //hard coding for now
|
||||
}
|
||||
return TotalWeight;
|
||||
}
|
||||
|
||||
bool AHYPlayerCharacController::AddItemToInventoryByID(FName ID)
|
||||
@ -21,6 +30,15 @@ bool AHYPlayerCharacController::AddItemToInventoryByID(FName ID)
|
||||
return false;
|
||||
}
|
||||
|
||||
void AHYPlayerCharacController::Interact()
|
||||
{
|
||||
}
|
||||
|
||||
void AHYPlayerCharacController::SetupInputComponent()
|
||||
{
|
||||
Super::SetupInputComponent();
|
||||
}
|
||||
|
||||
void AHYPlayerCharacController::OnPossess(APawn* InPawn)
|
||||
{
|
||||
|
||||
|
Reference in New Issue
Block a user