steam icon indicating copy to clipboard operation
steam copied to clipboard

No way to query GameData and GameTags separately

Open Kein opened this issue 4 years ago • 1 comments

According to always terrible valve docs, gamedata and gametags there are separate fields: https://partner.steamgames.com/doc/api/ISteamMatchmakingServers#MatchMakingKeyValuePair_t and https://partner.steamgames.com/doc/api/ISteamGameServer#SetGameData describes SetGameData and SetGameTags

The server I'm querying returns keywords data, which is array of KV pairs with : as a delimiter. However, I cant seems to query/use it with the available API steam.py povides: https://steam.readthedocs.io/en/latest/api/steam.game_servers.html

Attempt to use it in gamedata[or] and gametype does not return any valid reasons and there is no gametagsand/or as per Valve's ISteamMatchmakingServers documentation.

Kein avatar Sep 12 '21 04:09 Kein

Never used any of these. Do you have an example server that uses them?

rossengeorgiev avatar Sep 27 '21 19:09 rossengeorgiev