Decompile fn_13619 (UIWeaponRefineWnd::SendMsg)
Batch #13765 by eAthena: 0 byte-identical, 1 confirmed by peer review. - fn_13619 UIWeaponRefineWnd::SendMsg: logic confirmed by peer review Peer-reviewed-by: Yommy, secret, SapitoSucio Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes).
This commit is contained in:
parent
bd56c39fc4
commit
d63b4e6247
1 changed files with 20 additions and 20 deletions
|
|
@ -69,6 +69,26 @@ int UIWeaponRefineWnd::SendMsg(UIWindow* sender, int message, std::intptr_t a, s
|
|||
ITEM_INFO item;
|
||||
|
||||
switch (message) {
|
||||
case 31: {
|
||||
const int itemId = static_cast<int>(a);
|
||||
this->itemIds.push_back(itemId);
|
||||
this->indices.push_back(b);
|
||||
|
||||
item.SetItemId(itemId);
|
||||
item.unknown_0060 = 0;
|
||||
item.identified = 1;
|
||||
this->m_list->AddLine(item.DisplayName(0).c_str());
|
||||
return 0;
|
||||
}
|
||||
|
||||
case 18:
|
||||
this->m_list->SendMsg(nullptr, 18, 0, 0, 0, 0);
|
||||
return 0;
|
||||
|
||||
case 19:
|
||||
this->m_list->SendMsg(nullptr, 19, 0, 0, 0, 0);
|
||||
return 0;
|
||||
|
||||
case 6: {
|
||||
const int response = static_cast<int>(a);
|
||||
this->RecordResponse(response, b, c, this->m_list->selected);
|
||||
|
|
@ -105,26 +125,6 @@ int UIWeaponRefineWnd::SendMsg(UIWindow* sender, int message, std::intptr_t a, s
|
|||
return 0;
|
||||
}
|
||||
|
||||
case 18:
|
||||
this->m_list->SendMsg(nullptr, 18, 0, 0, 0, 0);
|
||||
return 0;
|
||||
|
||||
case 19:
|
||||
this->m_list->SendMsg(nullptr, 19, 0, 0, 0, 0);
|
||||
return 0;
|
||||
|
||||
case 31: {
|
||||
const int itemId = static_cast<int>(a);
|
||||
this->itemIds.push_back(itemId);
|
||||
this->indices.push_back(b);
|
||||
|
||||
item.SetItemId(itemId);
|
||||
item.unknown_0060 = 0;
|
||||
item.identified = 1;
|
||||
this->m_list->AddLine(item.DisplayName(0).c_str());
|
||||
return 0;
|
||||
}
|
||||
|
||||
case 123: {
|
||||
const auto* bytes = reinterpret_cast<const unsigned char*>(a);
|
||||
UIWeaponRefineRecordHeader header;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue