diff options
| author | Aetias <aetias@outlook.com> | 2024-02-18 11:37:33 +0100 |
|---|---|---|
| committer | Aetias <aetias@outlook.com> | 2024-02-18 11:37:33 +0100 |
| commit | 90c42ba87028b2b64cede2fdad2cf729b1482638 (patch) | |
| tree | e675a0ca6a25804f7efa4fcf8fbb95265db28926 /src/ItemManager.cpp | |
| parent | 5697dceffab334023cbb4cf76e85eca6467cc337 (diff) | |
Decomp `ItemManager::GetShipPartCount`
Diffstat (limited to 'src/ItemManager.cpp')
| -rw-r--r-- | src/ItemManager.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
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];
+}
|
