From 90c42ba87028b2b64cede2fdad2cf729b1482638 Mon Sep 17 00:00:00 2001 From: Aetias Date: Sun, 18 Feb 2024 11:37:33 +0100 Subject: Decomp `ItemManager::GetShipPartCount` --- src/ItemManager.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/ItemManager.cpp') diff --git a/src/ItemManager.cpp b/src/ItemManager.cpp index 4582686b..abca58d5 100644 --- a/src/ItemManager.cpp +++ b/src/ItemManager.cpp @@ -279,3 +279,7 @@ THUMB ShipType ItemManager::GetEquippedShipPart(ShipPart part) const { THUMB void ItemManager::EquipShipPart(ShipPart part, ShipType type) { this->mEquippedShipParts[part] = type; } + +THUMB s8 ItemManager::GetShipPartCount(ShipPart part, ShipType type) const { + return this->mShipParts[part][type]; +} -- cgit v1.2.3