From a13dfff9a184b7089e32a7086231fa87de8dc519 Mon Sep 17 00:00:00 2001 From: Kelsi Date: Fri, 20 Mar 2026 19:33:01 -0700 Subject: [PATCH] feat: show random suffix names in auction house item listings Append suffix name from getRandomPropertyName() to auction browse results so items display as "Leggings of the Eagle" instead of just "Leggings" in the auction house search table. Uses the randomPropertyId field from the SMSG_AUCTION_LIST_RESULT packet data. --- src/ui/game_screen.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/ui/game_screen.cpp b/src/ui/game_screen.cpp index 473e46a0..bfe0c63f 100644 --- a/src/ui/game_screen.cpp +++ b/src/ui/game_screen.cpp @@ -22305,6 +22305,12 @@ void GameScreen::renderAuctionHouseWindow(game::GameHandler& gameHandler) { const auto& auction = results.auctions[i]; auto* info = gameHandler.getItemInfo(auction.itemEntry); std::string name = info ? info->name : ("Item #" + std::to_string(auction.itemEntry)); + // Append random suffix name (e.g., "of the Eagle") if present + if (auction.randomPropertyId != 0) { + std::string suffix = gameHandler.getRandomPropertyName( + static_cast(auction.randomPropertyId)); + if (!suffix.empty()) name += " " + suffix; + } game::ItemQuality quality = info ? static_cast(info->quality) : game::ItemQuality::COMMON; ImVec4 qc = InventoryScreen::getQualityColor(quality);