mirror of
https://github.com/smartcmd/MinecraftConsoles.git
synced 2026-08-20 09:57:09 +00:00
- Add client-side host disconnect handling in CPlatformNetworkManagerStub::DoWork() for _WINDOWS64. - When in QNET_STATE_GAME_PLAY as a non-host and WinsockNetLayer::IsConnected() becomes false, trigger g_NetworkManager.HandleDisconnect(false) to enter the normal disconnect/UI flow. - Use m_bLeaveGameOnTick as a one-shot guard to prevent repeated disconnect handling while the link remains down. - Reset m_bLeaveGameOnTick on LeaveGame(), HostGame(), and JoinGame() to avoid stale state across sessions. |
||
|---|---|---|
| .. | ||
| Sony | ||
| GameNetworkManager.cpp | ||
| GameNetworkManager.h | ||
| NetworkPlayerInterface.h | ||
| PlatformNetworkManagerInterface.h | ||
| PlatformNetworkManagerStub.cpp | ||
| PlatformNetworkManagerStub.h | ||
| SessionInfo.h | ||