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,5 @@
#include "UI/Window/UIEnums.h"
#include "UI/Window/WindowId.h"
#include "Client/Application/ApplicationWindow.h"
#include "Client/Session.h"
#include "Contents/AchievementMgr.h"
@ -609,8 +611,8 @@ void CSession::AddItemSlot(ITEM_INFO item) {
}
}
if (UIWindow* window = g_windowMgr.LookupWindow(10011)) {
window->SendMsg(nullptr, 23, 0, 0, 0, 0);
if (UIWindow* window = g_windowMgr.LookupWindow(WID_EXCHANGEUI)) {
window->SendMsg(nullptr, UM_REFRESHITEM, 0, 0, 0, 0);
}
}