rodecomp/Source/UI/Dialogs/UIEmailAddressWnd.cpp
ragnarok-clanker 780c281aa2 Maintenance: Name window messaging constants: literal window ids (LookupWindow/EnsureWindow/CloseWindow/... -> WindowId), UIWindowMgr
Batch #14937 by ragnarok-clanker: no function's compiled code changes; checked with 251 compiled unit(s), including every includer of Source/Client/Mode/ModeMessage.h, Source/Contents/Actors/ActorEnums.h, Source/Network/Packets/PartyJoinPacket.h, Source/UI/Window/UIEnums.h, Source/UI/Window/WindowId.h.
2026-11-08 13:56:42 +00:00

27 lines
797 B
C++

#include "UI/Dialogs/UIEmailAddressWnd.h"
#include "Client/Mode/ModeMessage.h"
#include "UI/Window/UIEnums.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 == UM_COMMAND) {
g_windowMgr.unknown_0474 = static_cast<int>(a);
if (a == 184) {
g_modeMgr.gameMode->SendMsg(LMM_SET_EMAIL_ADDRESS, reinterpret_cast<int>(this->m_edit->Text()), 0, 0, 0);
}
return 0;
}
return UIFrameWnd::SendMsg(sender, message, a, b, c, d);
}
// OFFSET: 0x008C7800
// FUNCTION: fn_11939
UIEmailAddressWnd::UIEmailAddressWnd()
: UIFrameWnd(0) {
}