philippj / SteamworksPy

A working Python API system for Valve's Steamworks.
MIT License
212 stars 39 forks source link

matchmaking functions are incomplete #73

Open daki4 opened 2 years ago

daki4 commented 2 years ago

So, I've been trying to migrate a program that tries to fetch game data for a given game ID from C++ to Python, but the following function is missing, and I dont know how to implement it in Python:

const char * GetLobbyData( CSteamID steamIDLobby, const char *pchKey );

which would allow me to fetch metadata about a specific lobby.

Currently, I have this as example C++ code:


        string version = SteamMatchmaking()->GetLobbyData(lobbyID, "version");
        string tags = SteamMatchmaking()->GetLobbyData(lobbyID, "tags");
        string name = SteamMatchmaking()->GetLobbyData(lobbyID, "name");
        string desc = SteamMatchmaking()->GetLobbyData(lobbyID, "desc");

But I can not find an equivalent function over here.

philippj commented 2 years ago

GetLobbyData is not yet implemented. I cant promise a date on when I will get to it, you may try to implement it yourself and afterwards do a PR.