mirror of
https://github.com/tribufu/node-gamedig
synced 2026-05-06 15:17:36 +00:00
feat: add BROKE PROTOCOL support (#651)
* Add support for BROKE PROTOCOL, querying master server Plus support for master query through separate protocol * Define json response via schema, optional data validation with Ajv (commented out) * Fallback query from game data server listing (servers.json) * docs: update CHANGELOG and GAMES_LIST for Broke Protocol
This commit is contained in:
parent
d2397b67e7
commit
899a39a393
6 changed files with 455 additions and 1 deletions
13
protocols/brokeprotocol.js
Normal file
13
protocols/brokeprotocol.js
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
import brokeprotocolmaster from './brokeprotocolmaster.js'
|
||||
|
||||
/**
|
||||
* Implements the protocol for BROKE PROTOCOL, a Unity based game
|
||||
* using a custom master server
|
||||
*/
|
||||
export default class brokeprotocol extends brokeprotocolmaster {
|
||||
constructor () {
|
||||
super()
|
||||
this.doQuerySingle = true
|
||||
this.requireToken = true
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue