mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-03-23 15:50:20 +00:00
Log transport registration mode (client vs server)
This commit is contained in:
parent
7171bb6569
commit
c5ecf7d475
1 changed files with 10 additions and 1 deletions
|
|
@ -1290,7 +1290,16 @@ void Application::setupUICallbacks() {
|
|||
" pos=(", pending.x, ", ", pending.y, ", ", pending.z, ") orientation=", pending.orientation);
|
||||
pendingTransportMoves_.erase(pendingIt);
|
||||
}
|
||||
LOG_INFO("Transport registered - server-authoritative movement");
|
||||
if (auto* tr = transportManager->getTransport(guid); tr) {
|
||||
LOG_INFO("Transport registered: guid=0x", std::hex, guid, std::dec,
|
||||
" entry=", entry, " displayId=", displayId,
|
||||
" pathId=", tr->pathId,
|
||||
" mode=", (tr->useClientAnimation ? "client" : "server"),
|
||||
" serverUpdates=", tr->serverUpdateCount);
|
||||
} else {
|
||||
LOG_INFO("Transport registered: guid=0x", std::hex, guid, std::dec,
|
||||
" entry=", entry, " displayId=", displayId, " (TransportManager instance missing)");
|
||||
}
|
||||
});
|
||||
|
||||
// Transport move callback (online mode) - update transport gameobject positions
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue