create steam api raw field

This commit is contained in:
a-sync
2024-09-09 20:54:40 +02:00
parent ffa8510011
commit 33bb83fe38

View File

@@ -154,13 +154,20 @@ export class GameServer {
name: matching.name,
game: matching.gamedir,
map: matching.map,
password: matching.secure,
playersNum: matching.players,
playersMax: matching.max_players,
players: [],
password: matching.secure,
ping: 0,
queryPort,
version: matching.version,
queryPort
raw: {
steamid: matching.steamid,
product: matching.product,
dedicated: matching.dedicated,
os: matching.os,
gametype: matching.gametype,
}
}
}
}