Skip to content

Commit

Permalink
Added back active user list but disabled
Browse files Browse the repository at this point in the history
  • Loading branch information
M4RCK5 authored Sep 14, 2024
1 parent a68259d commit fcd5237
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions tools/lobby_connect/lobby_connect.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,18 @@ int main() {

int friend_count = SteamFriends()->GetFriendCount(k_EFriendFlagAll);

/*
std::cout << "People on the network: " << friend_count << "\n";
for (int i = 0; i < friend_count; ++i) {
CSteamID id = SteamFriends()->GetFriendByIndex(i, k_EFriendFlagAll);
const char *name = SteamFriends()->GetFriendPersonaName(id);
FriendGameInfo_t friend_info = {};
SteamFriends()->GetFriendGamePlayed(id, &friend_info);
std::cout << name << " is playing: " << friend_info.m_gameID.AppID() << std::endl;
}
*/

title();

std::vector<std::pair<std::string, uint32>> arguments;
Expand Down

0 comments on commit fcd5237

Please sign in to comment.