test: login_flow waits out the 300 ms inventory/safebox refresh before dragging
CPythonNetworkStream::GamePhase throttles RefreshInventory/RefreshSafebox to one call per 300 ms, so the bag slot could still be empty in the UI when the test clicked it right after player state changed (~1 in 3 runs failed). Also drops a leftover debug printf from CWindowManager::RunMouseMove. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
75ea2703c6
commit
7e385f827b
@@ -808,13 +808,6 @@ namespace UI
|
||||
|
||||
SetMousePosition(x, y);
|
||||
CWindow * pPointWindow = __PickWindow(m_lMouseX, m_lMouseY);
|
||||
if (x == 470 && y == 380) {
|
||||
std::printf(">>> C++ RunMouseMove(470, 380): m_lMouse=(%ld, %ld), pPointWindow=%s (type=%s, is_show=%d)\n",
|
||||
m_lMouseX, m_lMouseY,
|
||||
pPointWindow ? pPointWindow->GetName() : "NULL",
|
||||
pPointWindow ? typeid(*pPointWindow).name() : "none",
|
||||
pPointWindow ? pPointWindow->IsShow() : 0);
|
||||
}
|
||||
|
||||
if (g_bShowOverInWindowName)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user