Batch #6225 by eAthena: 0 byte-identical, 1 confirmed by peer review. - fn_12341 UIEmailAddressWnd::SendMsg: logic confirmed by peer review Peer-reviewed-by: ragnarok-clanker, superintelligence, KWDev, Romain 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/Dialogs/UIEmailAddressWnd.cpp
19 lines
596 B
C++
19 lines
596 B
C++
#include "UI/Dialogs/UIEmailAddressWnd.h"
|
|
#include "Client/Mode/ModeMgr.h"
|
|
#include "UI/Edit/UIEditCtrl.h"
|
|
#include "UI/Window/UIWindowMgr.h"
|
|
|
|
// OFFSET: 0x008F9820
|
|
// FUNCTION: fn_12341
|
|
int UIEmailAddressWnd::SendMsg(UIWindow* sender, int message, std::intptr_t a, std::intptr_t b, std::intptr_t c, std::intptr_t d) {
|
|
if (message == 6) {
|
|
g_windowMgr.unknown_0474 = static_cast<int>(a);
|
|
if (a == 184) {
|
|
g_modeMgr.gameMode->SendMsg(10012, reinterpret_cast<int>(this->m_edit->Text()), 0, 0, 0);
|
|
}
|
|
|
|
return 0;
|
|
}
|
|
|
|
return UIFrameWnd::SendMsg(sender, message, a, b, c, d);
|
|
}
|