Added back active user list but disabled

This commit is contained in:
M4RCK5 2024-09-14 05:32:53 -03:00 committed by GitHub
parent a68259d7cd
commit fcd523796f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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;