node-globaloffensive
node-globaloffensive copied to clipboard
Expose a function requestMatchmakingStats() to populate the accountData property
Allows users to get matchmaking stats like
- Avg. Wait Time
- Players Online
- Players Searching
- Servers Online
- Servers Available
- Matches in Progress
Sending CMsgGCCStrike15_v2_MatchmakingClient2GCHello
makes the GC reply with MatchmakingGC2ClientHello
which was already implemented at
https://github.com/DoctorMcKay/node-globaloffensive/blob/fffe4871b00cc8b4cb7e3700cd0bb38c36b44768/handlers.js#L53
@DoctorMcKay I would propose renaming accountData
to matchMakingStats
or similar, but not in this PR