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:
RattleSN4K3 2024-10-13 16:21:19 +02:00 committed by GitHub
parent d2397b67e7
commit 899a39a393
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 455 additions and 1 deletions

View 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
}
}