Skip to content

Commit

Permalink
create steam api raw field
Browse files Browse the repository at this point in the history
  • Loading branch information
a-sync committed Sep 9, 2024
1 parent ffa8510 commit 33bb83f
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions src/game-server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
}
}
}
}
Expand Down

0 comments on commit 33bb83f

Please sign in to comment.