From 20c03cda752ad0d1d75e0317101bc871291a43ef Mon Sep 17 00:00:00 2001 From: Nemirtingas Date: Tue, 10 Dec 2019 05:56:08 +0000 Subject: [PATCH] Update steam_overlay.cpp --- overlay_experimental/steam_overlay.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/overlay_experimental/steam_overlay.cpp b/overlay_experimental/steam_overlay.cpp index b6a1c4b..143443d 100644 --- a/overlay_experimental/steam_overlay.cpp +++ b/overlay_experimental/steam_overlay.cpp @@ -760,7 +760,15 @@ void Steam_Overlay::RunCallbacks() FriendGameInfo_t friend_game_info = {}; steamFriends->GetFriendGamePlayed(friend_id, &friend_game_info); if (friend_game_info.m_steamIDLobby.IsValid()) + { + // TODO: Look if thats really JoinLobby ? + // I saw on steamdev that overlay sends a GameLobbyJoinRequested_t + //GameLobbyJoinRequested_t data; + //data.m_steamIDLobby.SetFromUint64(friend_info->second.lobbyId); + //data.m_steamIDFriend.SetFromUint64(friend_id); + //callbacks->addCBResult(data.k_iCallback, &data, sizeof(data)); steamMatchmaking->JoinLobby(friend_game_info.m_steamIDLobby); + } } friend_info->second.window_state &= ~window_state_join;