Mobile HUD layout: disc widgets, quickslot wheel and belt (mobile step 4)

Native CDisc window for procedural round frames; ui_mobile_widgets
(RoundButton, QuickSlotDisc); HUD laid out as the phone plan: player
panel, top-right entry row with minimap, left button column, attack disc
with two quickslot rings, potion belt on quickslot page 4, exp bar. The
PC taskbar and its tooltips are hidden in mobile mode. Adds global
quickslot use/add/move for the belt.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
shenlei
2026-10-12 21:14:29 +09:00
co-authored by Claude Opus 5.5
parent b79fbce0b0
commit 11bd94d1ce
17 changed files with 968 additions and 397 deletions
+4
View File
@@ -684,6 +684,10 @@ int main(int argc,char** argv) {
if(netStream.PopSendBytes()!=std::vector<uint8_t>{17,10,17,35}) throw std::runtime_error("remove by value missed hidden server quickslot");
python.execute("player.RequestUseLocalQuickSlot(2)\n");
if(netStream.PopSendBytes()!=std::vector<uint8_t>{11,1,7,0}) throw std::runtime_error("inventory quickslot use mismatch");
// Mobile HUD potion belt addresses global slots directly (any page, < 32), same packets.
python.execute("player.RequestUseGlobalQuickSlot(10)\nplayer.RequestAddGlobalQuickSlot(25,2,6)\nplayer.RequestMoveGlobalQuickSlotToGlobalQuickSlot(10,26)\n"
"player.RequestUseGlobalQuickSlot(35)\nplayer.RequestAddGlobalQuickSlot(32,2,6)\nplayer.RequestMoveGlobalQuickSlotToGlobalQuickSlot(10,32)\n");
if(netStream.PopSendBytes()!=std::vector<uint8_t>{11,1,7,0,16,25,2,6,18,10,26}) throw std::runtime_error("global quickslot request mismatch");
python.execute("net.SendItemDropPacket(7)\nnet.SendItemDropPacketNew(1,7,70000)\n");
if(netStream.PopSendBytes()!=std::vector<uint8_t>{224,1,7,0,0,0,0,0,20,1,7,0,0,0,0,0,0x70,0x11,1,0})
throw std::runtime_error("AVA2 old/new drop wire or DWORD count mismatch");