codecat / unet

Unified Lobby Networking library in C++, providing cross-play between Steam lobbies, Gog Galaxy lobbies, and Enet sockets.
MIT License
7 stars 1 forks source link

Add FillLobbyInfo function to Context #12

Open codecat opened 4 years ago

codecat commented 4 years ago

Add this function to the context:

// Add all LobbyInfo data via its already-available entry points.
void FillLobbyInfo(LobbyInfo &info);

Probably requires moving the GetLobbyNumPlayers, GetLobbyMaxPlayers, etc functions outside of LobbyListResult and into some other helper class.