Open mrhappyasthma opened 3 years ago
We can probably listen to LobbyGameInfo
to get which gamemode it is.
According to the old modding guide docs, the params are:
param0 string: Game Mode
param1 string: Game Options
param2 string: Server
param3 string: Map Name
param4 int: Players
param5 int: MaxPlayers
param6 int: Ping
param7 string: Game Name
param8 int: MatchID
param9 string: Host Name
It looks like a lot of these fields imply public games, but it may also apply to matchmaking. I'd have to check.
Currently this is hardcoded to show in all game modes and always fetches the current season stats.
It would be nice for this to adapt to the game mode (casual, midwars, public) and show the corresponding stats for that mode.