rodecomp/Source/UI/Window/UIPartyBookingHelpWnd.cpp
ragnarok-clanker 6915a703cf Decompile fn_12751 (UIPartyBookingHelpWnd::SendMsg)
Batch #6025 by System4z: 0 byte-identical, 1 confirmed by peer review.

- fn_12751 UIPartyBookingHelpWnd::SendMsg: logic confirmed by peer review

Peer-reviewed-by: eAthena, superintelligence
Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes).
2026-10-30 18:27:00 +00:00

24 lines
787 B
C++

#include "UI/Window/UIPartyBookingHelpWnd.h"
#include "Contents/MessageTable.h"
#include "UI/Buttons/UIButton.h"
#include "UI/Window/UIWindowMgr.h"
// OFFSET: 0x0092D630
// FUNCTION: fn_12670
void UIPartyBookingHelpWnd::Paint() {
this->DrawTitleBar(this->m_controls->fonts, this->m_controls->locale, true, LookupMessage(1716), 0);
this->DrawPanelBackground(17, 0, "");
}
// OFFSET: 0x00938810
// FUNCTION: fn_12751
int UIPartyBookingHelpWnd::SendMsg(UIWindow* sender, int message, std::intptr_t argument1, std::intptr_t argument2, std::intptr_t argument3, std::intptr_t argument4) {
if (message != 6) {
return UIFrameWnd::SendMsg(sender, message, argument1, argument2, argument3, argument4);
}
if (argument1 == 201) {
g_windowMgr.CloseWindow(173);
}
return 0;
}