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.
This commit is contained in:
ragnarok-clanker 2026-11-08 13:56:42 +00:00
commit 780c281aa2
249 changed files with 8156 additions and 7474 deletions

View file

@ -1,3 +1,4 @@
#include "UI/Window/WindowId.h"
#include "UI/ProbabilityTable/UIProbabilityTable.h"
#include "Network/TextEncoding.h"
@ -463,7 +464,7 @@ void CUIProbabilityTable::OnButtonClick() {
// OFFSET: 0x00A4E010
// FUNCTION: fn_45473
void CUIProbabilityTable::OnClose() {
g_windowMgr.CloseWindow(0x271C);
g_windowMgr.CloseWindow(WID_PROBABILITYTABLE);
}
// OFFSET: 0x00A4DCA0
@ -529,7 +530,7 @@ void CUIProbabilityTable::Search() {
// OFFSET: 0x00A4E280
// FUNCTION: fn_16203
void CUIProbabilityTable::OnInit() {
UIWindow* anchor = g_windowMgr.LookupWindow(12);
UIWindow* anchor = g_windowMgr.LookupWindow(WID_ITEMCOLLECTIONWND);
if (anchor) {
this->Move(anchor->geometry.x + anchor->geometry.width, anchor->geometry.y);
} else {