Maintenance: [forced, user-approved] Family V3: remove the invented view struct ClientItemLists (a copy of CSession's layout, declare

Batch #10280 by ragnarok-clanker: forced by an admin (0 lower score(s), 115 changed function(s)); checked with 256 compiled unit(s), including every includer of Source/Client/Session.h, Source/Contents/ClientItemLists.h.
Deletes: Source/Contents/ClientItemLists.h
This commit is contained in:
ragnarok-clanker 2026-11-03 16:16:06 +00:00
commit e83c4def7d
25 changed files with 371 additions and 673 deletions

View file

@ -42,9 +42,6 @@ const char* g_uiRectInfoKeySuffix = "\\UIRectInfo";
// GLOBAL: gl_24987
const char* g_shortcutItemKeySuffix = "\\ShortcutItem";
struct ClientItemLists {
void ResetHotkeyDescriptions();
};
// OFFSET: 0x00A911E0
// FUNCTION: fn_17156
@ -159,7 +156,7 @@ void UIWindowMgr::LoadShortcutItems() {
RegCloseKey(probe);
HKEY key;
if (RegOpenKeyExA(HKEY_LOCAL_MACHINE, path, 0, KEY_QUERY_VALUE, &key) == ERROR_SUCCESS) {
reinterpret_cast<ClientItemLists*>(&g_session)->ResetHotkeyDescriptions();
g_session.ResetHotkeyDescriptions();
g_session.ClearUnknown0420();
for (int index = 0; index < 36; ++index) {
DWORD type = REG_SZ;