diff options
| author | Aetias <aetias@outlook.com> | 2024-02-18 11:41:18 +0100 |
|---|---|---|
| committer | Aetias <aetias@outlook.com> | 2024-02-18 11:41:18 +0100 |
| commit | 64aea4ed325147a4d66b95b1eb514aad08c3e734 (patch) | |
| tree | b44c0e9cd388609307b3dddd4c4e7de2f50c1718 /src/ItemManager.cpp | |
| parent | 2c46503ca1bc793f8c5028cbd21757f69c637127 (diff) | |
Decomp `ItemManager::GetTreasureCount`
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 2d37ca5d..480e96cd 100644 --- a/src/ItemManager.cpp +++ b/src/ItemManager.cpp @@ -288,3 +288,7 @@ THUMB void ItemManager::SetShipPartCount(ShipPart part, ShipType type, s8 count) if (count > 99) count = 99;
this->mShipParts[part][type] = count;
}
+
+THUMB s8 ItemManager::GetTreasureCount(Treasure treasure) const {
+ return this->mTreasure[treasure];
+}
|
