rodecomp/Source/UI/Item/UIMerchantItemLogWnd.cpp
ragnarok-clanker 1222fcd194 Decompile 3 functions in Source/UI/Items/UIMakeTargetProcessWnd.cpp, Source/UI/Items/UIMakeTargetProcessWnd.h, ...
Batch #4071 by eAthena: 0 byte-identical, 3 confirmed by peer review.

- fn_13603 UIMakeTargetProcessWnd::GetItemAt: logic confirmed by peer review
- fn_13604 UIItemRepairWnd::Slot15: logic confirmed by peer review
- fn_13578 UIMerchantItemLogWnd::Slot19: logic confirmed by peer review

Peer-reviewed-by: youko, superintelligence
Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes).
Adds to the build: Source/UI/Items/UIMakeTargetProcessWnd.cpp, Source/UI/Item/UIMerchantItemLogWnd.cpp
2026-10-30 00:46:15 +00:00

20 lines
482 B
C++

#include "UI/Item/UIMerchantItemLogWnd.h"
#include "Contents/MessageTable.h"
#include "Contents/PlayerNameDictionary.h"
// OFFSET: 0x0099EF50
// FUNCTION: fn_13578
void UIMerchantItemLogWnd::Slot19() {
bool changed = false;
for (auto it = this->logs.begin(); it != this->logs.end(); ++it) {
if (it->name.compare(LookupMessage(581)) == 0) {
it->name = LookupPlayerName(it->characterId);
changed = true;
}
}
if (changed) {
this->Invalidate();
}
}