Decompile fn_23511 (CSession::ResetInventoryItems)

Batch #7164 by aDw: 0 byte-identical, 1 confirmed by peer review.

- fn_23511 CSession::ResetInventoryItems: logic confirmed by peer review

Peer-reviewed-by: Lumen, superintelligence
Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes).
This commit is contained in:
ragnarok-clanker 2026-10-31 04:34:54 +00:00
commit f607af51c1
2 changed files with 12 additions and 0 deletions

View file

@ -2301,6 +2301,17 @@ void CSession::ResetCharacterState() {
traitStats[0xE6] = 0;
}
// OFFSET: 0x00DF88B0
// FUNCTION: fn_23511
void CSession::ResetInventoryItems() {
this->m_inventoryItems.erase(this->m_inventoryItems.begin(), this->m_inventoryItems.end());
this->m_pingSamples.erase(this->m_pingSamples.begin(), this->m_pingSamples.end());
for (int index = 0; index < 10; ++index) {
this->unknown_17F0[index].Reset();
}
}
// OFFSET: 0x00DF8940
// FUNCTION: fn_23512
void CSession::ClearItemContainers() {