超时导致发出 USER_DISCONNECT。 // Update heartbeat for accurate disconnectionsletlobby=lobbyManager.getLobbyBySocket(req.socket);// req.socket is your socket identifier (in sails at least)if(!lobby){returnres.json({error:"NO_LOBBY_FOUND_FOR_HEARTBEAT"});// player not in any lobby}lobby.u...