Decompile fn_19673 (CEntryQueueMgr::OnResultNotice)

Batch #5329 by eAthena: 0 byte-identical, 1 confirmed by peer review.

- fn_19673 CEntryQueueMgr::OnResultNotice: logic confirmed by peer review

Peer-reviewed-by: meitogi, alisonrag, tayoba
Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes).
This commit is contained in:
ragnarok-clanker 2026-10-30 10:20:18 +00:00
commit 800f13ce7a
3 changed files with 15 additions and 0 deletions

View file

@ -1,8 +1,11 @@
#include "Contents/EntryQueueMgr.h"
#include "Contents/MessageTable.h"
#include "Contents/Sound/SoundMgr.h"
#include "Network/Connection/Connection.h"
#include "Network/Packets/PacketLengths.h"
#include "UI/Window/UIWindowMgr.h"
#include "UI/Window/WindowDialogs.h"
#include <cstring>
@ -121,6 +124,16 @@ void CEntryQueueMgr::ResetCurrent(int unused) {
void CEntryQueueMgr::IgnorePacket(const unsigned char* packet) {
}
// OFFSET: 0x00BA2E50
// FUNCTION: fn_19673
void CEntryQueueMgr::OnResultNotice(const EntryQueueNotice* notice) {
if (notice->result == 3) {
reinterpret_cast<WindowDialogs*>(&g_windowMgr)->Confirm(LookupMessage(0x83F), 0, false, false, 0, "Message", 0x118, 0x78, 0);
} else if (notice->result == 11) {
reinterpret_cast<WindowDialogs*>(&g_windowMgr)->Confirm(LookupMessage(0x840), 0, false, false, 0, "Message", 0x118, 0x78, 0);
}
}
// OFFSET: 0x00BA2EB0
// FUNCTION: fn_19674
void CEntryQueueMgr::OnNotify(const EntryQueueNotice* notice) {